7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/macie2/Macie2_EXPORTS.h>
12#include <aws/macie2/model/RelationshipStatus.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename AccountIdT = Aws::String>
40 m_accountIdHasBeenSet =
true;
41 m_accountId = std::forward<AccountIdT>(value);
43 template <
typename AccountIdT = Aws::String>
55 template <
typename AdministratorAccountIdT = Aws::String>
57 m_administratorAccountIdHasBeenSet =
true;
58 m_administratorAccountId = std::forward<AdministratorAccountIdT>(value);
60 template <
typename AdministratorAccountIdT = Aws::String>
72 template <
typename ArnT = Aws::String>
74 m_arnHasBeenSet =
true;
75 m_arn = std::forward<ArnT>(value);
77 template <
typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
90 template <
typename EmailT = Aws::String>
92 m_emailHasBeenSet =
true;
93 m_email = std::forward<EmailT>(value);
95 template <
typename EmailT = Aws::String>
97 SetEmail(std::forward<EmailT>(value));
109 template <
typename InvitedAtT = Aws::Utils::DateTime>
111 m_invitedAtHasBeenSet =
true;
112 m_invitedAt = std::forward<InvitedAtT>(value);
114 template <
typename InvitedAtT = Aws::Utils::DateTime>
128 template <
typename MasterAccountIdT = Aws::String>
130 m_masterAccountIdHasBeenSet =
true;
131 m_masterAccountId = std::forward<MasterAccountIdT>(value);
133 template <
typename MasterAccountIdT = Aws::String>
147 m_relationshipStatusHasBeenSet =
true;
148 m_relationshipStatus = value;
162 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 m_tagsHasBeenSet =
true;
165 m_tags = std::forward<TagsT>(value);
167 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 SetTags(std::forward<TagsT>(value));
172 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
174 m_tagsHasBeenSet =
true;
175 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
187 template <
typename UpdatedAtT = Aws::Utils::DateTime>
189 m_updatedAtHasBeenSet =
true;
190 m_updatedAt = std::forward<UpdatedAtT>(value);
192 template <
typename UpdatedAtT = Aws::Utils::DateTime>
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
236 bool m_accountIdHasBeenSet =
false;
237 bool m_administratorAccountIdHasBeenSet =
false;
238 bool m_arnHasBeenSet =
false;
239 bool m_emailHasBeenSet =
false;
240 bool m_invitedAtHasBeenSet =
false;
241 bool m_masterAccountIdHasBeenSet =
false;
242 bool m_relationshipStatusHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
244 bool m_updatedAtHasBeenSet =
false;
245 bool m_requestIdHasBeenSet =
false;
GetMemberResult & WithAccountId(AccountIdT &&value)
AWS_MACIE2_API GetMemberResult()=default
void SetTags(TagsT &&value)
const Aws::String & GetMasterAccountId() const
const Aws::Utils::DateTime & GetInvitedAt() const
void SetArn(ArnT &&value)
GetMemberResult & WithRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetMemberResult & WithArn(ArnT &&value)
GetMemberResult & WithAdministratorAccountId(AdministratorAccountIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAccountId() const
GetMemberResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_MACIE2_API GetMemberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAccountId(AccountIdT &&value)
GetMemberResult & WithEmail(EmailT &&value)
GetMemberResult & WithRelationshipStatus(RelationshipStatus value)
void SetInvitedAt(InvitedAtT &&value)
GetMemberResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetAdministratorAccountId(AdministratorAccountIdT &&value)
AWS_MACIE2_API GetMemberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMemberResult & WithTags(TagsT &&value)
const Aws::String & GetAdministratorAccountId() const
GetMemberResult & WithMasterAccountId(MasterAccountIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetArn() const
const Aws::String & GetEmail() const
void SetEmail(EmailT &&value)
void SetRequestId(RequestIdT &&value)
void SetMasterAccountId(MasterAccountIdT &&value)
RelationshipStatus GetRelationshipStatus() const
void SetRelationshipStatus(RelationshipStatus value)
GetMemberResult & WithInvitedAt(InvitedAtT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue