7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/CapacityReservationType.h>
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
68 bool m_arnHasBeenSet =
false;
71 bool m_typeHasBeenSet =
false;
AWS_SAGEMAKER_API CapacityReservation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
void SetType(CapacityReservationType value)
AWS_SAGEMAKER_API CapacityReservation(Aws::Utils::Json::JsonView jsonValue)
CapacityReservationType GetType() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
CapacityReservation & WithType(CapacityReservationType value)
bool TypeHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityReservation & WithArn(ArnT &&value)
AWS_SAGEMAKER_API CapacityReservation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue