7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
10#include <aws/sagemaker/model/UltraServerHealthStatus.h>
44 template <
typename UltraServerIdT = Aws::String>
46 m_ultraServerIdHasBeenSet =
true;
47 m_ultraServerId = std::forward<UltraServerIdT>(value);
49 template <
typename UltraServerIdT = Aws::String>
62 template <
typename UltraServerTypeT = Aws::String>
64 m_ultraServerTypeHasBeenSet =
true;
65 m_ultraServerType = std::forward<UltraServerTypeT>(value);
67 template <
typename UltraServerTypeT = Aws::String>
80 template <
typename AvailabilityZoneT = Aws::String>
82 m_availabilityZoneHasBeenSet =
true;
83 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
85 template <
typename AvailabilityZoneT = Aws::String>
99 m_instanceTypeHasBeenSet =
true;
100 m_instanceType = value;
115 m_totalInstanceCountHasBeenSet =
true;
116 m_totalInstanceCount = value;
132 m_configuredSpareInstanceCountHasBeenSet =
true;
133 m_configuredSpareInstanceCount = value;
148 m_availableInstanceCountHasBeenSet =
true;
149 m_availableInstanceCount = value;
164 m_inUseInstanceCountHasBeenSet =
true;
165 m_inUseInstanceCount = value;
180 m_availableSpareInstanceCountHasBeenSet =
true;
181 m_availableSpareInstanceCount = value;
197 m_unhealthyInstanceCountHasBeenSet =
true;
198 m_unhealthyInstanceCount = value;
213 m_healthStatusHasBeenSet =
true;
214 m_healthStatus = value;
230 int m_totalInstanceCount{0};
232 int m_configuredSpareInstanceCount{0};
234 int m_availableInstanceCount{0};
236 int m_inUseInstanceCount{0};
238 int m_availableSpareInstanceCount{0};
240 int m_unhealthyInstanceCount{0};
243 bool m_ultraServerIdHasBeenSet =
false;
244 bool m_ultraServerTypeHasBeenSet =
false;
245 bool m_availabilityZoneHasBeenSet =
false;
246 bool m_instanceTypeHasBeenSet =
false;
247 bool m_totalInstanceCountHasBeenSet =
false;
248 bool m_configuredSpareInstanceCountHasBeenSet =
false;
249 bool m_availableInstanceCountHasBeenSet =
false;
250 bool m_inUseInstanceCountHasBeenSet =
false;
251 bool m_availableSpareInstanceCountHasBeenSet =
false;
252 bool m_unhealthyInstanceCountHasBeenSet =
false;
253 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