7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
65 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
66 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
80 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
94 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
102 bool m_accountIdHasBeenSet =
false;
105 bool m_arnHasBeenSet =
false;
108 bool m_principalIdHasBeenSet =
false;
111 bool m_userNameHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
const Aws::String & GetAccountId() const
void SetPrincipalId(const Aws::String &value)
AWS_MACIE2_API IamUser & operator=(Aws::Utils::Json::JsonView jsonValue)
IamUser & WithAccountId(const char *value)
void SetArn(const Aws::String &value)
IamUser & WithPrincipalId(const Aws::String &value)
bool UserNameHasBeenSet() const
IamUser & WithArn(Aws::String &&value)
void SetPrincipalId(Aws::String &&value)
void SetUserName(Aws::String &&value)
void SetArn(const char *value)
IamUser & WithArn(const Aws::String &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
IamUser & WithAccountId(const Aws::String &value)
const Aws::String & GetUserName() const
const Aws::String & GetPrincipalId() const
void SetUserName(const Aws::String &value)
bool ArnHasBeenSet() const
bool AccountIdHasBeenSet() const
IamUser & WithUserName(Aws::String &&value)
void SetUserName(const char *value)
IamUser & WithUserName(const Aws::String &value)
void SetAccountId(const char *value)
void SetAccountId(const Aws::String &value)
IamUser & WithArn(const char *value)
void SetPrincipalId(const char *value)
IamUser & WithAccountId(Aws::String &&value)
const Aws::String & GetArn() const
void SetAccountId(Aws::String &&value)
IamUser & WithUserName(const char *value)
IamUser & WithPrincipalId(Aws::String &&value)
IamUser & WithPrincipalId(const char *value)
AWS_MACIE2_API IamUser(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue