7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/macie2/model/RelationshipStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
45 template<
typename AccountIdT = Aws::String>
54 template<
typename AdministratorAccountIdT = Aws::String>
55 void SetAdministratorAccountId(AdministratorAccountIdT&& value) { m_administratorAccountIdHasBeenSet =
true; m_administratorAccountId = std::forward<AdministratorAccountIdT>(value); }
56 template<
typename AdministratorAccountIdT = Aws::String>
65 template<
typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
67 template<
typename ArnT = Aws::String>
77 template<
typename EmailT = Aws::String>
78 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
79 template<
typename EmailT = Aws::String>
90 template<
typename InvitedAtT = Aws::Utils::DateTime>
91 void SetInvitedAt(InvitedAtT&& value) { m_invitedAtHasBeenSet =
true; m_invitedAt = std::forward<InvitedAtT>(value); }
92 template<
typename InvitedAtT = Aws::Utils::DateTime>
103 template<
typename MasterAccountIdT = Aws::String>
104 void SetMasterAccountId(MasterAccountIdT&& value) { m_masterAccountIdHasBeenSet =
true; m_masterAccountId = std::forward<MasterAccountIdT>(value); }
105 template<
typename MasterAccountIdT = Aws::String>
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
131 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
142 template<
typename UpdatedAtT = Aws::Utils::DateTime>
143 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
144 template<
typename UpdatedAtT = Aws::Utils::DateTime>
151 template<
typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
153 template<
typename RequestIdT = Aws::String>
159 bool m_accountIdHasBeenSet =
false;
162 bool m_administratorAccountIdHasBeenSet =
false;
165 bool m_arnHasBeenSet =
false;
168 bool m_emailHasBeenSet =
false;
171 bool m_invitedAtHasBeenSet =
false;
174 bool m_masterAccountIdHasBeenSet =
false;
177 bool m_relationshipStatusHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
183 bool m_updatedAtHasBeenSet =
false;
186 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)
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