7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPercentTraffic(
double value) { m_percentTrafficHasBeenSet =
true; m_percentTraffic = value; }
81 inline void SetUseStageCache(
bool value) { m_useStageCacheHasBeenSet =
true; m_useStageCache = value; }
86 double m_percentTraffic;
87 bool m_percentTrafficHasBeenSet =
false;
90 bool m_stageVariableOverridesHasBeenSet =
false;
93 bool m_useStageCacheHasBeenSet =
false;
DeploymentCanarySettings & AddStageVariableOverrides(const char *key, Aws::String &&value)
void SetUseStageCache(bool value)
DeploymentCanarySettings & AddStageVariableOverrides(const char *key, const char *value)
AWS_APIGATEWAY_API DeploymentCanarySettings()
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool PercentTrafficHasBeenSet() const
bool GetUseStageCache() const
DeploymentCanarySettings & WithStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
DeploymentCanarySettings & WithStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
void SetPercentTraffic(double value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariableOverrides() const
AWS_APIGATEWAY_API DeploymentCanarySettings(Aws::Utils::Json::JsonView jsonValue)
void SetStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
DeploymentCanarySettings & AddStageVariableOverrides(Aws::String &&key, Aws::String &&value)
DeploymentCanarySettings & AddStageVariableOverrides(const Aws::String &key, Aws::String &&value)
DeploymentCanarySettings & AddStageVariableOverrides(Aws::String &&key, const Aws::String &value)
double GetPercentTraffic() const
DeploymentCanarySettings & WithUseStageCache(bool value)
void SetStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
bool StageVariableOverridesHasBeenSet() const
AWS_APIGATEWAY_API DeploymentCanarySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentCanarySettings & AddStageVariableOverrides(Aws::String &&key, const char *value)
bool UseStageCacheHasBeenSet() const
DeploymentCanarySettings & WithPercentTraffic(double value)
DeploymentCanarySettings & AddStageVariableOverrides(const 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
Aws::Utils::Json::JsonValue JsonValue