7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/TimeBasedCanary.h>
9#include <aws/codedeploy/model/TimeBasedLinear.h>
10#include <aws/codedeploy/model/TrafficRoutingType.h>
11#include <aws/crt/cbor/Cbor.h>
37 AWS_CODEDEPLOY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 m_typeHasBeenSet =
true;
65 template <
typename TimeBasedCanaryT = TimeBasedCanary>
67 m_timeBasedCanaryHasBeenSet =
true;
68 m_timeBasedCanary = std::forward<TimeBasedCanaryT>(value);
70 template <
typename TimeBasedCanaryT = TimeBasedCanary>
86 template <
typename TimeBasedLinearT = TimeBasedLinear>
88 m_timeBasedLinearHasBeenSet =
true;
89 m_timeBasedLinear = std::forward<TimeBasedLinearT>(value);
91 template <
typename TimeBasedLinearT = TimeBasedLinear>
103 bool m_typeHasBeenSet =
false;
104 bool m_timeBasedCanaryHasBeenSet =
false;
105 bool m_timeBasedLinearHasBeenSet =
false;
AWS_CODEDEPLOY_API TrafficRoutingConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool TypeHasBeenSet() const
void SetTimeBasedLinear(TimeBasedLinearT &&value)
AWS_CODEDEPLOY_API TrafficRoutingConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const TimeBasedCanary & GetTimeBasedCanary() const
const TimeBasedLinear & GetTimeBasedLinear() const
bool TimeBasedLinearHasBeenSet() const
TrafficRoutingConfig & WithTimeBasedLinear(TimeBasedLinearT &&value)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
TrafficRoutingType GetType() const
TrafficRoutingConfig & WithTimeBasedCanary(TimeBasedCanaryT &&value)
void SetType(TrafficRoutingType value)
AWS_CODEDEPLOY_API TrafficRoutingConfig()=default
TrafficRoutingConfig & WithType(TrafficRoutingType value)
void SetTimeBasedCanary(TimeBasedCanaryT &&value)
bool TimeBasedCanaryHasBeenSet() const