7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename IamUserArnT = Aws::String>
47 void SetIamUserArn(IamUserArnT&& value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn = std::forward<IamUserArnT>(value); }
48 template<
typename IamUserArnT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename SshUsernameT = Aws::String>
71 void SetSshUsername(SshUsernameT&& value) { m_sshUsernameHasBeenSet =
true; m_sshUsername = std::forward<SshUsernameT>(value); }
72 template<
typename SshUsernameT = Aws::String>
82 template<
typename SshPublicKeyT = Aws::String>
83 void SetSshPublicKey(SshPublicKeyT&& value) { m_sshPublicKeyHasBeenSet =
true; m_sshPublicKey = std::forward<SshPublicKeyT>(value); }
84 template<
typename SshPublicKeyT = Aws::String>
97 inline void SetAllowSelfManagement(
bool value) { m_allowSelfManagementHasBeenSet =
true; m_allowSelfManagement = value; }
103 bool m_iamUserArnHasBeenSet =
false;
106 bool m_nameHasBeenSet =
false;
109 bool m_sshUsernameHasBeenSet =
false;
112 bool m_sshPublicKeyHasBeenSet =
false;
114 bool m_allowSelfManagement{
false};
115 bool m_allowSelfManagementHasBeenSet =
false;
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIamUserArn() const
UserProfile & WithSshPublicKey(SshPublicKeyT &&value)
UserProfile & WithIamUserArn(IamUserArnT &&value)
AWS_OPSWORKS_API UserProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AllowSelfManagementHasBeenSet() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
UserProfile & WithAllowSelfManagement(bool value)
void SetSshPublicKey(SshPublicKeyT &&value)
AWS_OPSWORKS_API UserProfile(Aws::Utils::Json::JsonView jsonValue)
void SetSshUsername(SshUsernameT &&value)
void SetIamUserArn(IamUserArnT &&value)
bool SshUsernameHasBeenSet() const
bool GetAllowSelfManagement() const
AWS_OPSWORKS_API UserProfile()=default
const Aws::String & GetSshPublicKey() const
UserProfile & WithName(NameT &&value)
void SetAllowSelfManagement(bool value)
UserProfile & WithSshUsername(SshUsernameT &&value)
const Aws::String & GetSshUsername() const
bool SshPublicKeyHasBeenSet() const
const Aws::String & GetName() const
bool IamUserArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue