AWS SDK for C++  1.9.108
AWS SDK for C++
CreateApplicationVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServerlessApplicationRepository
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 "CreateApplicationVersion"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
39 
43  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 
48  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 
53  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
54 
58  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
59 
63  inline CreateApplicationVersionRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline CreateApplicationVersionRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline CreateApplicationVersionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
74 
75 
79  inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
80 
84  inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
85 
89  inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; }
90 
94  inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); }
95 
99  inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); }
100 
104  inline CreateApplicationVersionRequest& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;}
105 
109  inline CreateApplicationVersionRequest& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
110 
114  inline CreateApplicationVersionRequest& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
115 
116 
121  inline const Aws::String& GetSourceCodeArchiveUrl() const{ return m_sourceCodeArchiveUrl; }
122 
127  inline bool SourceCodeArchiveUrlHasBeenSet() const { return m_sourceCodeArchiveUrlHasBeenSet; }
128 
133  inline void SetSourceCodeArchiveUrl(const Aws::String& value) { m_sourceCodeArchiveUrlHasBeenSet = true; m_sourceCodeArchiveUrl = value; }
134 
139  inline void SetSourceCodeArchiveUrl(Aws::String&& value) { m_sourceCodeArchiveUrlHasBeenSet = true; m_sourceCodeArchiveUrl = std::move(value); }
140 
145  inline void SetSourceCodeArchiveUrl(const char* value) { m_sourceCodeArchiveUrlHasBeenSet = true; m_sourceCodeArchiveUrl.assign(value); }
146 
151  inline CreateApplicationVersionRequest& WithSourceCodeArchiveUrl(const Aws::String& value) { SetSourceCodeArchiveUrl(value); return *this;}
152 
157  inline CreateApplicationVersionRequest& WithSourceCodeArchiveUrl(Aws::String&& value) { SetSourceCodeArchiveUrl(std::move(value)); return *this;}
158 
163  inline CreateApplicationVersionRequest& WithSourceCodeArchiveUrl(const char* value) { SetSourceCodeArchiveUrl(value); return *this;}
164 
165 
170  inline const Aws::String& GetSourceCodeUrl() const{ return m_sourceCodeUrl; }
171 
176  inline bool SourceCodeUrlHasBeenSet() const { return m_sourceCodeUrlHasBeenSet; }
177 
182  inline void SetSourceCodeUrl(const Aws::String& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = value; }
183 
188  inline void SetSourceCodeUrl(Aws::String&& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = std::move(value); }
189 
194  inline void SetSourceCodeUrl(const char* value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl.assign(value); }
195 
200  inline CreateApplicationVersionRequest& WithSourceCodeUrl(const Aws::String& value) { SetSourceCodeUrl(value); return *this;}
201 
206  inline CreateApplicationVersionRequest& WithSourceCodeUrl(Aws::String&& value) { SetSourceCodeUrl(std::move(value)); return *this;}
207 
212  inline CreateApplicationVersionRequest& WithSourceCodeUrl(const char* value) { SetSourceCodeUrl(value); return *this;}
213 
214 
218  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
219 
223  inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
224 
228  inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
229 
233  inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
234 
238  inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
239 
243  inline CreateApplicationVersionRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
244 
248  inline CreateApplicationVersionRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
249 
253  inline CreateApplicationVersionRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
254 
255 
259  inline const Aws::String& GetTemplateUrl() const{ return m_templateUrl; }
260 
264  inline bool TemplateUrlHasBeenSet() const { return m_templateUrlHasBeenSet; }
265 
269  inline void SetTemplateUrl(const Aws::String& value) { m_templateUrlHasBeenSet = true; m_templateUrl = value; }
270 
274  inline void SetTemplateUrl(Aws::String&& value) { m_templateUrlHasBeenSet = true; m_templateUrl = std::move(value); }
275 
279  inline void SetTemplateUrl(const char* value) { m_templateUrlHasBeenSet = true; m_templateUrl.assign(value); }
280 
284  inline CreateApplicationVersionRequest& WithTemplateUrl(const Aws::String& value) { SetTemplateUrl(value); return *this;}
285 
289  inline CreateApplicationVersionRequest& WithTemplateUrl(Aws::String&& value) { SetTemplateUrl(std::move(value)); return *this;}
290 
294  inline CreateApplicationVersionRequest& WithTemplateUrl(const char* value) { SetTemplateUrl(value); return *this;}
295 
296  private:
297 
298  Aws::String m_applicationId;
299  bool m_applicationIdHasBeenSet;
300 
301  Aws::String m_semanticVersion;
302  bool m_semanticVersionHasBeenSet;
303 
304  Aws::String m_sourceCodeArchiveUrl;
305  bool m_sourceCodeArchiveUrlHasBeenSet;
306 
307  Aws::String m_sourceCodeUrl;
308  bool m_sourceCodeUrlHasBeenSet;
309 
310  Aws::String m_templateBody;
311  bool m_templateBodyHasBeenSet;
312 
313  Aws::String m_templateUrl;
314  bool m_templateUrlHasBeenSet;
315  };
316 
317 } // namespace Model
318 } // namespace ServerlessApplicationRepository
319 } // namespace Aws
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeUrl
void SetSourceCodeUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:194
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetSemanticVersion
const Aws::String & GetSemanticVersion() const
Definition: CreateApplicationVersionRequest.h:79
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeArchiveUrl
CreateApplicationVersionRequest & WithSourceCodeArchiveUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:151
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateUrl
CreateApplicationVersionRequest & WithTemplateUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:289
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateApplicationVersionRequest.h:30
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeUrl
void SetSourceCodeUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:182
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeUrl
CreateApplicationVersionRequest & WithSourceCodeUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:206
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::TemplateUrlHasBeenSet
bool TemplateUrlHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:264
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSemanticVersion
CreateApplicationVersionRequest & WithSemanticVersion(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:109
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeArchiveUrl
void SetSourceCodeArchiveUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:145
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: CreateApplicationVersionRequest.h:38
ServerlessApplicationRepository_EXPORTS.h
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateUrl
void SetTemplateUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:279
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SourceCodeArchiveUrlHasBeenSet
bool SourceCodeArchiveUrlHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:127
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateBody
CreateApplicationVersionRequest & WithTemplateBody(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:248
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::CreateApplicationVersionRequest
CreateApplicationVersionRequest()
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetTemplateBody
const Aws::String & GetTemplateBody() const
Definition: CreateApplicationVersionRequest.h:218
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateUrl
CreateApplicationVersionRequest & WithTemplateUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:294
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateBody
CreateApplicationVersionRequest & WithTemplateBody(const char *value)
Definition: CreateApplicationVersionRequest.h:253
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateUrl
void SetTemplateUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:274
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithApplicationId
CreateApplicationVersionRequest & WithApplicationId(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:63
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeUrl
CreateApplicationVersionRequest & WithSourceCodeUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:200
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateBody
void SetTemplateBody(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:228
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSemanticVersion
void SetSemanticVersion(const char *value)
Definition: CreateApplicationVersionRequest.h:99
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeUrl
CreateApplicationVersionRequest & WithSourceCodeUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:212
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeArchiveUrl
CreateApplicationVersionRequest & WithSourceCodeArchiveUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:157
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:48
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeUrl
void SetSourceCodeUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:188
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetTemplateUrl
const Aws::String & GetTemplateUrl() const
Definition: CreateApplicationVersionRequest.h:259
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithApplicationId
CreateApplicationVersionRequest & WithApplicationId(const char *value)
Definition: CreateApplicationVersionRequest.h:73
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSourceCodeArchiveUrl
CreateApplicationVersionRequest & WithSourceCodeArchiveUrl(const char *value)
Definition: CreateApplicationVersionRequest.h:163
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSemanticVersion
CreateApplicationVersionRequest & WithSemanticVersion(const char *value)
Definition: CreateApplicationVersionRequest.h:114
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: CreateApplicationVersionRequest.h:58
AWSString.h
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetSourceCodeUrl
const Aws::String & GetSourceCodeUrl() const
Definition: CreateApplicationVersionRequest.h:170
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeArchiveUrl
void SetSourceCodeArchiveUrl(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:139
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateUrl
void SetTemplateUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:269
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::GetSourceCodeArchiveUrl
const Aws::String & GetSourceCodeArchiveUrl() const
Definition: CreateApplicationVersionRequest.h:121
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateUrl
CreateApplicationVersionRequest & WithTemplateUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:284
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:53
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::TemplateBodyHasBeenSet
bool TemplateBodyHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:223
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithSemanticVersion
CreateApplicationVersionRequest & WithSemanticVersion(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:104
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateBody
void SetTemplateBody(const char *value)
Definition: CreateApplicationVersionRequest.h:238
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithTemplateBody
CreateApplicationVersionRequest & WithTemplateBody(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:243
Aws::ServerlessApplicationRepository::ServerlessApplicationRepositoryRequest
Definition: ServerlessApplicationRepositoryRequest.h:17
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SourceCodeUrlHasBeenSet
bool SourceCodeUrlHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:176
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServerlessApplicationRepositoryRequest.h
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSourceCodeArchiveUrl
void SetSourceCodeArchiveUrl(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:133
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SemanticVersionHasBeenSet
bool SemanticVersionHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:84
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: CreateApplicationVersionRequest.h:43
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest
Definition: CreateApplicationVersionRequest.h:22
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::WithApplicationId
CreateApplicationVersionRequest & WithApplicationId(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:68
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSemanticVersion
void SetSemanticVersion(const Aws::String &value)
Definition: CreateApplicationVersionRequest.h:89
AWS_SERVERLESSAPPLICATIONREPOSITORY_API
#define AWS_SERVERLESSAPPLICATIONREPOSITORY_API
Definition: ServerlessApplicationRepository_EXPORTS.h:28
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetTemplateBody
void SetTemplateBody(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:233
Aws::ServerlessApplicationRepository::Model::CreateApplicationVersionRequest::SetSemanticVersion
void SetSemanticVersion(Aws::String &&value)
Definition: CreateApplicationVersionRequest.h:94