7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/InferenceComponentCapacitySize.h>
50 template<
typename MaximumBatchSizeT = InferenceComponentCapacitySize>
51 void SetMaximumBatchSize(MaximumBatchSizeT&& value) { m_maximumBatchSizeHasBeenSet =
true; m_maximumBatchSize = std::forward<MaximumBatchSizeT>(value); }
52 template<
typename MaximumBatchSizeT = InferenceComponentCapacitySize>
87 template<
typename RollbackMaximumBatchSizeT = InferenceComponentCapacitySize>
88 void SetRollbackMaximumBatchSize(RollbackMaximumBatchSizeT&& value) { m_rollbackMaximumBatchSizeHasBeenSet =
true; m_rollbackMaximumBatchSize = std::forward<RollbackMaximumBatchSizeT>(value); }
89 template<
typename RollbackMaximumBatchSizeT = InferenceComponentCapacitySize>
95 bool m_maximumBatchSizeHasBeenSet =
false;
97 int m_waitIntervalInSeconds{0};
98 bool m_waitIntervalInSecondsHasBeenSet =
false;
100 int m_maximumExecutionTimeoutInSeconds{0};
101 bool m_maximumExecutionTimeoutInSecondsHasBeenSet =
false;
103 InferenceComponentCapacitySize m_rollbackMaximumBatchSize;
104 bool m_rollbackMaximumBatchSizeHasBeenSet =
false;
void SetMaximumExecutionTimeoutInSeconds(int value)
AWS_SAGEMAKER_API InferenceComponentRollingUpdatePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API InferenceComponentRollingUpdatePolicy(Aws::Utils::Json::JsonView jsonValue)
const InferenceComponentCapacitySize & GetMaximumBatchSize() const
void SetWaitIntervalInSeconds(int value)
int GetMaximumExecutionTimeoutInSeconds() const
InferenceComponentRollingUpdatePolicy & WithWaitIntervalInSeconds(int value)
bool WaitIntervalInSecondsHasBeenSet() const
bool RollbackMaximumBatchSizeHasBeenSet() const
InferenceComponentRollingUpdatePolicy & WithRollbackMaximumBatchSize(RollbackMaximumBatchSizeT &&value)
InferenceComponentRollingUpdatePolicy & WithMaximumExecutionTimeoutInSeconds(int value)
bool MaximumExecutionTimeoutInSecondsHasBeenSet() const
void SetMaximumBatchSize(MaximumBatchSizeT &&value)
bool MaximumBatchSizeHasBeenSet() const
AWS_SAGEMAKER_API InferenceComponentRollingUpdatePolicy()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRollbackMaximumBatchSize(RollbackMaximumBatchSizeT &&value)
InferenceComponentRollingUpdatePolicy & WithMaximumBatchSize(MaximumBatchSizeT &&value)
int GetWaitIntervalInSeconds() const
const InferenceComponentCapacitySize & GetRollbackMaximumBatchSize() const
Aws::Utils::Json::JsonValue JsonValue