7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/SessionContext.h>
52 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
67 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
81 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
82 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
97 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
118 bool m_accessKeyIdHasBeenSet =
false;
121 bool m_accountIdHasBeenSet =
false;
124 bool m_arnHasBeenSet =
false;
127 bool m_principalIdHasBeenSet =
false;
130 bool m_sessionContextHasBeenSet =
false;
void SetArn(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
FederatedUser & WithPrincipalId(const char *value)
FederatedUser & WithPrincipalId(const Aws::String &value)
FederatedUser & WithAccessKeyId(const char *value)
const Aws::String & GetAccessKeyId() const
const Aws::String & GetAccountId() const
const SessionContext & GetSessionContext() const
FederatedUser & WithSessionContext(const SessionContext &value)
void SetSessionContext(SessionContext &&value)
AWS_MACIE2_API FederatedUser()
bool SessionContextHasBeenSet() const
FederatedUser & WithAccountId(const char *value)
FederatedUser & WithPrincipalId(Aws::String &&value)
FederatedUser & WithArn(Aws::String &&value)
FederatedUser & WithAccountId(const Aws::String &value)
void SetArn(const char *value)
void SetAccountId(Aws::String &&value)
void SetAccessKeyId(const Aws::String &value)
FederatedUser & WithSessionContext(SessionContext &&value)
FederatedUser & WithAccessKeyId(Aws::String &&value)
bool ArnHasBeenSet() const
void SetAccessKeyId(Aws::String &&value)
void SetPrincipalId(Aws::String &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetArn() const
bool AccessKeyIdHasBeenSet() const
void SetAccountId(const Aws::String &value)
void SetAccountId(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API FederatedUser(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalIdHasBeenSet() const
FederatedUser & WithArn(const char *value)
FederatedUser & WithAccessKeyId(const Aws::String &value)
FederatedUser & WithArn(const Aws::String &value)
FederatedUser & WithAccountId(Aws::String &&value)
AWS_MACIE2_API FederatedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipalId(const char *value)
const Aws::String & GetPrincipalId() const
void SetArn(const Aws::String &value)
void SetAccessKeyId(const char *value)
void SetSessionContext(const SessionContext &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue