AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateUserProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeStar
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetUserArn() const{ return m_userArn; }
42 
47  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
48 
53  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
54 
59  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
60 
65  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
66 
71  inline UpdateUserProfileRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
72 
77  inline UpdateUserProfileRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
78 
83  inline UpdateUserProfileRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
84 
85 
90  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
91 
96  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
97 
102  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
103 
108  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
109 
114  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
115 
120  inline UpdateUserProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
121 
126  inline UpdateUserProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
127 
132  inline UpdateUserProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
133 
134 
139  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
140 
145  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
146 
151  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
152 
157  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
158 
163  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
164 
169  inline UpdateUserProfileRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
170 
175  inline UpdateUserProfileRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
176 
181  inline UpdateUserProfileRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
182 
183 
189  inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; }
190 
196  inline bool SshPublicKeyHasBeenSet() const { return m_sshPublicKeyHasBeenSet; }
197 
203  inline void SetSshPublicKey(const Aws::String& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = value; }
204 
210  inline void SetSshPublicKey(Aws::String&& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = std::move(value); }
211 
217  inline void SetSshPublicKey(const char* value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey.assign(value); }
218 
224  inline UpdateUserProfileRequest& WithSshPublicKey(const Aws::String& value) { SetSshPublicKey(value); return *this;}
225 
231  inline UpdateUserProfileRequest& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;}
232 
238  inline UpdateUserProfileRequest& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;}
239 
240  private:
241 
242  Aws::String m_userArn;
243  bool m_userArnHasBeenSet;
244 
245  Aws::String m_displayName;
246  bool m_displayNameHasBeenSet;
247 
248  Aws::String m_emailAddress;
249  bool m_emailAddressHasBeenSet;
250 
251  Aws::String m_sshPublicKey;
252  bool m_sshPublicKeyHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace CodeStar
257 } // namespace Aws
Aws::CodeStar::Model::UpdateUserProfileRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: UpdateUserProfileRequest.h:145
Aws::CodeStar::Model::UpdateUserProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeStar::Model::UpdateUserProfileRequest::WithEmailAddress
UpdateUserProfileRequest & WithEmailAddress(const char *value)
Definition: UpdateUserProfileRequest.h:181
Aws::CodeStar::Model::UpdateUserProfileRequest::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:102
Aws::CodeStar::Model::UpdateUserProfileRequest::WithDisplayName
UpdateUserProfileRequest & WithDisplayName(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:120
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODESTAR_API
#define AWS_CODESTAR_API
Definition: CodeStar_EXPORTS.h:28
Aws::CodeStar::Model::UpdateUserProfileRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:151
Aws::CodeStar::Model::UpdateUserProfileRequest::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: UpdateUserProfileRequest.h:96
Aws::CodeStar::Model::UpdateUserProfileRequest::WithEmailAddress
UpdateUserProfileRequest & WithEmailAddress(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:169
Aws::CodeStar::Model::UpdateUserProfileRequest
Definition: UpdateUserProfileRequest.h:22
Aws::CodeStar::Model::UpdateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:203
Aws::CodeStar::Model::UpdateUserProfileRequest::WithUserArn
UpdateUserProfileRequest & WithUserArn(const char *value)
Definition: UpdateUserProfileRequest.h:83
Aws::CodeStar::Model::UpdateUserProfileRequest::SshPublicKeyHasBeenSet
bool SshPublicKeyHasBeenSet() const
Definition: UpdateUserProfileRequest.h:196
Aws::CodeStar::Model::UpdateUserProfileRequest::WithSshPublicKey
UpdateUserProfileRequest & WithSshPublicKey(const char *value)
Definition: UpdateUserProfileRequest.h:238
Aws::CodeStar::Model::UpdateUserProfileRequest::WithDisplayName
UpdateUserProfileRequest & WithDisplayName(const char *value)
Definition: UpdateUserProfileRequest.h:132
Aws::CodeStar::Model::UpdateUserProfileRequest::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: UpdateUserProfileRequest.h:90
Aws::CodeStar::Model::UpdateUserProfileRequest::GetSshPublicKey
const Aws::String & GetSshPublicKey() const
Definition: UpdateUserProfileRequest.h:189
Aws::CodeStar::Model::UpdateUserProfileRequest::WithSshPublicKey
UpdateUserProfileRequest & WithSshPublicKey(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:224
Aws::CodeStar::Model::UpdateUserProfileRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:59
Aws::CodeStar::Model::UpdateUserProfileRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: UpdateUserProfileRequest.h:139
Aws::CodeStar::CodeStarRequest
Definition: CodeStarRequest.h:17
CodeStar_EXPORTS.h
Aws::CodeStar::Model::UpdateUserProfileRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: UpdateUserProfileRequest.h:41
Aws::CodeStar::Model::UpdateUserProfileRequest::WithUserArn
UpdateUserProfileRequest & WithUserArn(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:71
CodeStarRequest.h
AWSString.h
Aws::CodeStar::Model::UpdateUserProfileRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:157
Aws::CodeStar::Model::UpdateUserProfileRequest::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:108
Aws::CodeStar::Model::UpdateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:210
Aws::CodeStar::Model::UpdateUserProfileRequest::WithEmailAddress
UpdateUserProfileRequest & WithEmailAddress(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:175
Aws::CodeStar::Model::UpdateUserProfileRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: UpdateUserProfileRequest.h:163
Aws
Definition: AccessManagementClient.h:15
Aws::CodeStar::Model::UpdateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(const char *value)
Definition: UpdateUserProfileRequest.h:217
Aws::CodeStar::Model::UpdateUserProfileRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:53
Aws::CodeStar::Model::UpdateUserProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeStar::Model::UpdateUserProfileRequest::WithSshPublicKey
UpdateUserProfileRequest & WithSshPublicKey(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:231
Aws::CodeStar::Model::UpdateUserProfileRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: UpdateUserProfileRequest.h:47
Aws::CodeStar::Model::UpdateUserProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserProfileRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeStar::Model::UpdateUserProfileRequest::SetUserArn
void SetUserArn(const char *value)
Definition: UpdateUserProfileRequest.h:65
Aws::CodeStar::Model::UpdateUserProfileRequest::WithUserArn
UpdateUserProfileRequest & WithUserArn(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:77
Aws::CodeStar::Model::UpdateUserProfileRequest::WithDisplayName
UpdateUserProfileRequest & WithDisplayName(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:126
Aws::CodeStar::Model::UpdateUserProfileRequest::UpdateUserProfileRequest
UpdateUserProfileRequest()
Aws::CodeStar::Model::UpdateUserProfileRequest::SetDisplayName
void SetDisplayName(const char *value)
Definition: UpdateUserProfileRequest.h:114