7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
42 template <
typename Ec2CapacityReservationIdT = Aws::String>
44 m_ec2CapacityReservationIdHasBeenSet =
true;
45 m_ec2CapacityReservationId = std::forward<Ec2CapacityReservationIdT>(value);
47 template <
typename Ec2CapacityReservationIdT = Aws::String>
62 m_totalInstanceCountHasBeenSet =
true;
63 m_totalInstanceCount = value;
79 m_availableInstanceCountHasBeenSet =
true;
80 m_availableInstanceCount = value;
96 m_usedByCurrentEndpointHasBeenSet =
true;
97 m_usedByCurrentEndpoint = value;
107 int m_totalInstanceCount{0};
109 int m_availableInstanceCount{0};
111 int m_usedByCurrentEndpoint{0};
112 bool m_ec2CapacityReservationIdHasBeenSet =
false;
113 bool m_totalInstanceCountHasBeenSet =
false;
114 bool m_availableInstanceCountHasBeenSet =
false;
115 bool m_usedByCurrentEndpointHasBeenSet =
false;
Ec2CapacityReservation & WithEc2CapacityReservationId(Ec2CapacityReservationIdT &&value)
bool AvailableInstanceCountHasBeenSet() const
void SetTotalInstanceCount(int value)
bool TotalInstanceCountHasBeenSet() const
int GetUsedByCurrentEndpoint() const
Ec2CapacityReservation & WithUsedByCurrentEndpoint(int value)
void SetAvailableInstanceCount(int value)
AWS_SAGEMAKER_API Ec2CapacityReservation()=default
void SetEc2CapacityReservationId(Ec2CapacityReservationIdT &&value)
Ec2CapacityReservation & WithTotalInstanceCount(int value)
void SetUsedByCurrentEndpoint(int value)
AWS_SAGEMAKER_API Ec2CapacityReservation & operator=(Aws::Utils::Json::JsonView jsonValue)
Ec2CapacityReservation & WithAvailableInstanceCount(int value)
const Aws::String & GetEc2CapacityReservationId() const
bool Ec2CapacityReservationIdHasBeenSet() const
int GetTotalInstanceCount() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Ec2CapacityReservation(Aws::Utils::Json::JsonView jsonValue)
bool UsedByCurrentEndpointHasBeenSet() const
int GetAvailableInstanceCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue