7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
47 inline void SetPercentTraffic(
double value) { m_percentTrafficHasBeenSet =
true; m_percentTraffic = value; }
59 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
93 inline void SetUseStageCache(
bool value) { m_useStageCacheHasBeenSet =
true; m_useStageCache = value; }
98 double m_percentTraffic;
99 bool m_percentTrafficHasBeenSet =
false;
102 bool m_deploymentIdHasBeenSet =
false;
105 bool m_stageVariableOverridesHasBeenSet =
false;
107 bool m_useStageCache;
108 bool m_useStageCacheHasBeenSet =
false;
CanarySettings & WithDeploymentId(const char *value)
CanarySettings & AddStageVariableOverrides(const char *key, Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
CanarySettings & WithStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
CanarySettings & WithDeploymentId(const Aws::String &value)
bool StageVariableOverridesHasBeenSet() const
CanarySettings & WithUseStageCache(bool value)
bool PercentTrafficHasBeenSet() const
AWS_APIGATEWAY_API CanarySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CanarySettings & AddStageVariableOverrides(Aws::String &&key, Aws::String &&value)
void SetDeploymentId(Aws::String &&value)
void SetStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
bool UseStageCacheHasBeenSet() const
bool GetUseStageCache() const
CanarySettings & AddStageVariableOverrides(const Aws::String &key, Aws::String &&value)
CanarySettings & AddStageVariableOverrides(Aws::String &&key, const char *value)
CanarySettings & WithStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
void SetStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariableOverrides() const
const Aws::String & GetDeploymentId() const
void SetPercentTraffic(double value)
CanarySettings & AddStageVariableOverrides(const Aws::String &key, const Aws::String &value)
CanarySettings & AddStageVariableOverrides(const char *key, const char *value)
AWS_APIGATEWAY_API CanarySettings()
double GetPercentTraffic() const
CanarySettings & WithDeploymentId(Aws::String &&value)
CanarySettings & WithPercentTraffic(double value)
void SetDeploymentId(const char *value)
bool DeploymentIdHasBeenSet() const
AWS_APIGATEWAY_API CanarySettings(Aws::Utils::Json::JsonView jsonValue)
CanarySettings & AddStageVariableOverrides(Aws::String &&key, const Aws::String &value)
void SetDeploymentId(const Aws::String &value)
void SetUseStageCache(bool 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