7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/CacheClusterSize.h>
10#include <aws/apigateway/model/DeploymentCanarySettings.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename RestApiIdT = Aws::String>
46 m_restApiIdHasBeenSet =
true;
47 m_restApiId = std::forward<RestApiIdT>(value);
49 template <
typename RestApiIdT = Aws::String>
62 template <
typename StageNameT = Aws::String>
64 m_stageNameHasBeenSet =
true;
65 m_stageName = std::forward<StageNameT>(value);
67 template <
typename StageNameT = Aws::String>
81 template <
typename StageDescriptionT = Aws::String>
83 m_stageDescriptionHasBeenSet =
true;
84 m_stageDescription = std::forward<StageDescriptionT>(value);
86 template <
typename StageDescriptionT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
118 m_cacheClusterEnabledHasBeenSet =
true;
119 m_cacheClusterEnabled = value;
137 m_cacheClusterSizeHasBeenSet =
true;
138 m_cacheClusterSize = value;
155 template <
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
157 m_variablesHasBeenSet =
true;
158 m_variables = std::forward<VariablesT>(value);
160 template <
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
165 template <
typename VariablesKeyT = Aws::String,
typename VariablesValueT = Aws::String>
167 m_variablesHasBeenSet =
true;
168 m_variables.emplace(std::forward<VariablesKeyT>(key), std::forward<VariablesValueT>(value));
180 template <
typename CanarySettingsT = DeploymentCanarySettings>
182 m_canarySettingsHasBeenSet =
true;
183 m_canarySettings = std::forward<CanarySettingsT>(value);
185 template <
typename CanarySettingsT = DeploymentCanarySettings>
199 m_tracingEnabledHasBeenSet =
true;
200 m_tracingEnabled = value;
216 bool m_cacheClusterEnabled{
false};
222 DeploymentCanarySettings m_canarySettings;
224 bool m_tracingEnabled{
false};
225 bool m_restApiIdHasBeenSet =
false;
226 bool m_stageNameHasBeenSet =
false;
227 bool m_stageDescriptionHasBeenSet =
false;
228 bool m_descriptionHasBeenSet =
false;
229 bool m_cacheClusterEnabledHasBeenSet =
false;
230 bool m_cacheClusterSizeHasBeenSet =
false;
231 bool m_variablesHasBeenSet =
false;
232 bool m_canarySettingsHasBeenSet =
false;
233 bool m_tracingEnabledHasBeenSet =
false;
CacheClusterSize GetCacheClusterSize() const
CreateDeploymentRequest & AddVariables(VariablesKeyT &&key, VariablesValueT &&value)
bool TracingEnabledHasBeenSet() const
bool StageDescriptionHasBeenSet() const
void SetStageName(StageNameT &&value)
bool RestApiIdHasBeenSet() const
void SetCanarySettings(CanarySettingsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetVariables() const
void SetCacheClusterEnabled(bool value)
CreateDeploymentRequest & WithCacheClusterSize(CacheClusterSize value)
CreateDeploymentRequest & WithRestApiId(RestApiIdT &&value)
void SetCacheClusterSize(CacheClusterSize value)
CreateDeploymentRequest & WithCacheClusterEnabled(bool value)
CreateDeploymentRequest & WithStageDescription(StageDescriptionT &&value)
bool StageNameHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
bool GetTracingEnabled() const
CreateDeploymentRequest & WithStageName(StageNameT &&value)
void SetDescription(DescriptionT &&value)
CreateDeploymentRequest & WithCanarySettings(CanarySettingsT &&value)
bool CanarySettingsHasBeenSet() const
void SetStageDescription(StageDescriptionT &&value)
bool CacheClusterEnabledHasBeenSet() const
void SetTracingEnabled(bool value)
const DeploymentCanarySettings & GetCanarySettings() const
AWS_APIGATEWAY_API CreateDeploymentRequest()=default
bool VariablesHasBeenSet() const
CreateDeploymentRequest & WithTracingEnabled(bool value)
bool CacheClusterSizeHasBeenSet() const
void SetRestApiId(RestApiIdT &&value)
void SetVariables(VariablesT &&value)
CreateDeploymentRequest & WithVariables(VariablesT &&value)
const Aws::String & GetStageName() const
const Aws::String & GetDescription() const
const Aws::String & GetStageDescription() const
bool GetCacheClusterEnabled() const
const Aws::String & GetRestApiId() const
bool DescriptionHasBeenSet() const
CreateDeploymentRequest & WithDescription(DescriptionT &&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