7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ReservedCapacityType.h>
10#include <aws/sagemaker/model/ReservedCapacityStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
13#include <aws/sagemaker/model/UltraServerSummary.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename ReservedCapacityArnT = Aws::String>
46 void SetReservedCapacityArn(ReservedCapacityArnT&& value) { m_reservedCapacityArnHasBeenSet =
true; m_reservedCapacityArn = std::forward<ReservedCapacityArnT>(value); }
47 template<
typename ReservedCapacityArnT = Aws::String>
74 template<
typename AvailabilityZoneT = Aws::String>
75 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
76 template<
typename AvailabilityZoneT = Aws::String>
85 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
96 inline void SetDurationMinutes(
long long value) { m_durationMinutesHasBeenSet =
true; m_durationMinutes = value; }
105 template<
typename StartTimeT = Aws::Utils::DateTime>
106 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
107 template<
typename StartTimeT = Aws::Utils::DateTime>
116 template<
typename EndTimeT = Aws::Utils::DateTime>
117 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
118 template<
typename EndTimeT = Aws::Utils::DateTime>
136 inline void SetTotalInstanceCount(
int value) { m_totalInstanceCountHasBeenSet =
true; m_totalInstanceCount = value; }
155 inline void SetInUseInstanceCount(
int value) { m_inUseInstanceCountHasBeenSet =
true; m_inUseInstanceCount = value; }
164 template<
typename UltraServerSummaryT = UltraServerSummary>
165 void SetUltraServerSummary(UltraServerSummaryT&& value) { m_ultraServerSummaryHasBeenSet =
true; m_ultraServerSummary = std::forward<UltraServerSummaryT>(value); }
166 template<
typename UltraServerSummaryT = UltraServerSummary>
173 template<
typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
175 template<
typename RequestIdT = Aws::String>
181 bool m_reservedCapacityArnHasBeenSet =
false;
184 bool m_reservedCapacityTypeHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_availabilityZoneHasBeenSet =
false;
192 long long m_durationHours{0};
193 bool m_durationHoursHasBeenSet =
false;
195 long long m_durationMinutes{0};
196 bool m_durationMinutesHasBeenSet =
false;
199 bool m_startTimeHasBeenSet =
false;
202 bool m_endTimeHasBeenSet =
false;
205 bool m_instanceTypeHasBeenSet =
false;
207 int m_totalInstanceCount{0};
208 bool m_totalInstanceCountHasBeenSet =
false;
210 int m_availableInstanceCount{0};
211 bool m_availableInstanceCountHasBeenSet =
false;
213 int m_inUseInstanceCount{0};
214 bool m_inUseInstanceCountHasBeenSet =
false;
216 UltraServerSummary m_ultraServerSummary;
217 bool m_ultraServerSummaryHasBeenSet =
false;
220 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
DescribeReservedCapacityResult & WithRequestId(RequestIdT &&value)
DescribeReservedCapacityResult & WithInUseInstanceCount(int value)
DescribeReservedCapacityResult & WithStatus(ReservedCapacityStatus value)
DescribeReservedCapacityResult & WithTotalInstanceCount(int value)
void SetInstanceType(ReservedCapacityInstanceType value)
void SetStatus(ReservedCapacityStatus value)
void SetReservedCapacityType(ReservedCapacityType value)
void SetAvailableInstanceCount(int value)
const Aws::String & GetRequestId() const
DescribeReservedCapacityResult & WithUltraServerSummary(UltraServerSummaryT &&value)
void SetEndTime(EndTimeT &&value)
void SetUltraServerSummary(UltraServerSummaryT &&value)
int GetInUseInstanceCount() const
void SetTotalInstanceCount(int value)
void SetDurationMinutes(long long value)
DescribeReservedCapacityResult & WithInstanceType(ReservedCapacityInstanceType value)
long long GetDurationMinutes() const
ReservedCapacityType GetReservedCapacityType() const
const Aws::String & GetReservedCapacityArn() const
void SetInUseInstanceCount(int value)
AWS_SAGEMAKER_API DescribeReservedCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReservedCapacityResult & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetDurationHours(long long value)
DescribeReservedCapacityResult & WithStartTime(StartTimeT &&value)
AWS_SAGEMAKER_API DescribeReservedCapacityResult()=default
long long GetDurationHours() const
DescribeReservedCapacityResult & WithDurationMinutes(long long value)
int GetTotalInstanceCount() const
void SetReservedCapacityArn(ReservedCapacityArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
DescribeReservedCapacityResult & WithAvailableInstanceCount(int value)
ReservedCapacityInstanceType GetInstanceType() const
DescribeReservedCapacityResult & WithEndTime(EndTimeT &&value)
int GetAvailableInstanceCount() const
DescribeReservedCapacityResult & WithDurationHours(long long value)
void SetStartTime(StartTimeT &&value)
DescribeReservedCapacityResult & WithReservedCapacityType(ReservedCapacityType value)
DescribeReservedCapacityResult & WithReservedCapacityArn(ReservedCapacityArnT &&value)
AWS_SAGEMAKER_API DescribeReservedCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReservedCapacityStatus GetStatus() const
const UltraServerSummary & GetUltraServerSummary() const
const Aws::String & GetAvailabilityZone() const
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue