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/ReservedCapacityType.h>
48 m_reservedCapacityTypeHasBeenSet =
true;
49 m_reservedCapacityType = value;
64 template <
typename UltraServerTypeT = Aws::String>
66 m_ultraServerTypeHasBeenSet =
true;
67 m_ultraServerType = std::forward<UltraServerTypeT>(value);
69 template <
typename UltraServerTypeT = Aws::String>
83 m_ultraServerCountHasBeenSet =
true;
84 m_ultraServerCount = value;
99 m_instanceTypeHasBeenSet =
true;
100 m_instanceType = value;
115 m_instanceCountHasBeenSet =
true;
116 m_instanceCount = value;
130 template <
typename AvailabilityZoneT = Aws::String>
132 m_availabilityZoneHasBeenSet =
true;
133 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
135 template <
typename AvailabilityZoneT = Aws::String>
150 m_durationHoursHasBeenSet =
true;
151 m_durationHours = value;
167 m_durationMinutesHasBeenSet =
true;
168 m_durationMinutes = value;
182 template <
typename StartTimeT = Aws::Utils::DateTime>
184 m_startTimeHasBeenSet =
true;
185 m_startTime = std::forward<StartTimeT>(value);
187 template <
typename StartTimeT = Aws::Utils::DateTime>
200 template <
typename EndTimeT = Aws::Utils::DateTime>
202 m_endTimeHasBeenSet =
true;
203 m_endTime = std::forward<EndTimeT>(value);
205 template <
typename EndTimeT = Aws::Utils::DateTime>
216 int m_ultraServerCount{0};
220 int m_instanceCount{0};
224 long long m_durationHours{0};
226 long long m_durationMinutes{0};
231 bool m_reservedCapacityTypeHasBeenSet =
false;
232 bool m_ultraServerTypeHasBeenSet =
false;
233 bool m_ultraServerCountHasBeenSet =
false;
234 bool m_instanceTypeHasBeenSet =
false;
235 bool m_instanceCountHasBeenSet =
false;
236 bool m_availabilityZoneHasBeenSet =
false;
237 bool m_durationHoursHasBeenSet =
false;
238 bool m_durationMinutesHasBeenSet =
false;
239 bool m_startTimeHasBeenSet =
false;
240 bool m_endTimeHasBeenSet =
false;
const Aws::String & GetAvailabilityZone() const
long long GetDurationMinutes() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(EndTimeT &&value)
bool DurationMinutesHasBeenSet() const
AWS_SAGEMAKER_API ReservedCapacityOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetDurationHours() const
const Aws::Utils::DateTime & GetEndTime() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool UltraServerCountHasBeenSet() const
ReservedCapacityType GetReservedCapacityType() const
void SetInstanceCount(int value)
AWS_SAGEMAKER_API ReservedCapacityOffering(Aws::Utils::Json::JsonView jsonValue)
void SetUltraServerCount(int value)
bool InstanceTypeHasBeenSet() const
ReservedCapacityOffering & WithUltraServerCount(int value)
const Aws::String & GetUltraServerType() const
void SetDurationHours(long long value)
bool DurationHoursHasBeenSet() const
AWS_SAGEMAKER_API ReservedCapacityOffering()=default
ReservedCapacityOffering & WithAvailabilityZone(AvailabilityZoneT &&value)
bool StartTimeHasBeenSet() const
int GetInstanceCount() const
ReservedCapacityOffering & WithInstanceType(ReservedCapacityInstanceType value)
ReservedCapacityOffering & WithDurationHours(long long value)
ReservedCapacityOffering & WithReservedCapacityType(ReservedCapacityType value)
void SetStartTime(StartTimeT &&value)
bool InstanceCountHasBeenSet() const
ReservedCapacityOffering & WithDurationMinutes(long long value)
ReservedCapacityOffering & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetReservedCapacityType(ReservedCapacityType value)
bool EndTimeHasBeenSet() const
void SetInstanceType(ReservedCapacityInstanceType value)
bool UltraServerTypeHasBeenSet() const
ReservedCapacityOffering & WithEndTime(EndTimeT &&value)
ReservedCapacityOffering & WithInstanceCount(int value)
ReservedCapacityOffering & WithUltraServerType(UltraServerTypeT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetDurationMinutes(long long value)
int GetUltraServerCount() const
void SetUltraServerType(UltraServerTypeT &&value)
bool ReservedCapacityTypeHasBeenSet() const
ReservedCapacityInstanceType GetInstanceType() const
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue