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;
bool SshPublicKeyHasBeenSet() const
bool AllowSelfManagementHasBeenSet() const
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API UpdateUserProfileRequest()=default
bool GetAllowSelfManagement() const
const Aws::String & GetIamUserArn() const
UpdateUserProfileRequest & WithSshPublicKey(SshPublicKeyT &&value)
const Aws::String & GetSshUsername() const
void SetAllowSelfManagement(bool value)
const Aws::String & GetSshPublicKey() const
void SetSshUsername(SshUsernameT &&value)
UpdateUserProfileRequest & WithIamUserArn(IamUserArnT &&value)
UpdateUserProfileRequest & WithSshUsername(SshUsernameT &&value)
void SetSshPublicKey(SshPublicKeyT &&value)
virtual const char * GetServiceRequestName() const override
bool SshUsernameHasBeenSet() const
bool IamUserArnHasBeenSet() const
void SetIamUserArn(IamUserArnT &&value)
UpdateUserProfileRequest & WithAllowSelfManagement(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String