AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserProfileRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace OpsWorks
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_OPSWORKS_API UpdateUserProfileRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserProfile"; }
31
32 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetIamUserArn() const{ return m_iamUserArn; }
42 inline bool IamUserArnHasBeenSet() const { return m_iamUserArnHasBeenSet; }
43 inline void SetIamUserArn(const Aws::String& value) { m_iamUserArnHasBeenSet = true; m_iamUserArn = value; }
44 inline void SetIamUserArn(Aws::String&& value) { m_iamUserArnHasBeenSet = true; m_iamUserArn = std::move(value); }
45 inline void SetIamUserArn(const char* value) { m_iamUserArnHasBeenSet = true; m_iamUserArn.assign(value); }
46 inline UpdateUserProfileRequest& WithIamUserArn(const Aws::String& value) { SetIamUserArn(value); return *this;}
47 inline UpdateUserProfileRequest& WithIamUserArn(Aws::String&& value) { SetIamUserArn(std::move(value)); return *this;}
48 inline UpdateUserProfileRequest& WithIamUserArn(const char* value) { SetIamUserArn(value); return *this;}
50
52
59 inline const Aws::String& GetSshUsername() const{ return m_sshUsername; }
60 inline bool SshUsernameHasBeenSet() const { return m_sshUsernameHasBeenSet; }
61 inline void SetSshUsername(const Aws::String& value) { m_sshUsernameHasBeenSet = true; m_sshUsername = value; }
62 inline void SetSshUsername(Aws::String&& value) { m_sshUsernameHasBeenSet = true; m_sshUsername = std::move(value); }
63 inline void SetSshUsername(const char* value) { m_sshUsernameHasBeenSet = true; m_sshUsername.assign(value); }
64 inline UpdateUserProfileRequest& WithSshUsername(const Aws::String& value) { SetSshUsername(value); return *this;}
65 inline UpdateUserProfileRequest& WithSshUsername(Aws::String&& value) { SetSshUsername(std::move(value)); return *this;}
66 inline UpdateUserProfileRequest& WithSshUsername(const char* value) { SetSshUsername(value); return *this;}
68
70
73 inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; }
74 inline bool SshPublicKeyHasBeenSet() const { return m_sshPublicKeyHasBeenSet; }
75 inline void SetSshPublicKey(const Aws::String& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = value; }
76 inline void SetSshPublicKey(Aws::String&& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = std::move(value); }
77 inline void SetSshPublicKey(const char* value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey.assign(value); }
78 inline UpdateUserProfileRequest& WithSshPublicKey(const Aws::String& value) { SetSshPublicKey(value); return *this;}
79 inline UpdateUserProfileRequest& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;}
80 inline UpdateUserProfileRequest& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;}
82
84
90 inline bool GetAllowSelfManagement() const{ return m_allowSelfManagement; }
91 inline bool AllowSelfManagementHasBeenSet() const { return m_allowSelfManagementHasBeenSet; }
92 inline void SetAllowSelfManagement(bool value) { m_allowSelfManagementHasBeenSet = true; m_allowSelfManagement = value; }
93 inline UpdateUserProfileRequest& WithAllowSelfManagement(bool value) { SetAllowSelfManagement(value); return *this;}
95 private:
96
97 Aws::String m_iamUserArn;
98 bool m_iamUserArnHasBeenSet = false;
99
100 Aws::String m_sshUsername;
101 bool m_sshUsernameHasBeenSet = false;
102
103 Aws::String m_sshPublicKey;
104 bool m_sshPublicKeyHasBeenSet = false;
105
106 bool m_allowSelfManagement;
107 bool m_allowSelfManagementHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace OpsWorks
112} // namespace Aws
UpdateUserProfileRequest & WithSshPublicKey(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPSWORKS_API Aws::String SerializePayload() const override
UpdateUserProfileRequest & WithSshPublicKey(const Aws::String &value)
UpdateUserProfileRequest & WithSshUsername(const char *value)
UpdateUserProfileRequest & WithSshPublicKey(Aws::String &&value)
UpdateUserProfileRequest & WithIamUserArn(const char *value)
UpdateUserProfileRequest & WithSshUsername(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateUserProfileRequest & WithIamUserArn(Aws::String &&value)
UpdateUserProfileRequest & WithIamUserArn(const Aws::String &value)
UpdateUserProfileRequest & WithSshUsername(Aws::String &&value)
UpdateUserProfileRequest & WithAllowSelfManagement(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String