7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ContinuousDeploymentSingleWeightConfig.h>
9#include <aws/cloudfront/model/ContinuousDeploymentSingleHeaderConfig.h>
10#include <aws/cloudfront/model/ContinuousDeploymentPolicyType.h>
81 bool m_singleWeightConfigHasBeenSet =
false;
84 bool m_singleHeaderConfigHasBeenSet =
false;
87 bool m_typeHasBeenSet =
false;
void SetSingleHeaderConfig(ContinuousDeploymentSingleHeaderConfig &&value)
TrafficConfig & WithType(const ContinuousDeploymentPolicyType &value)
bool SingleWeightConfigHasBeenSet() const
AWS_CLOUDFRONT_API TrafficConfig()
AWS_CLOUDFRONT_API TrafficConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ContinuousDeploymentSingleWeightConfig & GetSingleWeightConfig() const
void SetSingleWeightConfig(ContinuousDeploymentSingleWeightConfig &&value)
void SetType(const ContinuousDeploymentPolicyType &value)
bool TypeHasBeenSet() const
TrafficConfig & WithSingleWeightConfig(ContinuousDeploymentSingleWeightConfig &&value)
const ContinuousDeploymentSingleHeaderConfig & GetSingleHeaderConfig() const
TrafficConfig & WithType(ContinuousDeploymentPolicyType &&value)
const ContinuousDeploymentPolicyType & GetType() const
bool SingleHeaderConfigHasBeenSet() const
AWS_CLOUDFRONT_API TrafficConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
TrafficConfig & WithSingleHeaderConfig(ContinuousDeploymentSingleHeaderConfig &&value)
TrafficConfig & WithSingleWeightConfig(const ContinuousDeploymentSingleWeightConfig &value)
void SetSingleWeightConfig(const ContinuousDeploymentSingleWeightConfig &value)
void SetSingleHeaderConfig(const ContinuousDeploymentSingleHeaderConfig &value)
TrafficConfig & WithSingleHeaderConfig(const ContinuousDeploymentSingleHeaderConfig &value)
void SetType(ContinuousDeploymentPolicyType &&value)
ContinuousDeploymentPolicyType