7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/TrafficRoutingType.h>
9#include <aws/codedeploy/model/TimeBasedCanary.h>
10#include <aws/codedeploy/model/TimeBasedLinear.h>
65 template<
typename TimeBasedCanaryT = TimeBasedCanary>
66 void SetTimeBasedCanary(TimeBasedCanaryT&& value) { m_timeBasedCanaryHasBeenSet =
true; m_timeBasedCanary = std::forward<TimeBasedCanaryT>(value); }
67 template<
typename TimeBasedCanaryT = TimeBasedCanary>
80 template<
typename TimeBasedLinearT = TimeBasedLinear>
81 void SetTimeBasedLinear(TimeBasedLinearT&& value) { m_timeBasedLinearHasBeenSet =
true; m_timeBasedLinear = std::forward<TimeBasedLinearT>(value); }
82 template<
typename TimeBasedLinearT = TimeBasedLinear>
88 bool m_typeHasBeenSet =
false;
90 TimeBasedCanary m_timeBasedCanary;
91 bool m_timeBasedCanaryHasBeenSet =
false;
93 TimeBasedLinear m_timeBasedLinear;
94 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