7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CapacitySize.h>
9#include <aws/sagemaker/model/TrafficRoutingConfigType.h>
49 m_typeHasBeenSet =
true;
66 m_waitIntervalInSecondsHasBeenSet =
true;
67 m_waitIntervalInSeconds = value;
83 template <
typename CanarySizeT = CapacitySize>
85 m_canarySizeHasBeenSet =
true;
86 m_canarySize = std::forward<CanarySizeT>(value);
88 template <
typename CanarySizeT = CapacitySize>
102 template <
typename LinearStepSizeT = CapacitySize>
104 m_linearStepSizeHasBeenSet =
true;
105 m_linearStepSize = std::forward<LinearStepSizeT>(value);
107 template <
typename LinearStepSizeT = CapacitySize>
116 int m_waitIntervalInSeconds{0};
118 CapacitySize m_canarySize;
120 CapacitySize m_linearStepSize;
121 bool m_typeHasBeenSet =
false;
122 bool m_waitIntervalInSecondsHasBeenSet =
false;
123 bool m_canarySizeHasBeenSet =
false;
124 bool m_linearStepSizeHasBeenSet =
false;
void SetCanarySize(CanarySizeT &&value)
const CapacitySize & GetLinearStepSize() const
TrafficRoutingConfig & WithLinearStepSize(LinearStepSizeT &&value)
void SetWaitIntervalInSeconds(int value)
AWS_SAGEMAKER_API TrafficRoutingConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TrafficRoutingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CanarySizeHasBeenSet() const
TrafficRoutingConfigType GetType() const
TrafficRoutingConfig & WithCanarySize(CanarySizeT &&value)
bool WaitIntervalInSecondsHasBeenSet() const
void SetType(TrafficRoutingConfigType value)
bool LinearStepSizeHasBeenSet() const
int GetWaitIntervalInSeconds() const
void SetLinearStepSize(LinearStepSizeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrafficRoutingConfig & WithType(TrafficRoutingConfigType value)
const CapacitySize & GetCanarySize() const
TrafficRoutingConfig & WithWaitIntervalInSeconds(int value)
bool TypeHasBeenSet() const
AWS_SAGEMAKER_API TrafficRoutingConfig()=default
Aws::Utils::Json::JsonValue JsonValue