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>
98 template <
typename UserNameT = Aws::String>
100 m_userNameHasBeenSet =
true;
101 m_userName = std::forward<UserNameT>(value);
103 template <
typename UserNameT = Aws::String>
117 bool m_accountIdHasBeenSet =
false;
118 bool m_arnHasBeenSet =
false;
119 bool m_principalIdHasBeenSet =
false;
120 bool m_userNameHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
const Aws::String & GetAccountId() const
AWS_MACIE2_API IamUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
bool UserNameHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUserName() const
const Aws::String & GetPrincipalId() const
void SetUserName(UserNameT &&value)
bool ArnHasBeenSet() const
bool AccountIdHasBeenSet() const
IamUser & WithAccountId(AccountIdT &&value)
void SetPrincipalId(PrincipalIdT &&value)
IamUser & WithUserName(UserNameT &&value)
void SetArn(ArnT &&value)
IamUser & WithArn(ArnT &&value)
const Aws::String & GetArn() const
AWS_MACIE2_API IamUser()=default
IamUser & WithPrincipalId(PrincipalIdT &&value)
AWS_MACIE2_API IamUser(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue