7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
42 template <
typename AccountIdT = Aws::String>
44 m_accountIdHasBeenSet =
true;
45 m_accountId = std::forward<AccountIdT>(value);
47 template <
typename AccountIdT = Aws::String>
62 template <
typename ArnT = Aws::String>
64 m_arnHasBeenSet =
true;
65 m_arn = std::forward<ArnT>(value);
67 template <
typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
80 template <
typename PrincipalIdT = Aws::String>
82 m_principalIdHasBeenSet =
true;
83 m_principalId = std::forward<PrincipalIdT>(value);
85 template <
typename PrincipalIdT = Aws::String>
97 bool m_accountIdHasBeenSet =
false;
98 bool m_arnHasBeenSet =
false;
99 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