7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
10#include <aws/sagemaker/model/UltraServerHealthStatus.h>
50 template<
typename UltraServerIdT = Aws::String>
51 void SetUltraServerId(UltraServerIdT&& value) { m_ultraServerIdHasBeenSet =
true; m_ultraServerId = std::forward<UltraServerIdT>(value); }
52 template<
typename UltraServerIdT = Aws::String>
62 template<
typename UltraServerTypeT = Aws::String>
63 void SetUltraServerType(UltraServerTypeT&& value) { m_ultraServerTypeHasBeenSet =
true; m_ultraServerType = std::forward<UltraServerTypeT>(value); }
64 template<
typename UltraServerTypeT = Aws::String>
74 template<
typename AvailabilityZoneT = Aws::String>
75 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
76 template<
typename AvailabilityZoneT = Aws::String>
96 inline void SetTotalInstanceCount(
int value) { m_totalInstanceCountHasBeenSet =
true; m_totalInstanceCount = value; }
127 inline void SetInUseInstanceCount(
int value) { m_inUseInstanceCountHasBeenSet =
true; m_inUseInstanceCount = value; }
164 bool m_ultraServerIdHasBeenSet =
false;
167 bool m_ultraServerTypeHasBeenSet =
false;
170 bool m_availabilityZoneHasBeenSet =
false;
173 bool m_instanceTypeHasBeenSet =
false;
175 int m_totalInstanceCount{0};
176 bool m_totalInstanceCountHasBeenSet =
false;
178 int m_configuredSpareInstanceCount{0};
179 bool m_configuredSpareInstanceCountHasBeenSet =
false;
181 int m_availableInstanceCount{0};
182 bool m_availableInstanceCountHasBeenSet =
false;
184 int m_inUseInstanceCount{0};
185 bool m_inUseInstanceCountHasBeenSet =
false;
187 int m_availableSpareInstanceCount{0};
188 bool m_availableSpareInstanceCountHasBeenSet =
false;
190 int m_unhealthyInstanceCount{0};
191 bool m_unhealthyInstanceCountHasBeenSet =
false;
194 bool m_healthStatusHasBeenSet =
false;
int GetAvailableInstanceCount() const
bool UltraServerIdHasBeenSet() const
UltraServer & WithUltraServerType(UltraServerTypeT &&value)
UltraServer & WithInstanceType(ReservedCapacityInstanceType value)
UltraServer & WithInUseInstanceCount(int value)
const Aws::String & GetUltraServerId() const
void SetAvailableInstanceCount(int value)
bool ConfiguredSpareInstanceCountHasBeenSet() const
bool AvailableInstanceCountHasBeenSet() const
void SetUltraServerId(UltraServerIdT &&value)
void SetInUseInstanceCount(int value)
UltraServer & WithAvailableInstanceCount(int value)
const Aws::String & GetUltraServerType() const
UltraServer & WithUnhealthyInstanceCount(int value)
bool AvailableSpareInstanceCountHasBeenSet() const
AWS_SAGEMAKER_API UltraServer()=default
AWS_SAGEMAKER_API UltraServer(Aws::Utils::Json::JsonView jsonValue)
bool TotalInstanceCountHasBeenSet() const
bool HealthStatusHasBeenSet() const
UltraServer & WithUltraServerId(UltraServerIdT &&value)
void SetUnhealthyInstanceCount(int value)
int GetInUseInstanceCount() const
void SetTotalInstanceCount(int value)
const Aws::String & GetAvailabilityZone() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
int GetAvailableSpareInstanceCount() const
UltraServerHealthStatus GetHealthStatus() const
void SetUltraServerType(UltraServerTypeT &&value)
UltraServer & WithConfiguredSpareInstanceCount(int value)
bool InUseInstanceCountHasBeenSet() const
bool UnhealthyInstanceCountHasBeenSet() const
UltraServer & WithHealthStatus(UltraServerHealthStatus value)
bool AvailabilityZoneHasBeenSet() const
AWS_SAGEMAKER_API UltraServer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool UltraServerTypeHasBeenSet() const
void SetInstanceType(ReservedCapacityInstanceType value)
ReservedCapacityInstanceType GetInstanceType() const
void SetAvailableSpareInstanceCount(int value)
int GetConfiguredSpareInstanceCount() const
UltraServer & WithAvailableSpareInstanceCount(int value)
int GetUnhealthyInstanceCount() const
int GetTotalInstanceCount() const
UltraServer & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetHealthStatus(UltraServerHealthStatus value)
bool InstanceTypeHasBeenSet() const
UltraServer & WithTotalInstanceCount(int value)
void SetConfiguredSpareInstanceCount(int value)
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue