AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AwsAccount.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API AwsAccount() = default;
35 AWS_DATAZONE_API AwsAccount(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API AwsAccount& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
45 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 template<typename AwsAccountIdT = Aws::String>
47 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
48 template<typename AwsAccountIdT = Aws::String>
49 AwsAccount& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAwsAccountIdPath() const { return m_awsAccountIdPath; }
57 inline bool AwsAccountIdPathHasBeenSet() const { return m_awsAccountIdPathHasBeenSet; }
58 template<typename AwsAccountIdPathT = Aws::String>
59 void SetAwsAccountIdPath(AwsAccountIdPathT&& value) { m_awsAccountIdPathHasBeenSet = true; m_awsAccountIdPath = std::forward<AwsAccountIdPathT>(value); }
60 template<typename AwsAccountIdPathT = Aws::String>
61 AwsAccount& WithAwsAccountIdPath(AwsAccountIdPathT&& value) { SetAwsAccountIdPath(std::forward<AwsAccountIdPathT>(value)); return *this;}
63 private:
64
65 Aws::String m_awsAccountId;
66 bool m_awsAccountIdHasBeenSet = false;
67
68 Aws::String m_awsAccountIdPath;
69 bool m_awsAccountIdPathHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DataZone
74} // namespace Aws
void SetAwsAccountId(AwsAccountIdT &&value)
Definition AwsAccount.h:47
AWS_DATAZONE_API AwsAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsAccount & WithAwsAccountIdPath(AwsAccountIdPathT &&value)
Definition AwsAccount.h:61
AWS_DATAZONE_API AwsAccount(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AwsAccount()=default
bool AwsAccountIdPathHasBeenSet() const
Definition AwsAccount.h:57
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AwsAccount & WithAwsAccountId(AwsAccountIdT &&value)
Definition AwsAccount.h:49
const Aws::String & GetAwsAccountId() const
Definition AwsAccount.h:44
const Aws::String & GetAwsAccountIdPath() const
Definition AwsAccount.h:56
void SetAwsAccountIdPath(AwsAccountIdPathT &&value)
Definition AwsAccount.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue