7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrafficRoutingConfigType.h>
9#include <aws/sagemaker/model/CapacitySize.h>
77 template<
typename CanarySizeT = CapacitySize>
78 void SetCanarySize(CanarySizeT&& value) { m_canarySizeHasBeenSet =
true; m_canarySize = std::forward<CanarySizeT>(value); }
79 template<
typename CanarySizeT = CapacitySize>
90 template<
typename LinearStepSizeT = CapacitySize>
91 void SetLinearStepSize(LinearStepSizeT&& value) { m_linearStepSizeHasBeenSet =
true; m_linearStepSize = std::forward<LinearStepSizeT>(value); }
92 template<
typename LinearStepSizeT = CapacitySize>
98 bool m_typeHasBeenSet =
false;
100 int m_waitIntervalInSeconds{0};
101 bool m_waitIntervalInSecondsHasBeenSet =
false;
103 CapacitySize m_canarySize;
104 bool m_canarySizeHasBeenSet =
false;
106 CapacitySize m_linearStepSize;
107 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