7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/UserRole.h>
10#include <aws/quicksight/model/IdentityType.h>
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
82 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
111 inline void SetRole(
const UserRole& value) { m_roleHasBeenSet =
true; m_role = value; }
112 inline void SetRole(
UserRole&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
137 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
149 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
163 inline void SetCustomPermissionsName(
const char* value) { m_customPermissionsNameHasBeenSet =
true; m_customPermissionsName.assign(value); }
209 inline void SetExternalLoginId(
const char* value) { m_externalLoginIdHasBeenSet =
true; m_externalLoginId.assign(value); }
217 bool m_arnHasBeenSet =
false;
220 bool m_userNameHasBeenSet =
false;
223 bool m_emailHasBeenSet =
false;
226 bool m_roleHasBeenSet =
false;
229 bool m_identityTypeHasBeenSet =
false;
232 bool m_activeHasBeenSet =
false;
235 bool m_principalIdHasBeenSet =
false;
238 bool m_customPermissionsNameHasBeenSet =
false;
241 bool m_externalLoginFederationProviderTypeHasBeenSet =
false;
244 bool m_externalLoginFederationProviderUrlHasBeenSet =
false;
247 bool m_externalLoginIdHasBeenSet =
false;
bool IdentityTypeHasBeenSet() const
bool EmailHasBeenSet() const
void SetCustomPermissionsName(const char *value)
User & WithExternalLoginFederationProviderUrl(const Aws::String &value)
User & WithExternalLoginId(const char *value)
void SetExternalLoginFederationProviderUrl(const Aws::String &value)
void SetCustomPermissionsName(Aws::String &&value)
void SetExternalLoginId(const char *value)
User & WithCustomPermissionsName(const char *value)
bool UserNameHasBeenSet() const
void SetExternalLoginFederationProviderType(const char *value)
void SetExternalLoginId(const Aws::String &value)
bool CustomPermissionsNameHasBeenSet() const
User & WithExternalLoginId(Aws::String &&value)
User & WithIdentityType(IdentityType &&value)
void SetArn(Aws::String &&value)
AWS_QUICKSIGHT_API User(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
const UserRole & GetRole() const
User & WithPrincipalId(const Aws::String &value)
const Aws::String & GetCustomPermissionsName() const
void SetUserName(const char *value)
void SetCustomPermissionsName(const Aws::String &value)
User & WithActive(bool value)
void SetRole(const UserRole &value)
void SetExternalLoginId(Aws::String &&value)
void SetUserName(const Aws::String &value)
User & WithArn(Aws::String &&value)
void SetIdentityType(const IdentityType &value)
bool ActiveHasBeenSet() const
void SetExternalLoginFederationProviderUrl(const char *value)
void SetEmail(const char *value)
User & WithIdentityType(const IdentityType &value)
User & WithExternalLoginFederationProviderType(Aws::String &&value)
User & WithExternalLoginFederationProviderUrl(const char *value)
const Aws::String & GetEmail() const
User & WithExternalLoginFederationProviderUrl(Aws::String &&value)
bool ExternalLoginFederationProviderUrlHasBeenSet() const
User & WithArn(const Aws::String &value)
User & WithCustomPermissionsName(Aws::String &&value)
User & WithExternalLoginFederationProviderType(const Aws::String &value)
void SetIdentityType(IdentityType &&value)
User & WithEmail(Aws::String &&value)
User & WithRole(const UserRole &value)
User & WithPrincipalId(Aws::String &&value)
void SetExternalLoginFederationProviderType(Aws::String &&value)
const Aws::String & GetExternalLoginFederationProviderUrl() const
const Aws::String & GetExternalLoginId() const
User & WithPrincipalId(const char *value)
bool ArnHasBeenSet() const
User & WithRole(UserRole &&value)
void SetExternalLoginFederationProviderUrl(Aws::String &&value)
User & WithUserName(Aws::String &&value)
const Aws::String & GetExternalLoginFederationProviderType() const
bool RoleHasBeenSet() const
bool ExternalLoginIdHasBeenSet() const
void SetExternalLoginFederationProviderType(const Aws::String &value)
User & WithEmail(const Aws::String &value)
void SetUserName(Aws::String &&value)
User & WithUserName(const Aws::String &value)
void SetEmail(const Aws::String &value)
const Aws::String & GetUserName() const
const Aws::String & GetArn() const
User & WithExternalLoginFederationProviderType(const char *value)
AWS_QUICKSIGHT_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
const IdentityType & GetIdentityType() const
void SetEmail(Aws::String &&value)
User & WithEmail(const char *value)
void SetRole(UserRole &&value)
void SetPrincipalId(Aws::String &&value)
User & WithExternalLoginId(const Aws::String &value)
AWS_QUICKSIGHT_API User()
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PrincipalIdHasBeenSet() const
const Aws::String & GetPrincipalId() const
void SetPrincipalId(const char *value)
void SetActive(bool value)
bool ExternalLoginFederationProviderTypeHasBeenSet() const
void SetPrincipalId(const Aws::String &value)
User & WithUserName(const char *value)
void SetArn(const Aws::String &value)
User & WithCustomPermissionsName(const Aws::String &value)
User & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue