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>
50 template<
typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
52 template<
typename AccountIdT = Aws::String>
62 template<
typename AdministratorAccountIdT = Aws::String>
63 void SetAdministratorAccountId(AdministratorAccountIdT&& value) { m_administratorAccountIdHasBeenSet =
true; m_administratorAccountId = std::forward<AdministratorAccountIdT>(value); }
64 template<
typename AdministratorAccountIdT = Aws::String>
74 template<
typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
76 template<
typename ArnT = Aws::String>
87 template<
typename EmailT = Aws::String>
88 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
89 template<
typename EmailT = Aws::String>
101 template<
typename InvitedAtT = Aws::Utils::DateTime>
102 void SetInvitedAt(InvitedAtT&& value) { m_invitedAtHasBeenSet =
true; m_invitedAt = std::forward<InvitedAtT>(value); }
103 template<
typename InvitedAtT = Aws::Utils::DateTime>
115 template<
typename MasterAccountIdT = Aws::String>
116 void SetMasterAccountId(MasterAccountIdT&& value) { m_masterAccountIdHasBeenSet =
true; m_masterAccountId = std::forward<MasterAccountIdT>(value); }
117 template<
typename MasterAccountIdT = Aws::String>
139 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
145 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
157 template<
typename UpdatedAtT = Aws::Utils::DateTime>
158 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
159 template<
typename UpdatedAtT = Aws::Utils::DateTime>
165 bool m_accountIdHasBeenSet =
false;
168 bool m_administratorAccountIdHasBeenSet =
false;
171 bool m_arnHasBeenSet =
false;
174 bool m_emailHasBeenSet =
false;
177 bool m_invitedAtHasBeenSet =
false;
180 bool m_masterAccountIdHasBeenSet =
false;
183 bool m_relationshipStatusHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
189 bool m_updatedAtHasBeenSet =
false;
void SetEmail(EmailT &&value)
Member & WithRelationshipStatus(RelationshipStatus value)
bool AccountIdHasBeenSet() const
Member & WithInvitedAt(InvitedAtT &&value)
bool AdministratorAccountIdHasBeenSet() const
Member & WithAccountId(AccountIdT &&value)
Member & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAccountId(AccountIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool ArnHasBeenSet() const
bool TagsHasBeenSet() const
bool InvitedAtHasBeenSet() const
AWS_MACIE2_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Member()=default
void SetRelationshipStatus(RelationshipStatus value)
void SetTags(TagsT &&value)
Member & WithArn(ArnT &&value)
RelationshipStatus GetRelationshipStatus() const
const Aws::String & GetMasterAccountId() const
AWS_MACIE2_API Member(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAdministratorAccountId() const
const Aws::Utils::DateTime & GetInvitedAt() const
void SetMasterAccountId(MasterAccountIdT &&value)
Member & WithUpdatedAt(UpdatedAtT &&value)
void SetArn(ArnT &&value)
void SetInvitedAt(InvitedAtT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEmail() const
bool UpdatedAtHasBeenSet() const
bool MasterAccountIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool EmailHasBeenSet() const
Member & WithEmail(EmailT &&value)
Member & WithTags(TagsT &&value)
const Aws::String & GetAccountId() const
void SetAdministratorAccountId(AdministratorAccountIdT &&value)
bool RelationshipStatusHasBeenSet() const
Member & WithAdministratorAccountId(AdministratorAccountIdT &&value)
Member & WithMasterAccountId(MasterAccountIdT &&value)
const Aws::String & GetArn() const
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