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>
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>
100 TimeBasedCanary m_timeBasedCanary;
102 TimeBasedLinear m_timeBasedLinear;
103 bool m_typeHasBeenSet =
false;
104 bool m_timeBasedCanaryHasBeenSet =
false;
105 bool m_timeBasedLinearHasBeenSet =
false;
AWS_CODEDEPLOY_API TrafficRoutingConfig(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetTimeBasedLinear(TimeBasedLinearT &&value)
AWS_CODEDEPLOY_API TrafficRoutingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const TimeBasedCanary & GetTimeBasedCanary() const
const TimeBasedLinear & GetTimeBasedLinear() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeBasedLinearHasBeenSet() const
TrafficRoutingConfig & WithTimeBasedLinear(TimeBasedLinearT &&value)
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
Aws::Utils::Json::JsonValue JsonValue