7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/UserType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
59 template<
typename PrincipalIdT = Aws::String>
60 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
61 template<
typename PrincipalIdT = Aws::String>
71 template<
typename UserNameT = Aws::String>
72 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
73 template<
typename UserNameT = Aws::String>
84 template<
typename AwsAccountIdT = Aws::String>
85 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
86 template<
typename AwsAccountIdT = Aws::String>
92 bool m_userTypeHasBeenSet =
false;
95 bool m_principalIdHasBeenSet =
false;
98 bool m_userNameHasBeenSet =
false;
101 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