AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 StartDeploymentRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
53 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
54 template<typename EnvironmentIdT = Aws::String>
55 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
56 template<typename EnvironmentIdT = Aws::String>
57 StartDeploymentRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDeploymentStrategyId() const { return m_deploymentStrategyId; }
65 inline bool DeploymentStrategyIdHasBeenSet() const { return m_deploymentStrategyIdHasBeenSet; }
66 template<typename DeploymentStrategyIdT = Aws::String>
67 void SetDeploymentStrategyId(DeploymentStrategyIdT&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::forward<DeploymentStrategyIdT>(value); }
68 template<typename DeploymentStrategyIdT = Aws::String>
69 StartDeploymentRequest& WithDeploymentStrategyId(DeploymentStrategyIdT&& value) { SetDeploymentStrategyId(std::forward<DeploymentStrategyIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
77 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
78 template<typename ConfigurationProfileIdT = Aws::String>
79 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value); }
80 template<typename ConfigurationProfileIdT = Aws::String>
81 StartDeploymentRequest& WithConfigurationProfileId(ConfigurationProfileIdT&& value) { SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value)); return *this;}
83
85
90 inline const Aws::String& GetConfigurationVersion() const { return m_configurationVersion; }
91 inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
92 template<typename ConfigurationVersionT = Aws::String>
93 void SetConfigurationVersion(ConfigurationVersionT&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::forward<ConfigurationVersionT>(value); }
94 template<typename ConfigurationVersionT = Aws::String>
95 StartDeploymentRequest& WithConfigurationVersion(ConfigurationVersionT&& value) { SetConfigurationVersion(std::forward<ConfigurationVersionT>(value)); return *this;}
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 template<typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
106 template<typename DescriptionT = Aws::String>
107 StartDeploymentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
109
111
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
120 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 StartDeploymentRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
122 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
123 StartDeploymentRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
124 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
125 }
127
129
133 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
134 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
135 template<typename KmsKeyIdentifierT = Aws::String>
136 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
137 template<typename KmsKeyIdentifierT = Aws::String>
138 StartDeploymentRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
140
142
146 inline const Aws::Map<Aws::String, Aws::String>& GetDynamicExtensionParameters() const { return m_dynamicExtensionParameters; }
147 inline bool DynamicExtensionParametersHasBeenSet() const { return m_dynamicExtensionParametersHasBeenSet; }
148 template<typename DynamicExtensionParametersT = Aws::Map<Aws::String, Aws::String>>
149 void SetDynamicExtensionParameters(DynamicExtensionParametersT&& value) { m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters = std::forward<DynamicExtensionParametersT>(value); }
150 template<typename DynamicExtensionParametersT = Aws::Map<Aws::String, Aws::String>>
151 StartDeploymentRequest& WithDynamicExtensionParameters(DynamicExtensionParametersT&& value) { SetDynamicExtensionParameters(std::forward<DynamicExtensionParametersT>(value)); return *this;}
152 template<typename DynamicExtensionParametersKeyT = Aws::String, typename DynamicExtensionParametersValueT = Aws::String>
153 StartDeploymentRequest& AddDynamicExtensionParameters(DynamicExtensionParametersKeyT&& key, DynamicExtensionParametersValueT&& value) {
154 m_dynamicExtensionParametersHasBeenSet = true; m_dynamicExtensionParameters.emplace(std::forward<DynamicExtensionParametersKeyT>(key), std::forward<DynamicExtensionParametersValueT>(value)); return *this;
155 }
157 private:
158
159 Aws::String m_applicationId;
160 bool m_applicationIdHasBeenSet = false;
161
162 Aws::String m_environmentId;
163 bool m_environmentIdHasBeenSet = false;
164
165 Aws::String m_deploymentStrategyId;
166 bool m_deploymentStrategyIdHasBeenSet = false;
167
168 Aws::String m_configurationProfileId;
169 bool m_configurationProfileIdHasBeenSet = false;
170
171 Aws::String m_configurationVersion;
172 bool m_configurationVersionHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
178 bool m_tagsHasBeenSet = false;
179
180 Aws::String m_kmsKeyIdentifier;
181 bool m_kmsKeyIdentifierHasBeenSet = false;
182
183 Aws::Map<Aws::String, Aws::String> m_dynamicExtensionParameters;
184 bool m_dynamicExtensionParametersHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace AppConfig
189} // namespace Aws
StartDeploymentRequest & WithDynamicExtensionParameters(DynamicExtensionParametersT &&value)
AWS_APPCONFIG_API StartDeploymentRequest()=default
StartDeploymentRequest & WithConfigurationVersion(ConfigurationVersionT &&value)
StartDeploymentRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
StartDeploymentRequest & WithApplicationId(ApplicationIdT &&value)
void SetConfigurationVersion(ConfigurationVersionT &&value)
StartDeploymentRequest & WithDeploymentStrategyId(DeploymentStrategyIdT &&value)
void SetDeploymentStrategyId(DeploymentStrategyIdT &&value)
StartDeploymentRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDynamicExtensionParameters() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDynamicExtensionParameters(DynamicExtensionParametersT &&value)
StartDeploymentRequest & AddDynamicExtensionParameters(DynamicExtensionParametersKeyT &&key, DynamicExtensionParametersValueT &&value)
virtual const char * GetServiceRequestName() const override
StartDeploymentRequest & WithEnvironmentId(EnvironmentIdT &&value)
StartDeploymentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartDeploymentRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
StartDeploymentRequest & WithTags(TagsT &&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