7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ReservedCapacityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
11#include <aws/core/utils/DateTime.h>
64 template<
typename UltraServerTypeT = Aws::String>
65 void SetUltraServerType(UltraServerTypeT&& value) { m_ultraServerTypeHasBeenSet =
true; m_ultraServerType = std::forward<UltraServerTypeT>(value); }
66 template<
typename UltraServerTypeT = Aws::String>
76 inline void SetUltraServerCount(
int value) { m_ultraServerCountHasBeenSet =
true; m_ultraServerCount = value; }
96 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
106 template<
typename AvailabilityZoneT = Aws::String>
107 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
108 template<
typename AvailabilityZoneT = Aws::String>
119 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
130 inline void SetDurationMinutes(
long long value) { m_durationMinutesHasBeenSet =
true; m_durationMinutes = value; }
140 template<
typename StartTimeT = Aws::Utils::DateTime>
141 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
142 template<
typename StartTimeT = Aws::Utils::DateTime>
152 template<
typename EndTimeT = Aws::Utils::DateTime>
153 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
154 template<
typename EndTimeT = Aws::Utils::DateTime>
160 bool m_reservedCapacityTypeHasBeenSet =
false;
163 bool m_ultraServerTypeHasBeenSet =
false;
165 int m_ultraServerCount{0};
166 bool m_ultraServerCountHasBeenSet =
false;
169 bool m_instanceTypeHasBeenSet =
false;
171 int m_instanceCount{0};
172 bool m_instanceCountHasBeenSet =
false;
175 bool m_availabilityZoneHasBeenSet =
false;
177 long long m_durationHours{0};
178 bool m_durationHoursHasBeenSet =
false;
180 long long m_durationMinutes{0};
181 bool m_durationMinutesHasBeenSet =
false;
184 bool m_startTimeHasBeenSet =
false;
187 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