7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
48 template<
typename UltraServerTypeT = Aws::String>
49 void SetUltraServerType(UltraServerTypeT&& value) { m_ultraServerTypeHasBeenSet =
true; m_ultraServerType = std::forward<UltraServerTypeT>(value); }
50 template<
typename UltraServerTypeT = Aws::String>
70 inline void SetUltraServerCount(
int value) { m_ultraServerCountHasBeenSet =
true; m_ultraServerCount = value; }
97 bool m_ultraServerTypeHasBeenSet =
false;
100 bool m_instanceTypeHasBeenSet =
false;
102 int m_ultraServerCount{0};
103 bool m_ultraServerCountHasBeenSet =
false;
105 int m_availableSpareInstanceCount{0};
106 bool m_availableSpareInstanceCountHasBeenSet =
false;
108 int m_unhealthyInstanceCount{0};
109 bool m_unhealthyInstanceCountHasBeenSet =
false;
UltraServerSummary & WithUnhealthyInstanceCount(int value)
bool UnhealthyInstanceCountHasBeenSet() const
void SetUltraServerCount(int value)
AWS_SAGEMAKER_API UltraServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetUnhealthyInstanceCount() const
AWS_SAGEMAKER_API UltraServerSummary()=default
UltraServerSummary & WithUltraServerType(UltraServerTypeT &&value)
void SetUltraServerType(UltraServerTypeT &&value)
int GetAvailableSpareInstanceCount() const
UltraServerSummary & WithInstanceType(ReservedCapacityInstanceType value)
UltraServerSummary & WithUltraServerCount(int value)
bool UltraServerTypeHasBeenSet() const
const Aws::String & GetUltraServerType() const
ReservedCapacityInstanceType GetInstanceType() const
UltraServerSummary & WithAvailableSpareInstanceCount(int value)
bool AvailableSpareInstanceCountHasBeenSet() const
int GetUltraServerCount() const
bool UltraServerCountHasBeenSet() const
void SetInstanceType(ReservedCapacityInstanceType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceTypeHasBeenSet() const
void SetAvailableSpareInstanceCount(int value)
AWS_SAGEMAKER_API UltraServerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetUnhealthyInstanceCount(int value)
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue