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); }
88 bool m_accountIdHasBeenSet =
false;
91 bool m_arnHasBeenSet =
false;
94 bool m_principalIdHasBeenSet =
false;
void SetArn(Aws::String &&value)
void SetPrincipalId(const char *value)
bool AccountIdHasBeenSet() const
AWS_MACIE2_API UserIdentityRoot(Aws::Utils::Json::JsonView jsonValue)
UserIdentityRoot & WithPrincipalId(const char *value)
void SetAccountId(Aws::String &&value)
UserIdentityRoot & WithPrincipalId(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetArn(const char *value)
AWS_MACIE2_API UserIdentityRoot()
void SetPrincipalId(Aws::String &&value)
void SetAccountId(const Aws::String &value)
const Aws::String & GetArn() const
UserIdentityRoot & WithArn(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
UserIdentityRoot & WithAccountId(const char *value)
UserIdentityRoot & WithArn(const Aws::String &value)
const Aws::String & GetPrincipalId() const
UserIdentityRoot & WithPrincipalId(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
UserIdentityRoot & WithArn(Aws::String &&value)
UserIdentityRoot & WithAccountId(const Aws::String &value)
AWS_MACIE2_API UserIdentityRoot & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalIdHasBeenSet() const
UserIdentityRoot & WithAccountId(Aws::String &&value)
void SetAccountId(const char *value)
bool ArnHasBeenSet() const
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue