7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
62 template<
typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
64 template<
typename ArnT = Aws::String>
74 template<
typename PrincipalIdT = Aws::String>
75 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
76 template<
typename PrincipalIdT = Aws::String>
82 bool m_accountIdHasBeenSet =
false;
85 bool m_arnHasBeenSet =
false;
88 bool m_principalIdHasBeenSet =
false;
bool AccountIdHasBeenSet() const
void SetAccountId(AccountIdT &&value)
AWS_MACIE2_API UserIdentityRoot(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
UserIdentityRoot & WithAccountId(AccountIdT &&value)
const Aws::String & GetPrincipalId() const
UserIdentityRoot & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
AWS_MACIE2_API UserIdentityRoot & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalIdHasBeenSet() const
AWS_MACIE2_API UserIdentityRoot()=default
void SetPrincipalId(PrincipalIdT &&value)
bool ArnHasBeenSet() const
UserIdentityRoot & WithPrincipalId(PrincipalIdT &&value)
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue