7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/UserType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CodeCatalyst {
44 m_userTypeHasBeenSet =
true;
59 template <
typename PrincipalIdT = Aws::String>
61 m_principalIdHasBeenSet =
true;
62 m_principalId = std::forward<PrincipalIdT>(value);
64 template <
typename PrincipalIdT = Aws::String>
77 template <
typename UserNameT = Aws::String>
79 m_userNameHasBeenSet =
true;
80 m_userName = std::forward<UserNameT>(value);
82 template <
typename UserNameT = Aws::String>
96 template <
typename AwsAccountIdT = Aws::String>
98 m_awsAccountIdHasBeenSet =
true;
99 m_awsAccountId = std::forward<AwsAccountIdT>(value);
101 template <
typename AwsAccountIdT = Aws::String>
115 bool m_userTypeHasBeenSet =
false;
116 bool m_principalIdHasBeenSet =
false;
117 bool m_userNameHasBeenSet =
false;
118 bool m_awsAccountIdHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
void SetUserName(UserNameT &&value)
AWS_CODECATALYST_API UserIdentity(Aws::Utils::Json::JsonView jsonValue)
UserIdentity & WithAwsAccountId(AwsAccountIdT &&value)
bool AwsAccountIdHasBeenSet() const
UserIdentity & WithPrincipalId(PrincipalIdT &&value)
void SetUserType(UserType value)
UserType GetUserType() const
bool UserTypeHasBeenSet() const
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserNameHasBeenSet() const
const Aws::String & GetPrincipalId() const
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsAccountId() const
AWS_CODECATALYST_API UserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API UserIdentity()=default
const Aws::String & GetUserName() const
UserIdentity & WithUserType(UserType value)
UserIdentity & WithUserName(UserNameT &&value)
void SetPrincipalId(PrincipalIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue