7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetIamUserArn(
const char* value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetSshUsername(
const char* value) { m_sshUsernameHasBeenSet =
true; m_sshUsername.assign(value); }
90 inline void SetSshPublicKey(
const char* value) { m_sshPublicKeyHasBeenSet =
true; m_sshPublicKey.assign(value); }
105 inline void SetAllowSelfManagement(
bool value) { m_allowSelfManagementHasBeenSet =
true; m_allowSelfManagement = value; }
111 bool m_iamUserArnHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
117 bool m_sshUsernameHasBeenSet =
false;
120 bool m_sshPublicKeyHasBeenSet =
false;
122 bool m_allowSelfManagement;
123 bool m_allowSelfManagementHasBeenSet =
false;
UserProfile & WithSshUsername(Aws::String &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIamUserArn() const
AWS_OPSWORKS_API UserProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AllowSelfManagementHasBeenSet() const
UserProfile & WithName(const char *value)
UserProfile & WithIamUserArn(Aws::String &&value)
UserProfile & WithSshPublicKey(Aws::String &&value)
bool NameHasBeenSet() const
UserProfile & WithAllowSelfManagement(bool value)
void SetIamUserArn(const Aws::String &value)
void SetName(const char *value)
void SetSshPublicKey(const Aws::String &value)
UserProfile & WithSshUsername(const Aws::String &value)
void SetSshUsername(const Aws::String &value)
UserProfile & WithSshUsername(const char *value)
void SetIamUserArn(const char *value)
void SetSshPublicKey(Aws::String &&value)
void SetName(Aws::String &&value)
UserProfile & WithSshPublicKey(const char *value)
AWS_OPSWORKS_API UserProfile(Aws::Utils::Json::JsonView jsonValue)
void SetSshUsername(const char *value)
AWS_OPSWORKS_API UserProfile()
UserProfile & WithIamUserArn(const char *value)
void SetSshUsername(Aws::String &&value)
bool SshUsernameHasBeenSet() const
void SetIamUserArn(Aws::String &&value)
bool GetAllowSelfManagement() const
UserProfile & WithName(Aws::String &&value)
UserProfile & WithName(const Aws::String &value)
const Aws::String & GetSshPublicKey() const
UserProfile & WithIamUserArn(const Aws::String &value)
void SetAllowSelfManagement(bool value)
const Aws::String & GetSshUsername() const
bool SshPublicKeyHasBeenSet() const
const Aws::String & GetName() const
void SetName(const Aws::String &value)
void SetSshPublicKey(const char *value)
UserProfile & WithSshPublicKey(const Aws::String &value)
bool IamUserArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue