7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template<
typename IamUserArnT = Aws::String>
44 void SetIamUserArn(IamUserArnT&& value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn = std::forward<IamUserArnT>(value); }
45 template<
typename IamUserArnT = Aws::String>
59 template<
typename SshUsernameT = Aws::String>
60 void SetSshUsername(SshUsernameT&& value) { m_sshUsernameHasBeenSet =
true; m_sshUsername = std::forward<SshUsernameT>(value); }
61 template<
typename SshUsernameT = Aws::String>
71 template<
typename SshPublicKeyT = Aws::String>
72 void SetSshPublicKey(SshPublicKeyT&& value) { m_sshPublicKeyHasBeenSet =
true; m_sshPublicKey = std::forward<SshPublicKeyT>(value); }
73 template<
typename SshPublicKeyT = Aws::String>
86 inline void SetAllowSelfManagement(
bool value) { m_allowSelfManagementHasBeenSet =
true; m_allowSelfManagement = value; }
92 bool m_iamUserArnHasBeenSet =
false;
95 bool m_sshUsernameHasBeenSet =
false;
98 bool m_sshPublicKeyHasBeenSet =
false;
100 bool m_allowSelfManagement{
false};
101 bool m_allowSelfManagementHasBeenSet =
false;
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIamUserArn(IamUserArnT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool SshUsernameHasBeenSet() const
void SetAllowSelfManagement(bool value)
AWS_OPSWORKS_API CreateUserProfileRequest()=default
CreateUserProfileRequest & WithAllowSelfManagement(bool value)
void SetSshUsername(SshUsernameT &&value)
bool IamUserArnHasBeenSet() const
bool GetAllowSelfManagement() const
CreateUserProfileRequest & WithSshUsername(SshUsernameT &&value)
bool SshPublicKeyHasBeenSet() const
CreateUserProfileRequest & WithSshPublicKey(SshPublicKeyT &&value)
const Aws::String & GetIamUserArn() const
CreateUserProfileRequest & WithIamUserArn(IamUserArnT &&value)
void SetSshPublicKey(SshPublicKeyT &&value)
bool AllowSelfManagementHasBeenSet() const
const Aws::String & GetSshUsername() const
const Aws::String & GetSshPublicKey() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String