7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
11#include <aws/sagemaker/model/ReservedCapacityStatus.h>
12#include <aws/sagemaker/model/ReservedCapacityType.h>
48 template <
typename ReservedCapacityArnT = Aws::String>
50 m_reservedCapacityArnHasBeenSet =
true;
51 m_reservedCapacityArn = std::forward<ReservedCapacityArnT>(value);
53 template <
typename ReservedCapacityArnT = Aws::String>
67 m_reservedCapacityTypeHasBeenSet =
true;
68 m_reservedCapacityType = value;
83 template <
typename UltraServerTypeT = Aws::String>
85 m_ultraServerTypeHasBeenSet =
true;
86 m_ultraServerType = std::forward<UltraServerTypeT>(value);
88 template <
typename UltraServerTypeT = Aws::String>
102 m_ultraServerCountHasBeenSet =
true;
103 m_ultraServerCount = value;
118 m_instanceTypeHasBeenSet =
true;
119 m_instanceType = value;
134 m_totalInstanceCountHasBeenSet =
true;
135 m_totalInstanceCount = value;
150 m_statusHasBeenSet =
true;
165 template <
typename AvailabilityZoneT = Aws::String>
167 m_availabilityZoneHasBeenSet =
true;
168 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
170 template <
typename AvailabilityZoneT = Aws::String>
185 m_durationHoursHasBeenSet =
true;
186 m_durationHours = value;
202 m_durationMinutesHasBeenSet =
true;
203 m_durationMinutes = value;
217 template <
typename StartTimeT = Aws::Utils::DateTime>
219 m_startTimeHasBeenSet =
true;
220 m_startTime = std::forward<StartTimeT>(value);
222 template <
typename StartTimeT = Aws::Utils::DateTime>
235 template <
typename EndTimeT = Aws::Utils::DateTime>
237 m_endTimeHasBeenSet =
true;
238 m_endTime = std::forward<EndTimeT>(value);
240 template <
typename EndTimeT = Aws::Utils::DateTime>
253 int m_ultraServerCount{0};
257 int m_totalInstanceCount{0};
263 long long m_durationHours{0};
265 long long m_durationMinutes{0};
270 bool m_reservedCapacityArnHasBeenSet =
false;
271 bool m_reservedCapacityTypeHasBeenSet =
false;
272 bool m_ultraServerTypeHasBeenSet =
false;
273 bool m_ultraServerCountHasBeenSet =
false;
274 bool m_instanceTypeHasBeenSet =
false;
275 bool m_totalInstanceCountHasBeenSet =
false;
276 bool m_statusHasBeenSet =
false;
277 bool m_availabilityZoneHasBeenSet =
false;
278 bool m_durationHoursHasBeenSet =
false;
279 bool m_durationMinutesHasBeenSet =
false;
280 bool m_startTimeHasBeenSet =
false;
281 bool m_endTimeHasBeenSet =
false;
ReservedCapacitySummary & WithDurationHours(long long value)
ReservedCapacitySummary & WithReservedCapacityType(ReservedCapacityType value)
const Aws::String & GetUltraServerType() const
bool TotalInstanceCountHasBeenSet() const
bool DurationMinutesHasBeenSet() const
void SetDurationHours(long long value)
bool EndTimeHasBeenSet() const
AWS_SAGEMAKER_API ReservedCapacitySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ReservedCapacitySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReservedCapacitySummary & WithAvailabilityZone(AvailabilityZoneT &&value)
bool ReservedCapacityTypeHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
ReservedCapacitySummary & WithUltraServerType(UltraServerTypeT &&value)
bool UltraServerCountHasBeenSet() const
ReservedCapacitySummary & WithTotalInstanceCount(int value)
ReservedCapacitySummary & WithInstanceType(ReservedCapacityInstanceType value)
void SetDurationMinutes(long long value)
bool UltraServerTypeHasBeenSet() const
long long GetDurationHours() const
int GetUltraServerCount() const
void SetInstanceType(ReservedCapacityInstanceType value)
void SetReservedCapacityType(ReservedCapacityType value)
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
bool DurationHoursHasBeenSet() const
ReservedCapacitySummary & WithDurationMinutes(long long value)
ReservedCapacitySummary & WithUltraServerCount(int value)
ReservedCapacityStatus GetStatus() const
ReservedCapacitySummary & WithStatus(ReservedCapacityStatus value)
bool InstanceTypeHasBeenSet() const
AWS_SAGEMAKER_API ReservedCapacitySummary()=default
ReservedCapacitySummary & WithEndTime(EndTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUltraServerType(UltraServerTypeT &&value)
const Aws::String & GetReservedCapacityArn() const
bool StatusHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
ReservedCapacityInstanceType GetInstanceType() const
const Aws::String & GetAvailabilityZone() const
bool ReservedCapacityArnHasBeenSet() const
void SetUltraServerCount(int value)
long long GetDurationMinutes() const
ReservedCapacitySummary & WithStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
int GetTotalInstanceCount() const
void SetStatus(ReservedCapacityStatus value)
ReservedCapacitySummary & WithReservedCapacityArn(ReservedCapacityArnT &&value)
void SetReservedCapacityArn(ReservedCapacityArnT &&value)
void SetStartTime(StartTimeT &&value)
void SetTotalInstanceCount(int value)
ReservedCapacityType GetReservedCapacityType() const
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue