AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDeploymentRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPCONFIG_API StartDeploymentRequest();
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_APPCONFIG_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline StartDeploymentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline StartDeploymentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline StartDeploymentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
55 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
56 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
57 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
58 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
59 inline StartDeploymentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
60 inline StartDeploymentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
61 inline StartDeploymentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
63
65
68 inline const Aws::String& GetDeploymentStrategyId() const{ return m_deploymentStrategyId; }
69 inline bool DeploymentStrategyIdHasBeenSet() const { return m_deploymentStrategyIdHasBeenSet; }
70 inline void SetDeploymentStrategyId(const Aws::String& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = value; }
71 inline void SetDeploymentStrategyId(Aws::String&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::move(value); }
72 inline void SetDeploymentStrategyId(const char* value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId.assign(value); }
74 inline StartDeploymentRequest& WithDeploymentStrategyId(Aws::String&& value) { SetDeploymentStrategyId(std::move(value)); return *this;}
75 inline StartDeploymentRequest& WithDeploymentStrategyId(const char* value) { SetDeploymentStrategyId(value); return *this;}
77
79
82 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
83 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
84 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
85 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
86 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
89 inline StartDeploymentRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
91
93
98 inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; }
99 inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
100 inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = value; }
101 inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::move(value); }
102 inline void SetConfigurationVersion(const char* value) { m_configurationVersionHasBeenSet = true; m_configurationVersion.assign(value); }
104 inline StartDeploymentRequest& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;}
105 inline StartDeploymentRequest& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;}
107
109
112 inline const Aws::String& GetDescription() const{ return m_description; }
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
115 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
116 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
117 inline StartDeploymentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
118 inline StartDeploymentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 inline StartDeploymentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
121
123
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline StartDeploymentRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
133 inline StartDeploymentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline StartDeploymentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 inline StartDeploymentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline StartDeploymentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
137 inline StartDeploymentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline StartDeploymentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline StartDeploymentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline StartDeploymentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142
144
148 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
149 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
150 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
151 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
152 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
153 inline StartDeploymentRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
154 inline StartDeploymentRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
155 inline StartDeploymentRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
157
159
163 inline const Aws::Map<Aws::String, Aws::String>& GetDynamicExtensionParameters() const{ return m_dynamicExtensionParameters; }
164 inline bool DynamicExtensionParametersHasBeenSet() const { return m_dynamicExtensionParametersHasBeenSet; }
165 inline void SetDynamicExtensionParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters = value; }
166 inline void SetDynamicExtensionParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters = std::move(value); }
169 inline StartDeploymentRequest& AddDynamicExtensionParameters(const Aws::String& key, const Aws::String& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(key, value); return *this; }
170 inline StartDeploymentRequest& AddDynamicExtensionParameters(Aws::String&& key, const Aws::String& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(std::move(key), value); return *this; }
171 inline StartDeploymentRequest& AddDynamicExtensionParameters(const Aws::String& key, Aws::String&& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(key, std::move(value)); return *this; }
172 inline StartDeploymentRequest& AddDynamicExtensionParameters(Aws::String&& key, Aws::String&& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(std::move(key), std::move(value)); return *this; }
173 inline StartDeploymentRequest& AddDynamicExtensionParameters(const char* key, Aws::String&& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(key, std::move(value)); return *this; }
174 inline StartDeploymentRequest& AddDynamicExtensionParameters(Aws::String&& key, const char* value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(std::move(key), value); return *this; }
175 inline StartDeploymentRequest& AddDynamicExtensionParameters(const char* key, const char* value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(key, value); return *this; }
177 private:
178
179 Aws::String m_applicationId;
180 bool m_applicationIdHasBeenSet = false;
181
182 Aws::String m_environmentId;
183 bool m_environmentIdHasBeenSet = false;
184
185 Aws::String m_deploymentStrategyId;
186 bool m_deploymentStrategyIdHasBeenSet = false;
187
188 Aws::String m_configurationProfileId;
189 bool m_configurationProfileIdHasBeenSet = false;
190
191 Aws::String m_configurationVersion;
192 bool m_configurationVersionHasBeenSet = false;
193
194 Aws::String m_description;
195 bool m_descriptionHasBeenSet = false;
196
198 bool m_tagsHasBeenSet = false;
199
200 Aws::String m_kmsKeyIdentifier;
201 bool m_kmsKeyIdentifierHasBeenSet = false;
202
203 Aws::Map<Aws::String, Aws::String> m_dynamicExtensionParameters;
204 bool m_dynamicExtensionParametersHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace AppConfig
209} // namespace Aws
StartDeploymentRequest & WithConfigurationVersion(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartDeploymentRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartDeploymentRequest & WithEnvironmentId(const char *value)
StartDeploymentRequest & WithDescription(const char *value)
StartDeploymentRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartDeploymentRequest & AddDynamicExtensionParameters(const Aws::String &key, Aws::String &&value)
StartDeploymentRequest & WithApplicationId(const char *value)
StartDeploymentRequest & WithKmsKeyIdentifier(const Aws::String &value)
StartDeploymentRequest & AddDynamicExtensionParameters(const Aws::String &key, const Aws::String &value)
StartDeploymentRequest & WithConfigurationProfileId(Aws::String &&value)
StartDeploymentRequest & AddTags(Aws::String &&key, const char *value)
StartDeploymentRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartDeploymentRequest & WithKmsKeyIdentifier(const char *value)
StartDeploymentRequest & WithDynamicExtensionParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetDynamicExtensionParameters() const
StartDeploymentRequest & WithDeploymentStrategyId(Aws::String &&value)
StartDeploymentRequest & WithDescription(Aws::String &&value)
StartDeploymentRequest & WithDynamicExtensionParameters(const Aws::Map< Aws::String, Aws::String > &value)
StartDeploymentRequest & AddDynamicExtensionParameters(const char *key, Aws::String &&value)
void SetDeploymentStrategyId(const Aws::String &value)
StartDeploymentRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDynamicExtensionParameters(Aws::Map< Aws::String, Aws::String > &&value)
StartDeploymentRequest & WithDeploymentStrategyId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartDeploymentRequest & WithConfigurationVersion(Aws::String &&value)
StartDeploymentRequest & WithKmsKeyIdentifier(Aws::String &&value)
StartDeploymentRequest & WithConfigurationProfileId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartDeploymentRequest & WithEnvironmentId(const Aws::String &value)
StartDeploymentRequest & WithConfigurationProfileId(const char *value)
StartDeploymentRequest & WithApplicationId(Aws::String &&value)
StartDeploymentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartDeploymentRequest & AddTags(const char *key, Aws::String &&value)
StartDeploymentRequest & WithDescription(const Aws::String &value)
StartDeploymentRequest & AddDynamicExtensionParameters(const char *key, const char *value)
StartDeploymentRequest & WithDeploymentStrategyId(const char *value)
StartDeploymentRequest & WithConfigurationVersion(const char *value)
StartDeploymentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartDeploymentRequest & AddDynamicExtensionParameters(Aws::String &&key, Aws::String &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetConfigurationProfileId(const Aws::String &value)
StartDeploymentRequest & WithApplicationId(const Aws::String &value)
void SetDynamicExtensionParameters(const Aws::Map< Aws::String, Aws::String > &value)
StartDeploymentRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartDeploymentRequest & AddDynamicExtensionParameters(Aws::String &&key, const char *value)
StartDeploymentRequest & WithEnvironmentId(Aws::String &&value)
StartDeploymentRequest & AddDynamicExtensionParameters(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String