7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/TrainingPlanStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/SageMakerResourceName.h>
13#include <aws/sagemaker/model/ReservedCapacitySummary.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename TrainingPlanArnT = Aws::String>
46 void SetTrainingPlanArn(TrainingPlanArnT&& value) { m_trainingPlanArnHasBeenSet =
true; m_trainingPlanArn = std::forward<TrainingPlanArnT>(value); }
47 template<
typename TrainingPlanArnT = Aws::String>
56 template<
typename TrainingPlanNameT = Aws::String>
57 void SetTrainingPlanName(TrainingPlanNameT&& value) { m_trainingPlanNameHasBeenSet =
true; m_trainingPlanName = std::forward<TrainingPlanNameT>(value); }
58 template<
typename TrainingPlanNameT = Aws::String>
81 template<
typename StatusMessageT = Aws::String>
82 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
83 template<
typename StatusMessageT = Aws::String>
92 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
102 inline void SetDurationMinutes(
long long value) { m_durationMinutesHasBeenSet =
true; m_durationMinutes = value; }
111 template<
typename StartTimeT = Aws::Utils::DateTime>
112 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
113 template<
typename StartTimeT = Aws::Utils::DateTime>
122 template<
typename EndTimeT = Aws::Utils::DateTime>
123 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
124 template<
typename EndTimeT = Aws::Utils::DateTime>
133 template<
typename UpfrontFeeT = Aws::String>
134 void SetUpfrontFee(UpfrontFeeT&& value) { m_upfrontFeeHasBeenSet =
true; m_upfrontFee = std::forward<UpfrontFeeT>(value); }
135 template<
typename UpfrontFeeT = Aws::String>
144 template<
typename CurrencyCodeT = Aws::String>
145 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
146 template<
typename CurrencyCodeT = Aws::String>
155 inline void SetTotalInstanceCount(
int value) { m_totalInstanceCountHasBeenSet =
true; m_totalInstanceCount = value; }
174 inline void SetInUseInstanceCount(
int value) { m_inUseInstanceCountHasBeenSet =
true; m_inUseInstanceCount = value; }
216 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
217 void SetTargetResources(TargetResourcesT&& value) { m_targetResourcesHasBeenSet =
true; m_targetResources = std::forward<TargetResourcesT>(value); }
218 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
229 template<
typename ReservedCapacitySummariesT = Aws::Vector<ReservedCapacitySummary>>
230 void SetReservedCapacitySummaries(ReservedCapacitySummariesT&& value) { m_reservedCapacitySummariesHasBeenSet =
true; m_reservedCapacitySummaries = std::forward<ReservedCapacitySummariesT>(value); }
231 template<
typename ReservedCapacitySummariesT = Aws::Vector<ReservedCapacitySummary>>
233 template<
typename ReservedCapacitySummariesT = ReservedCapacitySummary>
240 template<
typename RequestIdT = Aws::String>
241 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
242 template<
typename RequestIdT = Aws::String>
248 bool m_trainingPlanArnHasBeenSet =
false;
251 bool m_trainingPlanNameHasBeenSet =
false;
254 bool m_statusHasBeenSet =
false;
257 bool m_statusMessageHasBeenSet =
false;
259 long long m_durationHours{0};
260 bool m_durationHoursHasBeenSet =
false;
262 long long m_durationMinutes{0};
263 bool m_durationMinutesHasBeenSet =
false;
266 bool m_startTimeHasBeenSet =
false;
269 bool m_endTimeHasBeenSet =
false;
272 bool m_upfrontFeeHasBeenSet =
false;
275 bool m_currencyCodeHasBeenSet =
false;
277 int m_totalInstanceCount{0};
278 bool m_totalInstanceCountHasBeenSet =
false;
280 int m_availableInstanceCount{0};
281 bool m_availableInstanceCountHasBeenSet =
false;
283 int m_inUseInstanceCount{0};
284 bool m_inUseInstanceCountHasBeenSet =
false;
286 int m_unhealthyInstanceCount{0};
287 bool m_unhealthyInstanceCountHasBeenSet =
false;
289 int m_availableSpareInstanceCount{0};
290 bool m_availableSpareInstanceCountHasBeenSet =
false;
292 int m_totalUltraServerCount{0};
293 bool m_totalUltraServerCountHasBeenSet =
false;
296 bool m_targetResourcesHasBeenSet =
false;
299 bool m_reservedCapacitySummariesHasBeenSet =
false;
302 bool m_requestIdHasBeenSet =
false;
void SetEndTime(EndTimeT &&value)
DescribeTrainingPlanResult & WithUpfrontFee(UpfrontFeeT &&value)
const Aws::String & GetCurrencyCode() const
DescribeTrainingPlanResult & WithStartTime(StartTimeT &&value)
long long GetDurationMinutes() const
void SetTotalUltraServerCount(int value)
int GetAvailableSpareInstanceCount() const
DescribeTrainingPlanResult & AddReservedCapacitySummaries(ReservedCapacitySummariesT &&value)
void SetStatusMessage(StatusMessageT &&value)
void SetInUseInstanceCount(int value)
void SetReservedCapacitySummaries(ReservedCapacitySummariesT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
void SetTrainingPlanArn(TrainingPlanArnT &&value)
int GetAvailableInstanceCount() const
void SetAvailableInstanceCount(int value)
const Aws::String & GetTrainingPlanName() const
DescribeTrainingPlanResult & WithStatus(TrainingPlanStatus value)
DescribeTrainingPlanResult & WithCurrencyCode(CurrencyCodeT &&value)
void SetAvailableSpareInstanceCount(int value)
void SetUpfrontFee(UpfrontFeeT &&value)
DescribeTrainingPlanResult & WithRequestId(RequestIdT &&value)
DescribeTrainingPlanResult & WithStatusMessage(StatusMessageT &&value)
const Aws::Utils::DateTime & GetEndTime() const
int GetUnhealthyInstanceCount() const
const Aws::String & GetTrainingPlanArn() const
const Aws::String & GetStatusMessage() const
AWS_SAGEMAKER_API DescribeTrainingPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrainingPlanResult & WithReservedCapacitySummaries(ReservedCapacitySummariesT &&value)
const Aws::Vector< SageMakerResourceName > & GetTargetResources() const
DescribeTrainingPlanResult & WithTargetResources(TargetResourcesT &&value)
DescribeTrainingPlanResult & WithUnhealthyInstanceCount(int value)
DescribeTrainingPlanResult & WithDurationHours(long long value)
const Aws::String & GetRequestId() const
void SetStatus(TrainingPlanStatus value)
DescribeTrainingPlanResult & WithDurationMinutes(long long value)
DescribeTrainingPlanResult & WithTrainingPlanName(TrainingPlanNameT &&value)
long long GetDurationHours() const
void SetTotalInstanceCount(int value)
const Aws::String & GetUpfrontFee() const
const Aws::Vector< ReservedCapacitySummary > & GetReservedCapacitySummaries() const
void SetTargetResources(TargetResourcesT &&value)
DescribeTrainingPlanResult & WithTotalUltraServerCount(int value)
DescribeTrainingPlanResult & WithEndTime(EndTimeT &&value)
void SetUnhealthyInstanceCount(int value)
void SetDurationHours(long long value)
int GetTotalInstanceCount() const
int GetTotalUltraServerCount() const
const Aws::Utils::DateTime & GetStartTime() const
DescribeTrainingPlanResult & AddTargetResources(SageMakerResourceName value)
DescribeTrainingPlanResult & WithTotalInstanceCount(int value)
TrainingPlanStatus GetStatus() const
void SetTrainingPlanName(TrainingPlanNameT &&value)
AWS_SAGEMAKER_API DescribeTrainingPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrainingPlanResult & WithAvailableSpareInstanceCount(int value)
void SetStartTime(StartTimeT &&value)
DescribeTrainingPlanResult & WithTrainingPlanArn(TrainingPlanArnT &&value)
int GetInUseInstanceCount() const
AWS_SAGEMAKER_API DescribeTrainingPlanResult()=default
DescribeTrainingPlanResult & WithAvailableInstanceCount(int value)
void SetRequestId(RequestIdT &&value)
DescribeTrainingPlanResult & WithInUseInstanceCount(int value)
void SetDurationMinutes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue