AWS SDK for C++  1.9.40
AWS SDK for C++
StartDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AppConfig
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "StartDeployment"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
40 
44  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
45 
49  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 
54  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
55 
59  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
60 
64  inline StartDeploymentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
65 
69  inline StartDeploymentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
70 
74  inline StartDeploymentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
75 
76 
80  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
81 
85  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
86 
90  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
91 
95  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
96 
100  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
101 
105  inline StartDeploymentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
106 
110  inline StartDeploymentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
111 
115  inline StartDeploymentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
116 
117 
121  inline const Aws::String& GetDeploymentStrategyId() const{ return m_deploymentStrategyId; }
122 
126  inline bool DeploymentStrategyIdHasBeenSet() const { return m_deploymentStrategyIdHasBeenSet; }
127 
131  inline void SetDeploymentStrategyId(const Aws::String& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = value; }
132 
136  inline void SetDeploymentStrategyId(Aws::String&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::move(value); }
137 
141  inline void SetDeploymentStrategyId(const char* value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId.assign(value); }
142 
146  inline StartDeploymentRequest& WithDeploymentStrategyId(const Aws::String& value) { SetDeploymentStrategyId(value); return *this;}
147 
151  inline StartDeploymentRequest& WithDeploymentStrategyId(Aws::String&& value) { SetDeploymentStrategyId(std::move(value)); return *this;}
152 
156  inline StartDeploymentRequest& WithDeploymentStrategyId(const char* value) { SetDeploymentStrategyId(value); return *this;}
157 
158 
162  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
163 
167  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
168 
172  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
173 
177  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
178 
182  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
183 
187  inline StartDeploymentRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
188 
192  inline StartDeploymentRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
193 
197  inline StartDeploymentRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
198 
199 
203  inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; }
204 
208  inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
209 
213  inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = value; }
214 
218  inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::move(value); }
219 
223  inline void SetConfigurationVersion(const char* value) { m_configurationVersionHasBeenSet = true; m_configurationVersion.assign(value); }
224 
228  inline StartDeploymentRequest& WithConfigurationVersion(const Aws::String& value) { SetConfigurationVersion(value); return *this;}
229 
233  inline StartDeploymentRequest& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;}
234 
238  inline StartDeploymentRequest& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;}
239 
240 
244  inline const Aws::String& GetDescription() const{ return m_description; }
245 
249  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
250 
254  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
255 
259  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
260 
264  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
265 
269  inline StartDeploymentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
270 
274  inline StartDeploymentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
275 
279  inline StartDeploymentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
280 
281 
287  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
288 
294  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
295 
301  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
302 
308  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
309 
315  inline StartDeploymentRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
316 
322  inline StartDeploymentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
323 
329  inline StartDeploymentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
330 
336  inline StartDeploymentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
337 
343  inline StartDeploymentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
344 
350  inline StartDeploymentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
351 
357  inline StartDeploymentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
358 
364  inline StartDeploymentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
365 
371  inline StartDeploymentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
372 
373  private:
374 
375  Aws::String m_applicationId;
376  bool m_applicationIdHasBeenSet;
377 
378  Aws::String m_environmentId;
379  bool m_environmentIdHasBeenSet;
380 
381  Aws::String m_deploymentStrategyId;
382  bool m_deploymentStrategyIdHasBeenSet;
383 
384  Aws::String m_configurationProfileId;
385  bool m_configurationProfileIdHasBeenSet;
386 
387  Aws::String m_configurationVersion;
388  bool m_configurationVersionHasBeenSet;
389 
390  Aws::String m_description;
391  bool m_descriptionHasBeenSet;
392 
394  bool m_tagsHasBeenSet;
395  };
396 
397 } // namespace Model
398 } // namespace AppConfig
399 } // namespace Aws
Aws::AppConfig::Model::StartDeploymentRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartDeploymentRequest.h:301
Aws::AppConfig::Model::StartDeploymentRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: StartDeploymentRequest.h:44
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: StartDeploymentRequest.h:177
Aws::AppConfig::Model::StartDeploymentRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: StartDeploymentRequest.h:249
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: StartDeploymentRequest.h:329
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: StartDeploymentRequest.h:350
Aws::AppConfig::Model::StartDeploymentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDeploymentRequest.h:31
Aws::AppConfig::Model::StartDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: StartDeploymentRequest.h:90
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationProfileId
StartDeploymentRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: StartDeploymentRequest.h:187
Aws::AppConfig::Model::StartDeploymentRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(const Aws::String &value)
Definition: StartDeploymentRequest.h:131
Aws::AppConfig::Model::StartDeploymentRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: StartDeploymentRequest.h:85
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationVersion
void SetConfigurationVersion(Aws::String &&value)
Definition: StartDeploymentRequest.h:218
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(Aws::String &&key, const char *value)
Definition: StartDeploymentRequest.h:364
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: StartDeploymentRequest.h:336
Aws::AppConfig::Model::StartDeploymentRequest::StartDeploymentRequest
StartDeploymentRequest()
Aws::AppConfig::Model::StartDeploymentRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: StartDeploymentRequest.h:54
Aws::AppConfig::Model::StartDeploymentRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartDeploymentRequest.h:308
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationVersion
void SetConfigurationVersion(const Aws::String &value)
Definition: StartDeploymentRequest.h:213
Aws::AppConfig::Model::StartDeploymentRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: StartDeploymentRequest.h:39
Aws::AppConfig::Model::StartDeploymentRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: StartDeploymentRequest.h:287
Aws::AppConfig::Model::StartDeploymentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::StartDeploymentRequest::GetDescription
const Aws::String & GetDescription() const
Definition: StartDeploymentRequest.h:244
AppConfig_EXPORTS.h
Aws::AppConfig::Model::StartDeploymentRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StartDeploymentRequest.h:294
Aws::AppConfig::Model::StartDeploymentRequest::WithDeploymentStrategyId
StartDeploymentRequest & WithDeploymentStrategyId(Aws::String &&value)
Definition: StartDeploymentRequest.h:151
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationVersion
StartDeploymentRequest & WithConfigurationVersion(const char *value)
Definition: StartDeploymentRequest.h:238
Aws::AppConfig::Model::StartDeploymentRequest::SetDescription
void SetDescription(const char *value)
Definition: StartDeploymentRequest.h:264
Aws::AppConfig::Model::StartDeploymentRequest::WithEnvironmentId
StartDeploymentRequest & WithEnvironmentId(Aws::String &&value)
Definition: StartDeploymentRequest.h:110
Aws::AppConfig::Model::StartDeploymentRequest::WithEnvironmentId
StartDeploymentRequest & WithEnvironmentId(const Aws::String &value)
Definition: StartDeploymentRequest.h:105
Aws::AppConfig::Model::StartDeploymentRequest::WithTags
StartDeploymentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartDeploymentRequest.h:315
Aws::AppConfig::Model::StartDeploymentRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: StartDeploymentRequest.h:59
Aws::AppConfig::Model::StartDeploymentRequest::WithApplicationId
StartDeploymentRequest & WithApplicationId(const Aws::String &value)
Definition: StartDeploymentRequest.h:64
AppConfigRequest.h
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationVersion
void SetConfigurationVersion(const char *value)
Definition: StartDeploymentRequest.h:223
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: StartDeploymentRequest.h:343
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(const char *key, Aws::String &&value)
Definition: StartDeploymentRequest.h:357
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationVersion
StartDeploymentRequest & WithConfigurationVersion(const Aws::String &value)
Definition: StartDeploymentRequest.h:228
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::StartDeploymentRequest::WithDeploymentStrategyId
StartDeploymentRequest & WithDeploymentStrategyId(const Aws::String &value)
Definition: StartDeploymentRequest.h:146
Aws::AppConfig::Model::StartDeploymentRequest::DeploymentStrategyIdHasBeenSet
bool DeploymentStrategyIdHasBeenSet() const
Definition: StartDeploymentRequest.h:126
Aws::AppConfig::Model::StartDeploymentRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: StartDeploymentRequest.h:254
AWSString.h
Aws::AppConfig::Model::StartDeploymentRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: StartDeploymentRequest.h:162
Aws::AppConfig::Model::StartDeploymentRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: StartDeploymentRequest.h:259
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: StartDeploymentRequest.h:182
Aws::AppConfig::Model::StartDeploymentRequest::WithApplicationId
StartDeploymentRequest & WithApplicationId(const char *value)
Definition: StartDeploymentRequest.h:74
Aws::AppConfig::Model::StartDeploymentRequest::WithTags
StartDeploymentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartDeploymentRequest.h:322
Aws::AppConfig::Model::StartDeploymentRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(const char *value)
Definition: StartDeploymentRequest.h:141
Aws::AppConfig::Model::StartDeploymentRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: StartDeploymentRequest.h:167
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationProfileId
StartDeploymentRequest & WithConfigurationProfileId(const char *value)
Definition: StartDeploymentRequest.h:197
Aws::AppConfig::Model::StartDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: StartDeploymentRequest.h:100
Aws::AppConfig::Model::StartDeploymentRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: StartDeploymentRequest.h:49
Aws::AppConfig::Model::StartDeploymentRequest::GetDeploymentStrategyId
const Aws::String & GetDeploymentStrategyId() const
Definition: StartDeploymentRequest.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::StartDeploymentRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(Aws::String &&value)
Definition: StartDeploymentRequest.h:136
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationProfileId
StartDeploymentRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: StartDeploymentRequest.h:192
Aws::AppConfig::Model::StartDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: StartDeploymentRequest.h:95
Aws::AppConfig::Model::StartDeploymentRequest::AddTags
StartDeploymentRequest & AddTags(const char *key, const char *value)
Definition: StartDeploymentRequest.h:371
Aws::AppConfig::Model::StartDeploymentRequest::WithEnvironmentId
StartDeploymentRequest & WithEnvironmentId(const char *value)
Definition: StartDeploymentRequest.h:115
Aws::AppConfig::Model::StartDeploymentRequest::WithConfigurationVersion
StartDeploymentRequest & WithConfigurationVersion(Aws::String &&value)
Definition: StartDeploymentRequest.h:233
Aws::AppConfig::Model::StartDeploymentRequest::GetConfigurationVersion
const Aws::String & GetConfigurationVersion() const
Definition: StartDeploymentRequest.h:203
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppConfig::Model::StartDeploymentRequest::WithDescription
StartDeploymentRequest & WithDescription(Aws::String &&value)
Definition: StartDeploymentRequest.h:274
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::StartDeploymentRequest::WithApplicationId
StartDeploymentRequest & WithApplicationId(Aws::String &&value)
Definition: StartDeploymentRequest.h:69
Aws::AppConfig::Model::StartDeploymentRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: StartDeploymentRequest.h:172
Aws::AppConfig::Model::StartDeploymentRequest::WithDescription
StartDeploymentRequest & WithDescription(const char *value)
Definition: StartDeploymentRequest.h:279
AWSMap.h
Aws::AppConfig::Model::StartDeploymentRequest::WithDescription
StartDeploymentRequest & WithDescription(const Aws::String &value)
Definition: StartDeploymentRequest.h:269
Aws::AppConfig::Model::StartDeploymentRequest
Definition: StartDeploymentRequest.h:23
Aws::AppConfig::Model::StartDeploymentRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: StartDeploymentRequest.h:80
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AppConfig::Model::StartDeploymentRequest::WithDeploymentStrategyId
StartDeploymentRequest & WithDeploymentStrategyId(const char *value)
Definition: StartDeploymentRequest.h:156
Aws::AppConfig::Model::StartDeploymentRequest::ConfigurationVersionHasBeenSet
bool ConfigurationVersionHasBeenSet() const
Definition: StartDeploymentRequest.h:208