7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/CacheClusterSize.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigateway/model/DeploymentCanarySettings.h>
48 template<
typename RestApiIdT = Aws::String>
49 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
50 template<
typename RestApiIdT = Aws::String>
60 template<
typename StageNameT = Aws::String>
61 void SetStageName(StageNameT&& value) { m_stageNameHasBeenSet =
true; m_stageName = std::forward<StageNameT>(value); }
62 template<
typename StageNameT = Aws::String>
73 template<
typename StageDescriptionT = Aws::String>
74 void SetStageDescription(StageDescriptionT&& value) { m_stageDescriptionHasBeenSet =
true; m_stageDescription = std::forward<StageDescriptionT>(value); }
75 template<
typename StageDescriptionT = Aws::String>
85 template<
typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
87 template<
typename DescriptionT = Aws::String>
97 inline void SetCacheClusterEnabled(
bool value) { m_cacheClusterEnabledHasBeenSet =
true; m_cacheClusterEnabled = value; }
123 template<
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
124 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet =
true; m_variables = std::forward<VariablesT>(value); }
125 template<
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
127 template<
typename VariablesKeyT = Aws::String,
typename VariablesValueT = Aws::String>
129 m_variablesHasBeenSet =
true; m_variables.emplace(std::forward<VariablesKeyT>(key), std::forward<VariablesValueT>(value));
return *
this;
140 template<
typename CanarySettingsT = DeploymentCanarySettings>
141 void SetCanarySettings(CanarySettingsT&& value) { m_canarySettingsHasBeenSet =
true; m_canarySettings = std::forward<CanarySettingsT>(value); }
142 template<
typename CanarySettingsT = DeploymentCanarySettings>
152 inline void SetTracingEnabled(
bool value) { m_tracingEnabledHasBeenSet =
true; m_tracingEnabled = value; }
158 bool m_restApiIdHasBeenSet =
false;
161 bool m_stageNameHasBeenSet =
false;
164 bool m_stageDescriptionHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
169 bool m_cacheClusterEnabled{
false};
170 bool m_cacheClusterEnabledHasBeenSet =
false;
173 bool m_cacheClusterSizeHasBeenSet =
false;
176 bool m_variablesHasBeenSet =
false;
178 DeploymentCanarySettings m_canarySettings;
179 bool m_canarySettingsHasBeenSet =
false;
181 bool m_tracingEnabled{
false};
182 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