AWS SDK for C++  1.9.102
AWS SDK for C++
GetMemberResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Macie2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetAccountId() const{ return m_accountId; }
42 
46  inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
47 
51  inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
52 
56  inline void SetAccountId(const char* value) { m_accountId.assign(value); }
57 
61  inline GetMemberResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
62 
66  inline GetMemberResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
67 
71  inline GetMemberResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
72 
73 
77  inline const Aws::String& GetAdministratorAccountId() const{ return m_administratorAccountId; }
78 
82  inline void SetAdministratorAccountId(const Aws::String& value) { m_administratorAccountId = value; }
83 
87  inline void SetAdministratorAccountId(Aws::String&& value) { m_administratorAccountId = std::move(value); }
88 
92  inline void SetAdministratorAccountId(const char* value) { m_administratorAccountId.assign(value); }
93 
97  inline GetMemberResult& WithAdministratorAccountId(const Aws::String& value) { SetAdministratorAccountId(value); return *this;}
98 
102  inline GetMemberResult& WithAdministratorAccountId(Aws::String&& value) { SetAdministratorAccountId(std::move(value)); return *this;}
103 
107  inline GetMemberResult& WithAdministratorAccountId(const char* value) { SetAdministratorAccountId(value); return *this;}
108 
109 
113  inline const Aws::String& GetArn() const{ return m_arn; }
114 
118  inline void SetArn(const Aws::String& value) { m_arn = value; }
119 
123  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
124 
128  inline void SetArn(const char* value) { m_arn.assign(value); }
129 
133  inline GetMemberResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
134 
138  inline GetMemberResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
139 
143  inline GetMemberResult& WithArn(const char* value) { SetArn(value); return *this;}
144 
145 
149  inline const Aws::String& GetEmail() const{ return m_email; }
150 
154  inline void SetEmail(const Aws::String& value) { m_email = value; }
155 
159  inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
160 
164  inline void SetEmail(const char* value) { m_email.assign(value); }
165 
169  inline GetMemberResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
170 
174  inline GetMemberResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
175 
179  inline GetMemberResult& WithEmail(const char* value) { SetEmail(value); return *this;}
180 
181 
187  inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
188 
194  inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAt = value; }
195 
201  inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAt = std::move(value); }
202 
208  inline GetMemberResult& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
209 
215  inline GetMemberResult& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
216 
217 
223  inline const Aws::String& GetMasterAccountId() const{ return m_masterAccountId; }
224 
230  inline void SetMasterAccountId(const Aws::String& value) { m_masterAccountId = value; }
231 
237  inline void SetMasterAccountId(Aws::String&& value) { m_masterAccountId = std::move(value); }
238 
244  inline void SetMasterAccountId(const char* value) { m_masterAccountId.assign(value); }
245 
251  inline GetMemberResult& WithMasterAccountId(const Aws::String& value) { SetMasterAccountId(value); return *this;}
252 
258  inline GetMemberResult& WithMasterAccountId(Aws::String&& value) { SetMasterAccountId(std::move(value)); return *this;}
259 
265  inline GetMemberResult& WithMasterAccountId(const char* value) { SetMasterAccountId(value); return *this;}
266 
267 
272  inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; }
273 
278  inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatus = value; }
279 
284  inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatus = std::move(value); }
285 
290  inline GetMemberResult& WithRelationshipStatus(const RelationshipStatus& value) { SetRelationshipStatus(value); return *this;}
291 
296  inline GetMemberResult& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;}
297 
298 
303  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
304 
309  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
310 
315  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
316 
321  inline GetMemberResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
322 
327  inline GetMemberResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
328 
333  inline GetMemberResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
334 
339  inline GetMemberResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
340 
345  inline GetMemberResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
346 
351  inline GetMemberResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
352 
357  inline GetMemberResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
358 
363  inline GetMemberResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
364 
369  inline GetMemberResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
370 
371 
377  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
378 
384  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
385 
391  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
392 
398  inline GetMemberResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
399 
405  inline GetMemberResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
406 
407  private:
408 
409  Aws::String m_accountId;
410 
411  Aws::String m_administratorAccountId;
412 
413  Aws::String m_arn;
414 
415  Aws::String m_email;
416 
417  Aws::Utils::DateTime m_invitedAt;
418 
419  Aws::String m_masterAccountId;
420 
421  RelationshipStatus m_relationshipStatus;
422 
424 
425  Aws::Utils::DateTime m_updatedAt;
426  };
427 
428 } // namespace Model
429 } // namespace Macie2
430 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Macie2::Model::GetMemberResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetMemberResult.h:309
Aws::Macie2::Model::GetMemberResult::WithEmail
GetMemberResult & WithEmail(Aws::String &&value)
Definition: GetMemberResult.h:174
Aws::Macie2::Model::GetMemberResult::WithRelationshipStatus
GetMemberResult & WithRelationshipStatus(RelationshipStatus &&value)
Definition: GetMemberResult.h:296
Aws::Macie2::Model::GetMemberResult::SetAdministratorAccountId
void SetAdministratorAccountId(const Aws::String &value)
Definition: GetMemberResult.h:82
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Macie2::Model::GetMemberResult::SetAdministratorAccountId
void SetAdministratorAccountId(Aws::String &&value)
Definition: GetMemberResult.h:87
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::GetMemberResult::GetRelationshipStatus
const RelationshipStatus & GetRelationshipStatus() const
Definition: GetMemberResult.h:272
Aws::Macie2::Model::GetMemberResult::SetArn
void SetArn(const char *value)
Definition: GetMemberResult.h:128
Aws::Macie2::Model::GetMemberResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetMemberResult.h:118
Aws::Macie2::Model::GetMemberResult::SetMasterAccountId
void SetMasterAccountId(const char *value)
Definition: GetMemberResult.h:244
Aws::Macie2::Model::GetMemberResult::GetInvitedAt
const Aws::Utils::DateTime & GetInvitedAt() const
Definition: GetMemberResult.h:187
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(const char *key, Aws::String &&value)
Definition: GetMemberResult.h:357
Aws::Macie2::Model::GetMemberResult::SetAdministratorAccountId
void SetAdministratorAccountId(const char *value)
Definition: GetMemberResult.h:92
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetMemberResult.h:351
Aws::Macie2::Model::GetMemberResult::GetAdministratorAccountId
const Aws::String & GetAdministratorAccountId() const
Definition: GetMemberResult.h:77
Aws::Macie2::Model::GetMemberResult::GetMasterAccountId
const Aws::String & GetMasterAccountId() const
Definition: GetMemberResult.h:223
Aws::Macie2::Model::GetMemberResult::GetMemberResult
GetMemberResult()
Aws::Macie2::Model::GetMemberResult::GetArn
const Aws::String & GetArn() const
Definition: GetMemberResult.h:113
Aws::Macie2::Model::GetMemberResult::WithAccountId
GetMemberResult & WithAccountId(const Aws::String &value)
Definition: GetMemberResult.h:61
Aws::Macie2::Model::GetMemberResult::WithMasterAccountId
GetMemberResult & WithMasterAccountId(Aws::String &&value)
Definition: GetMemberResult.h:258
DateTime.h
Aws::Macie2::Model::GetMemberResult::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GetMemberResult.h:384
Macie2_EXPORTS.h
Aws::Macie2::Model::GetMemberResult::WithAccountId
GetMemberResult & WithAccountId(Aws::String &&value)
Definition: GetMemberResult.h:66
Aws::Macie2::Model::GetMemberResult::WithMasterAccountId
GetMemberResult & WithMasterAccountId(const Aws::String &value)
Definition: GetMemberResult.h:251
Aws::Macie2::Model::GetMemberResult::SetMasterAccountId
void SetMasterAccountId(const Aws::String &value)
Definition: GetMemberResult.h:230
Aws::Macie2::Model::GetMemberResult::SetRelationshipStatus
void SetRelationshipStatus(RelationshipStatus &&value)
Definition: GetMemberResult.h:284
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetMemberResult.h:339
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(Aws::String &&key, const char *value)
Definition: GetMemberResult.h:363
Aws::Macie2::Model::GetMemberResult::operator=
GetMemberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::GetMemberResult::WithUpdatedAt
GetMemberResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: GetMemberResult.h:398
Aws::Macie2::Model::GetMemberResult::WithAdministratorAccountId
GetMemberResult & WithAdministratorAccountId(const char *value)
Definition: GetMemberResult.h:107
Aws::Macie2::Model::GetMemberResult::WithArn
GetMemberResult & WithArn(const Aws::String &value)
Definition: GetMemberResult.h:133
Aws::Macie2::Model::GetMemberResult::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: GetMemberResult.h:377
Aws::Macie2::Model::GetMemberResult::WithAdministratorAccountId
GetMemberResult & WithAdministratorAccountId(Aws::String &&value)
Definition: GetMemberResult.h:102
Aws::Macie2::Model::GetMemberResult::WithInvitedAt
GetMemberResult & WithInvitedAt(Aws::Utils::DateTime &&value)
Definition: GetMemberResult.h:215
Aws::Macie2::Model::GetMemberResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetMemberResult.h:123
Aws::Macie2::Model::GetMemberResult::SetEmail
void SetEmail(const Aws::String &value)
Definition: GetMemberResult.h:154
Aws::Macie2::Model::GetMemberResult::SetRelationshipStatus
void SetRelationshipStatus(const RelationshipStatus &value)
Definition: GetMemberResult.h:278
Aws::Macie2::Model::GetMemberResult::WithUpdatedAt
GetMemberResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GetMemberResult.h:405
Aws::Macie2::Model::GetMemberResult::WithEmail
GetMemberResult & WithEmail(const Aws::String &value)
Definition: GetMemberResult.h:169
Aws::Macie2::Model::GetMemberResult::WithEmail
GetMemberResult & WithEmail(const char *value)
Definition: GetMemberResult.h:179
Aws::Macie2::Model::RelationshipStatus
RelationshipStatus
Definition: RelationshipStatus.h:17
Aws::Macie2::Model::GetMemberResult::SetInvitedAt
void SetInvitedAt(const Aws::Utils::DateTime &value)
Definition: GetMemberResult.h:194
Aws::Macie2::Model::GetMemberResult
Definition: GetMemberResult.h:31
Aws::Macie2::Model::GetMemberResult::WithAdministratorAccountId
GetMemberResult & WithAdministratorAccountId(const Aws::String &value)
Definition: GetMemberResult.h:97
Aws::Macie2::Model::GetMemberResult::WithTags
GetMemberResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetMemberResult.h:327
AWSString.h
Aws::Macie2::Model::GetMemberResult::SetEmail
void SetEmail(const char *value)
Definition: GetMemberResult.h:164
Aws::Macie2::Model::GetMemberResult::WithInvitedAt
GetMemberResult & WithInvitedAt(const Aws::Utils::DateTime &value)
Definition: GetMemberResult.h:208
Aws::Macie2::Model::GetMemberResult::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: GetMemberResult.h:391
Aws::Macie2::Model::GetMemberResult::GetAccountId
const Aws::String & GetAccountId() const
Definition: GetMemberResult.h:41
Aws::Macie2::Model::GetMemberResult::WithTags
GetMemberResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetMemberResult.h:321
Aws::Macie2::Model::GetMemberResult::SetMasterAccountId
void SetMasterAccountId(Aws::String &&value)
Definition: GetMemberResult.h:237
Aws::Macie2::Model::GetMemberResult::SetAccountId
void SetAccountId(const char *value)
Definition: GetMemberResult.h:56
Aws::Macie2::Model::GetMemberResult::WithAccountId
GetMemberResult & WithAccountId(const char *value)
Definition: GetMemberResult.h:71
Aws::Macie2::Model::GetMemberResult::SetInvitedAt
void SetInvitedAt(Aws::Utils::DateTime &&value)
Definition: GetMemberResult.h:201
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetMemberResult.h:333
RelationshipStatus.h
Aws::Macie2::Model::GetMemberResult::SetEmail
void SetEmail(Aws::String &&value)
Definition: GetMemberResult.h:159
Aws::Macie2::Model::GetMemberResult::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: GetMemberResult.h:51
Aws::Macie2::Model::GetMemberResult::WithArn
GetMemberResult & WithArn(Aws::String &&value)
Definition: GetMemberResult.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(const char *key, const char *value)
Definition: GetMemberResult.h:369
Aws::Macie2::Model::GetMemberResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetMemberResult.h:303
Aws::Macie2::Model::GetMemberResult::GetEmail
const Aws::String & GetEmail() const
Definition: GetMemberResult.h:149
Aws::Macie2::Model::GetMemberResult::GetMemberResult
GetMemberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::GetMemberResult::WithArn
GetMemberResult & WithArn(const char *value)
Definition: GetMemberResult.h:143
Aws::Macie2::Model::GetMemberResult::AddTags
GetMemberResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetMemberResult.h:345
Aws::Macie2::Model::GetMemberResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetMemberResult.h:315
Aws::Macie2::Model::GetMemberResult::WithRelationshipStatus
GetMemberResult & WithRelationshipStatus(const RelationshipStatus &value)
Definition: GetMemberResult.h:290
Aws::Macie2::Model::GetMemberResult::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: GetMemberResult.h:46
Aws::Macie2::Model::GetMemberResult::WithMasterAccountId
GetMemberResult & WithMasterAccountId(const char *value)
Definition: GetMemberResult.h:265
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19