7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrafficRoutingConfigType.h>
9#include <aws/sagemaker/model/CapacitySize.h>
100 bool m_typeHasBeenSet =
false;
102 int m_waitIntervalInSeconds;
103 bool m_waitIntervalInSecondsHasBeenSet =
false;
106 bool m_canarySizeHasBeenSet =
false;
109 bool m_linearStepSizeHasBeenSet =
false;
TrafficRoutingConfig & WithType(const TrafficRoutingConfigType &value)
const CapacitySize & GetLinearStepSize() const
TrafficRoutingConfig & WithCanarySize(CapacitySize &&value)
void SetType(TrafficRoutingConfigType &&value)
TrafficRoutingConfig & WithLinearStepSize(CapacitySize &&value)
void SetWaitIntervalInSeconds(int value)
AWS_SAGEMAKER_API TrafficRoutingConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLinearStepSize(CapacitySize &&value)
AWS_SAGEMAKER_API TrafficRoutingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TrafficRoutingConfig & WithLinearStepSize(const CapacitySize &value)
bool CanarySizeHasBeenSet() const
AWS_SAGEMAKER_API TrafficRoutingConfig()
void SetType(const TrafficRoutingConfigType &value)
bool WaitIntervalInSecondsHasBeenSet() const
bool LinearStepSizeHasBeenSet() const
TrafficRoutingConfig & WithType(TrafficRoutingConfigType &&value)
int GetWaitIntervalInSeconds() const
void SetCanarySize(CapacitySize &&value)
void SetCanarySize(const CapacitySize &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const CapacitySize & GetCanarySize() const
TrafficRoutingConfig & WithWaitIntervalInSeconds(int value)
const TrafficRoutingConfigType & GetType() const
TrafficRoutingConfig & WithCanarySize(const CapacitySize &value)
bool TypeHasBeenSet() const
void SetLinearStepSize(const CapacitySize &value)
Aws::Utils::Json::JsonValue JsonValue