AWS SDK for C++  1.9.66
AWS SDK for C++
CreateUserProfileRequest.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 "CreateUserProfile"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetUserArn() const{ return m_userArn; }
41 
45  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
46 
50  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
51 
55  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
56 
60  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
61 
65  inline CreateUserProfileRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
66 
70  inline CreateUserProfileRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
71 
75  inline CreateUserProfileRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
76 
77 
82  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
83 
88  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
89 
94  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
95 
100  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
101 
106  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
107 
112  inline CreateUserProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
113 
118  inline CreateUserProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
119 
124  inline CreateUserProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
125 
126 
131  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
132 
137  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
138 
143  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
144 
149  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
150 
155  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
156 
161  inline CreateUserProfileRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
162 
167  inline CreateUserProfileRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
168 
173  inline CreateUserProfileRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
174 
175 
181  inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; }
182 
188  inline bool SshPublicKeyHasBeenSet() const { return m_sshPublicKeyHasBeenSet; }
189 
195  inline void SetSshPublicKey(const Aws::String& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = value; }
196 
202  inline void SetSshPublicKey(Aws::String&& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = std::move(value); }
203 
209  inline void SetSshPublicKey(const char* value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey.assign(value); }
210 
216  inline CreateUserProfileRequest& WithSshPublicKey(const Aws::String& value) { SetSshPublicKey(value); return *this;}
217 
223  inline CreateUserProfileRequest& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;}
224 
230  inline CreateUserProfileRequest& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;}
231 
232  private:
233 
234  Aws::String m_userArn;
235  bool m_userArnHasBeenSet;
236 
237  Aws::String m_displayName;
238  bool m_displayNameHasBeenSet;
239 
240  Aws::String m_emailAddress;
241  bool m_emailAddressHasBeenSet;
242 
243  Aws::String m_sshPublicKey;
244  bool m_sshPublicKeyHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace CodeStar
249 } // namespace Aws
Aws::CodeStar::Model::CreateUserProfileRequest::WithEmailAddress
CreateUserProfileRequest & WithEmailAddress(const char *value)
Definition: CreateUserProfileRequest.h:173
Aws::CodeStar::Model::CreateUserProfileRequest::WithUserArn
CreateUserProfileRequest & WithUserArn(Aws::String &&value)
Definition: CreateUserProfileRequest.h:70
Aws::CodeStar::Model::CreateUserProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateUserProfileRequest.h:30
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::CreateUserProfileRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: CreateUserProfileRequest.h:137
Aws::CodeStar::Model::CreateUserProfileRequest::WithEmailAddress
CreateUserProfileRequest & WithEmailAddress(const Aws::String &value)
Definition: CreateUserProfileRequest.h:161
Aws::CodeStar::Model::CreateUserProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeStar::Model::CreateUserProfileRequest::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: CreateUserProfileRequest.h:100
Aws::CodeStar::Model::CreateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(const char *value)
Definition: CreateUserProfileRequest.h:209
Aws::CodeStar::Model::CreateUserProfileRequest::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: CreateUserProfileRequest.h:82
Aws::CodeStar::Model::CreateUserProfileRequest::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: CreateUserProfileRequest.h:88
Aws::CodeStar::Model::CreateUserProfileRequest::SetUserArn
void SetUserArn(const char *value)
Definition: CreateUserProfileRequest.h:60
Aws::CodeStar::Model::CreateUserProfileRequest::WithSshPublicKey
CreateUserProfileRequest & WithSshPublicKey(const char *value)
Definition: CreateUserProfileRequest.h:230
Aws::CodeStar::Model::CreateUserProfileRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: CreateUserProfileRequest.h:50
Aws::CodeStar::Model::CreateUserProfileRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: CreateUserProfileRequest.h:149
Aws::CodeStar::Model::CreateUserProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeStar::Model::CreateUserProfileRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: CreateUserProfileRequest.h:45
Aws::CodeStar::CodeStarRequest
Definition: CodeStarRequest.h:17
Aws::CodeStar::Model::CreateUserProfileRequest::CreateUserProfileRequest
CreateUserProfileRequest()
Aws::CodeStar::Model::CreateUserProfileRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: CreateUserProfileRequest.h:155
CodeStar_EXPORTS.h
Aws::CodeStar::Model::CreateUserProfileRequest
Definition: CreateUserProfileRequest.h:22
CodeStarRequest.h
AWSString.h
Aws::CodeStar::Model::CreateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(Aws::String &&value)
Definition: CreateUserProfileRequest.h:202
Aws::CodeStar::Model::CreateUserProfileRequest::GetSshPublicKey
const Aws::String & GetSshPublicKey() const
Definition: CreateUserProfileRequest.h:181
Aws::CodeStar::Model::CreateUserProfileRequest::WithSshPublicKey
CreateUserProfileRequest & WithSshPublicKey(const Aws::String &value)
Definition: CreateUserProfileRequest.h:216
Aws::CodeStar::Model::CreateUserProfileRequest::SshPublicKeyHasBeenSet
bool SshPublicKeyHasBeenSet() const
Definition: CreateUserProfileRequest.h:188
Aws::CodeStar::Model::CreateUserProfileRequest::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: CreateUserProfileRequest.h:94
Aws::CodeStar::Model::CreateUserProfileRequest::SetSshPublicKey
void SetSshPublicKey(const Aws::String &value)
Definition: CreateUserProfileRequest.h:195
Aws::CodeStar::Model::CreateUserProfileRequest::WithEmailAddress
CreateUserProfileRequest & WithEmailAddress(Aws::String &&value)
Definition: CreateUserProfileRequest.h:167
Aws::CodeStar::Model::CreateUserProfileRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: CreateUserProfileRequest.h:40
Aws::CodeStar::Model::CreateUserProfileRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: CreateUserProfileRequest.h:55
Aws::CodeStar::Model::CreateUserProfileRequest::WithDisplayName
CreateUserProfileRequest & WithDisplayName(const Aws::String &value)
Definition: CreateUserProfileRequest.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::CodeStar::Model::CreateUserProfileRequest::WithDisplayName
CreateUserProfileRequest & WithDisplayName(const char *value)
Definition: CreateUserProfileRequest.h:124
Aws::CodeStar::Model::CreateUserProfileRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: CreateUserProfileRequest.h:131
Aws::CodeStar::Model::CreateUserProfileRequest::WithSshPublicKey
CreateUserProfileRequest & WithSshPublicKey(Aws::String &&value)
Definition: CreateUserProfileRequest.h:223
Aws::CodeStar::Model::CreateUserProfileRequest::WithUserArn
CreateUserProfileRequest & WithUserArn(const char *value)
Definition: CreateUserProfileRequest.h:75
Aws::CodeStar::Model::CreateUserProfileRequest::SetDisplayName
void SetDisplayName(const char *value)
Definition: CreateUserProfileRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeStar::Model::CreateUserProfileRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: CreateUserProfileRequest.h:143
Aws::CodeStar::Model::CreateUserProfileRequest::WithDisplayName
CreateUserProfileRequest & WithDisplayName(Aws::String &&value)
Definition: CreateUserProfileRequest.h:118
Aws::CodeStar::Model::CreateUserProfileRequest::WithUserArn
CreateUserProfileRequest & WithUserArn(const Aws::String &value)
Definition: CreateUserProfileRequest.h:65