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>
218 template <
typename ExtensionStartTimeT = Aws::Utils::DateTime>
220 m_extensionStartTimeHasBeenSet =
true;
221 m_extensionStartTime = std::forward<ExtensionStartTimeT>(value);
223 template <
typename ExtensionStartTimeT = Aws::Utils::DateTime>
236 template <
typename ExtensionEndTimeT = Aws::Utils::DateTime>
238 m_extensionEndTimeHasBeenSet =
true;
239 m_extensionEndTime = std::forward<ExtensionEndTimeT>(value);
241 template <
typename ExtensionEndTimeT = Aws::Utils::DateTime>
252 int m_ultraServerCount{0};
256 int m_instanceCount{0};
260 long long m_durationHours{0};
262 long long m_durationMinutes{0};
271 bool m_reservedCapacityTypeHasBeenSet =
false;
272 bool m_ultraServerTypeHasBeenSet =
false;
273 bool m_ultraServerCountHasBeenSet =
false;
274 bool m_instanceTypeHasBeenSet =
false;
275 bool m_instanceCountHasBeenSet =
false;
276 bool m_availabilityZoneHasBeenSet =
false;
277 bool m_durationHoursHasBeenSet =
false;
278 bool m_durationMinutesHasBeenSet =
false;
279 bool m_startTimeHasBeenSet =
false;
280 bool m_endTimeHasBeenSet =
false;
281 bool m_extensionStartTimeHasBeenSet =
false;
282 bool m_extensionEndTimeHasBeenSet =
false;
const Aws::String & GetAvailabilityZone() const
long long GetDurationMinutes() const
ReservedCapacityOffering & WithExtensionEndTime(ExtensionEndTimeT &&value)
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)
void SetExtensionEndTime(ExtensionEndTimeT &&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
const Aws::Utils::DateTime & GetExtensionEndTime() 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)
bool ExtensionStartTimeHasBeenSet() const
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)
void SetExtensionStartTime(ExtensionStartTimeT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetDurationMinutes(long long value)
int GetUltraServerCount() const
const Aws::Utils::DateTime & GetExtensionStartTime() const
void SetUltraServerType(UltraServerTypeT &&value)
bool ExtensionEndTimeHasBeenSet() const
bool ReservedCapacityTypeHasBeenSet() const
ReservedCapacityInstanceType GetInstanceType() const
ReservedCapacityOffering & WithExtensionStartTime(ExtensionStartTimeT &&value)
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue