7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/NodeUnavailabilityType.h>
58 inline int GetValue()
const {
return m_value; }
60 inline void SetValue(
int value) { m_valueHasBeenSet =
true; m_value = value; }
66 bool m_typeHasBeenSet =
false;
69 bool m_valueHasBeenSet =
false;
CapacitySizeConfig & WithType(NodeUnavailabilityType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CapacitySizeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeUnavailabilityType GetType() const
bool TypeHasBeenSet() const
CapacitySizeConfig & WithValue(int value)
AWS_SAGEMAKER_API CapacitySizeConfig(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetType(NodeUnavailabilityType value)
AWS_SAGEMAKER_API CapacitySizeConfig()=default
Aws::Utils::Json::JsonValue JsonValue