7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
48 inline void SetPercentTraffic(
double value) { m_percentTrafficHasBeenSet =
true; m_percentTraffic = value; }
60 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
94 inline void SetUseStageCache(
bool value) { m_useStageCacheHasBeenSet =
true; m_useStageCache = value; }
99 double m_percentTraffic;
100 bool m_percentTrafficHasBeenSet =
false;
103 bool m_deploymentIdHasBeenSet =
false;
106 bool m_stageVariableOverridesHasBeenSet =
false;
108 bool m_useStageCache;
109 bool m_useStageCacheHasBeenSet =
false;
AwsApiGatewayCanarySettings & AddStageVariableOverrides(const Aws::String &key, const Aws::String &value)
AwsApiGatewayCanarySettings & WithStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
AwsApiGatewayCanarySettings & AddStageVariableOverrides(const Aws::String &key, Aws::String &&value)
void SetDeploymentId(const char *value)
void SetDeploymentId(Aws::String &&value)
AwsApiGatewayCanarySettings & WithDeploymentId(Aws::String &&value)
const Aws::String & GetDeploymentId() const
AwsApiGatewayCanarySettings & AddStageVariableOverrides(const char *key, Aws::String &&value)
void SetDeploymentId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariableOverrides() const
AwsApiGatewayCanarySettings & WithDeploymentId(const char *value)
AWS_SECURITYHUB_API AwsApiGatewayCanarySettings()
void SetUseStageCache(bool value)
double GetPercentTraffic() const
AwsApiGatewayCanarySettings & AddStageVariableOverrides(Aws::String &&key, Aws::String &&value)
AwsApiGatewayCanarySettings & WithPercentTraffic(double value)
void SetStageVariableOverrides(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SECURITYHUB_API AwsApiGatewayCanarySettings(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayCanarySettings & AddStageVariableOverrides(const char *key, const char *value)
AwsApiGatewayCanarySettings & WithStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
AwsApiGatewayCanarySettings & WithDeploymentId(const Aws::String &value)
AwsApiGatewayCanarySettings & WithUseStageCache(bool value)
AwsApiGatewayCanarySettings & AddStageVariableOverrides(Aws::String &&key, const char *value)
bool DeploymentIdHasBeenSet() const
bool UseStageCacheHasBeenSet() const
bool StageVariableOverridesHasBeenSet() const
bool GetUseStageCache() const
AwsApiGatewayCanarySettings & AddStageVariableOverrides(Aws::String &&key, const Aws::String &value)
bool PercentTrafficHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsApiGatewayCanarySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStageVariableOverrides(Aws::Map< Aws::String, Aws::String > &&value)
void SetPercentTraffic(double 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