AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Account.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/AccountType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/chime/model/License.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/chime/model/AccountStatus.h>
14#include <aws/chime/model/SigninDelegateGroup.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Chime
28{
29namespace Model
30{
31
38 class Account
39 {
40 public:
41 AWS_CHIME_API Account();
42 AWS_CHIME_API Account(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CHIME_API Account& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
52 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
53 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
54 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
55 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
56 inline Account& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
57 inline Account& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
58 inline Account& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
60
62
65 inline const Aws::String& GetAccountId() const{ return m_accountId; }
66 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
67 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
68 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
69 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
70 inline Account& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
71 inline Account& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
72 inline Account& WithAccountId(const char* value) { SetAccountId(value); return *this;}
74
76
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline Account& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline Account& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline Account& WithName(const char* value) { SetName(value); return *this;}
88
90
97 inline const AccountType& GetAccountType() const{ return m_accountType; }
98 inline bool AccountTypeHasBeenSet() const { return m_accountTypeHasBeenSet; }
99 inline void SetAccountType(const AccountType& value) { m_accountTypeHasBeenSet = true; m_accountType = value; }
100 inline void SetAccountType(AccountType&& value) { m_accountTypeHasBeenSet = true; m_accountType = std::move(value); }
101 inline Account& WithAccountType(const AccountType& value) { SetAccountType(value); return *this;}
102 inline Account& WithAccountType(AccountType&& value) { SetAccountType(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
110 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
111 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
112 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
113 inline Account& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
114 inline Account& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
116
118
121 inline const License& GetDefaultLicense() const{ return m_defaultLicense; }
122 inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; }
123 inline void SetDefaultLicense(const License& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; }
124 inline void SetDefaultLicense(License&& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = std::move(value); }
125 inline Account& WithDefaultLicense(const License& value) { SetDefaultLicense(value); return *this;}
126 inline Account& WithDefaultLicense(License&& value) { SetDefaultLicense(std::move(value)); return *this;}
128
130
133 inline const Aws::Vector<License>& GetSupportedLicenses() const{ return m_supportedLicenses; }
134 inline bool SupportedLicensesHasBeenSet() const { return m_supportedLicensesHasBeenSet; }
135 inline void SetSupportedLicenses(const Aws::Vector<License>& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = value; }
136 inline void SetSupportedLicenses(Aws::Vector<License>&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = std::move(value); }
137 inline Account& WithSupportedLicenses(const Aws::Vector<License>& value) { SetSupportedLicenses(value); return *this;}
138 inline Account& WithSupportedLicenses(Aws::Vector<License>&& value) { SetSupportedLicenses(std::move(value)); return *this;}
139 inline Account& AddSupportedLicenses(const License& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(value); return *this; }
140 inline Account& AddSupportedLicenses(License&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(std::move(value)); return *this; }
142
144
147 inline const AccountStatus& GetAccountStatus() const{ return m_accountStatus; }
148 inline bool AccountStatusHasBeenSet() const { return m_accountStatusHasBeenSet; }
149 inline void SetAccountStatus(const AccountStatus& value) { m_accountStatusHasBeenSet = true; m_accountStatus = value; }
150 inline void SetAccountStatus(AccountStatus&& value) { m_accountStatusHasBeenSet = true; m_accountStatus = std::move(value); }
151 inline Account& WithAccountStatus(const AccountStatus& value) { SetAccountStatus(value); return *this;}
152 inline Account& WithAccountStatus(AccountStatus&& value) { SetAccountStatus(std::move(value)); return *this;}
154
156
159 inline const Aws::Vector<SigninDelegateGroup>& GetSigninDelegateGroups() const{ return m_signinDelegateGroups; }
160 inline bool SigninDelegateGroupsHasBeenSet() const { return m_signinDelegateGroupsHasBeenSet; }
161 inline void SetSigninDelegateGroups(const Aws::Vector<SigninDelegateGroup>& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = value; }
162 inline void SetSigninDelegateGroups(Aws::Vector<SigninDelegateGroup>&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = std::move(value); }
165 inline Account& AddSigninDelegateGroups(const SigninDelegateGroup& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(value); return *this; }
166 inline Account& AddSigninDelegateGroups(SigninDelegateGroup&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(std::move(value)); return *this; }
168 private:
169
170 Aws::String m_awsAccountId;
171 bool m_awsAccountIdHasBeenSet = false;
172
173 Aws::String m_accountId;
174 bool m_accountIdHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 AccountType m_accountType;
180 bool m_accountTypeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdTimestamp;
183 bool m_createdTimestampHasBeenSet = false;
184
185 License m_defaultLicense;
186 bool m_defaultLicenseHasBeenSet = false;
187
188 Aws::Vector<License> m_supportedLicenses;
189 bool m_supportedLicensesHasBeenSet = false;
190
191 AccountStatus m_accountStatus;
192 bool m_accountStatusHasBeenSet = false;
193
194 Aws::Vector<SigninDelegateGroup> m_signinDelegateGroups;
195 bool m_signinDelegateGroupsHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace Chime
200} // namespace Aws
Account & WithAccountStatus(const AccountStatus &value)
Definition Account.h:151
Account & WithAwsAccountId(const char *value)
Definition Account.h:58
Account & WithDefaultLicense(const License &value)
Definition Account.h:125
Account & WithDefaultLicense(License &&value)
Definition Account.h:126
Account & WithSigninDelegateGroups(const Aws::Vector< SigninDelegateGroup > &value)
Definition Account.h:163
void SetAccountId(Aws::String &&value)
Definition Account.h:68
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition Account.h:109
const Aws::String & GetName() const
Definition Account.h:79
bool DefaultLicenseHasBeenSet() const
Definition Account.h:122
void SetAwsAccountId(Aws::String &&value)
Definition Account.h:54
Account & WithAwsAccountId(Aws::String &&value)
Definition Account.h:57
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Account.h:112
bool SupportedLicensesHasBeenSet() const
Definition Account.h:134
bool NameHasBeenSet() const
Definition Account.h:80
void SetDefaultLicense(License &&value)
Definition Account.h:124
Account & AddSigninDelegateGroups(const SigninDelegateGroup &value)
Definition Account.h:165
Account & WithSigninDelegateGroups(Aws::Vector< SigninDelegateGroup > &&value)
Definition Account.h:164
void SetAccountType(AccountType &&value)
Definition Account.h:100
void SetName(const char *value)
Definition Account.h:83
void SetSigninDelegateGroups(const Aws::Vector< SigninDelegateGroup > &value)
Definition Account.h:161
const AccountStatus & GetAccountStatus() const
Definition Account.h:147
const License & GetDefaultLicense() const
Definition Account.h:121
Account & WithName(const Aws::String &value)
Definition Account.h:84
AWS_CHIME_API Account(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const char *value)
Definition Account.h:69
Account & AddSigninDelegateGroups(SigninDelegateGroup &&value)
Definition Account.h:166
Account & WithName(const char *value)
Definition Account.h:86
Account & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition Account.h:114
Account & WithAccountId(const Aws::String &value)
Definition Account.h:70
Account & WithAccountId(const char *value)
Definition Account.h:72
bool AccountTypeHasBeenSet() const
Definition Account.h:98
void SetSupportedLicenses(const Aws::Vector< License > &value)
Definition Account.h:135
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
Account & WithAccountStatus(AccountStatus &&value)
Definition Account.h:152
Account & WithAccountId(Aws::String &&value)
Definition Account.h:71
Account & AddSupportedLicenses(License &&value)
Definition Account.h:140
bool AccountIdHasBeenSet() const
Definition Account.h:66
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Account.h:111
void SetAwsAccountId(const Aws::String &value)
Definition Account.h:53
void SetAccountId(const Aws::String &value)
Definition Account.h:67
Account & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition Account.h:113
const AccountType & GetAccountType() const
Definition Account.h:97
void SetName(Aws::String &&value)
Definition Account.h:82
Account & WithSupportedLicenses(Aws::Vector< License > &&value)
Definition Account.h:138
bool AccountStatusHasBeenSet() const
Definition Account.h:148
void SetSigninDelegateGroups(Aws::Vector< SigninDelegateGroup > &&value)
Definition Account.h:162
Account & AddSupportedLicenses(const License &value)
Definition Account.h:139
void SetAwsAccountId(const char *value)
Definition Account.h:55
void SetAccountType(const AccountType &value)
Definition Account.h:99
Account & WithAccountType(AccountType &&value)
Definition Account.h:102
Account & WithAwsAccountId(const Aws::String &value)
Definition Account.h:56
const Aws::String & GetAccountId() const
Definition Account.h:65
void SetSupportedLicenses(Aws::Vector< License > &&value)
Definition Account.h:136
void SetAccountStatus(AccountStatus &&value)
Definition Account.h:150
Account & WithSupportedLicenses(const Aws::Vector< License > &value)
Definition Account.h:137
bool CreatedTimestampHasBeenSet() const
Definition Account.h:110
void SetDefaultLicense(const License &value)
Definition Account.h:123
const Aws::String & GetAwsAccountId() const
Definition Account.h:51
bool SigninDelegateGroupsHasBeenSet() const
Definition Account.h:160
void SetAccountStatus(const AccountStatus &value)
Definition Account.h:149
bool AwsAccountIdHasBeenSet() const
Definition Account.h:52
void SetName(const Aws::String &value)
Definition Account.h:81
const Aws::Vector< SigninDelegateGroup > & GetSigninDelegateGroups() const
Definition Account.h:159
Account & WithAccountType(const AccountType &value)
Definition Account.h:101
Account & WithName(Aws::String &&value)
Definition Account.h:85
const Aws::Vector< License > & GetSupportedLicenses() const
Definition Account.h:133
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue