7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/UserType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetUserType(
UserType&& value) { m_userTypeHasBeenSet =
true; m_userType = std::move(value); }
63 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
77 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
92 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
100 bool m_userTypeHasBeenSet =
false;
103 bool m_principalIdHasBeenSet =
false;
106 bool m_userNameHasBeenSet =
false;
109 bool m_awsAccountIdHasBeenSet =
false;
UserIdentity & WithAwsAccountId(const Aws::String &value)
void SetPrincipalId(Aws::String &&value)
bool PrincipalIdHasBeenSet() const
UserIdentity & WithPrincipalId(Aws::String &&value)
UserIdentity & WithUserType(UserType &&value)
AWS_CODECATALYST_API UserIdentity(Aws::Utils::Json::JsonView jsonValue)
bool AwsAccountIdHasBeenSet() const
UserIdentity & WithUserType(const UserType &value)
void SetUserType(const UserType &value)
bool UserTypeHasBeenSet() const
UserIdentity & WithPrincipalId(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserName(const char *value)
UserIdentity & WithUserName(const Aws::String &value)
void SetUserName(const Aws::String &value)
bool UserNameHasBeenSet() const
void SetUserName(Aws::String &&value)
const Aws::String & GetPrincipalId() const
UserIdentity & WithAwsAccountId(const char *value)
void SetUserType(UserType &&value)
const Aws::String & GetAwsAccountId() const
UserIdentity & WithUserName(const char *value)
void SetPrincipalId(const Aws::String &value)
UserIdentity & WithUserName(Aws::String &&value)
AWS_CODECATALYST_API UserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
UserIdentity & WithAwsAccountId(Aws::String &&value)
const Aws::String & GetUserName() const
void SetAwsAccountId(const char *value)
void SetAwsAccountId(Aws::String &&value)
UserIdentity & WithPrincipalId(const char *value)
const UserType & GetUserType() const
void SetPrincipalId(const char *value)
void SetAwsAccountId(const Aws::String &value)
AWS_CODECATALYST_API UserIdentity()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue