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>
86 template<
typename UserNameT = Aws::String>
87 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
88 template<
typename UserNameT = Aws::String>
94 bool m_accountIdHasBeenSet =
false;
97 bool m_arnHasBeenSet =
false;
100 bool m_principalIdHasBeenSet =
false;
103 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