7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SageMakerResourceName.h>
12#include <aws/sagemaker/model/ReservedCapacityOffering.h>
54 template<
typename TrainingPlanOfferingIdT = Aws::String>
55 void SetTrainingPlanOfferingId(TrainingPlanOfferingIdT&& value) { m_trainingPlanOfferingIdHasBeenSet =
true; m_trainingPlanOfferingId = std::forward<TrainingPlanOfferingIdT>(value); }
56 template<
typename TrainingPlanOfferingIdT = Aws::String>
71 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
72 void SetTargetResources(TargetResourcesT&& value) { m_targetResourcesHasBeenSet =
true; m_targetResources = std::forward<TargetResourcesT>(value); }
73 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
85 template<
typename RequestedStartTimeAfterT = Aws::Utils::DateTime>
86 void SetRequestedStartTimeAfter(RequestedStartTimeAfterT&& value) { m_requestedStartTimeAfterHasBeenSet =
true; m_requestedStartTimeAfter = std::forward<RequestedStartTimeAfterT>(value); }
87 template<
typename RequestedStartTimeAfterT = Aws::Utils::DateTime>
98 template<
typename RequestedEndTimeBeforeT = Aws::Utils::DateTime>
99 void SetRequestedEndTimeBefore(RequestedEndTimeBeforeT&& value) { m_requestedEndTimeBeforeHasBeenSet =
true; m_requestedEndTimeBefore = std::forward<RequestedEndTimeBeforeT>(value); }
100 template<
typename RequestedEndTimeBeforeT = Aws::Utils::DateTime>
111 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
122 inline void SetDurationMinutes(
long long value) { m_durationMinutesHasBeenSet =
true; m_durationMinutes = value; }
132 template<
typename UpfrontFeeT = Aws::String>
133 void SetUpfrontFee(UpfrontFeeT&& value) { m_upfrontFeeHasBeenSet =
true; m_upfrontFee = std::forward<UpfrontFeeT>(value); }
134 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>
157 template<
typename ReservedCapacityOfferingsT = Aws::Vector<ReservedCapacityOffering>>
158 void SetReservedCapacityOfferings(ReservedCapacityOfferingsT&& value) { m_reservedCapacityOfferingsHasBeenSet =
true; m_reservedCapacityOfferings = std::forward<ReservedCapacityOfferingsT>(value); }
159 template<
typename ReservedCapacityOfferingsT = Aws::Vector<ReservedCapacityOffering>>
161 template<
typename ReservedCapacityOfferingsT = ReservedCapacityOffering>
167 bool m_trainingPlanOfferingIdHasBeenSet =
false;
170 bool m_targetResourcesHasBeenSet =
false;
173 bool m_requestedStartTimeAfterHasBeenSet =
false;
176 bool m_requestedEndTimeBeforeHasBeenSet =
false;
178 long long m_durationHours{0};
179 bool m_durationHoursHasBeenSet =
false;
181 long long m_durationMinutes{0};
182 bool m_durationMinutesHasBeenSet =
false;
185 bool m_upfrontFeeHasBeenSet =
false;
188 bool m_currencyCodeHasBeenSet =
false;
191 bool m_reservedCapacityOfferingsHasBeenSet =
false;
void SetDurationHours(long long value)
bool UpfrontFeeHasBeenSet() const
void SetUpfrontFee(UpfrontFeeT &&value)
TrainingPlanOffering & WithReservedCapacityOfferings(ReservedCapacityOfferingsT &&value)
TrainingPlanOffering & WithTargetResources(TargetResourcesT &&value)
AWS_SAGEMAKER_API TrainingPlanOffering()=default
const Aws::Vector< ReservedCapacityOffering > & GetReservedCapacityOfferings() const
TrainingPlanOffering & WithUpfrontFee(UpfrontFeeT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
bool CurrencyCodeHasBeenSet() const
long long GetDurationMinutes() const
bool ReservedCapacityOfferingsHasBeenSet() const
bool RequestedStartTimeAfterHasBeenSet() const
TrainingPlanOffering & WithDurationHours(long long value)
bool TrainingPlanOfferingIdHasBeenSet() const
bool DurationHoursHasBeenSet() const
TrainingPlanOffering & WithRequestedEndTimeBefore(RequestedEndTimeBeforeT &&value)
const Aws::String & GetUpfrontFee() const
void SetRequestedEndTimeBefore(RequestedEndTimeBeforeT &&value)
const Aws::String & GetCurrencyCode() const
void SetTrainingPlanOfferingId(TrainingPlanOfferingIdT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingPlanOffering & WithCurrencyCode(CurrencyCodeT &&value)
bool RequestedEndTimeBeforeHasBeenSet() const
AWS_SAGEMAKER_API TrainingPlanOffering(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SageMakerResourceName > & GetTargetResources() const
TrainingPlanOffering & WithDurationMinutes(long long value)
const Aws::Utils::DateTime & GetRequestedEndTimeBefore() const
TrainingPlanOffering & WithRequestedStartTimeAfter(RequestedStartTimeAfterT &&value)
void SetDurationMinutes(long long value)
long long GetDurationHours() const
bool TargetResourcesHasBeenSet() const
void SetTargetResources(TargetResourcesT &&value)
void SetReservedCapacityOfferings(ReservedCapacityOfferingsT &&value)
TrainingPlanOffering & WithTrainingPlanOfferingId(TrainingPlanOfferingIdT &&value)
bool DurationMinutesHasBeenSet() const
TrainingPlanOffering & AddReservedCapacityOfferings(ReservedCapacityOfferingsT &&value)
const Aws::String & GetTrainingPlanOfferingId() const
AWS_SAGEMAKER_API TrainingPlanOffering & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingPlanOffering & AddTargetResources(SageMakerResourceName value)
void SetRequestedStartTimeAfter(RequestedStartTimeAfterT &&value)
const Aws::Utils::DateTime & GetRequestedStartTimeAfter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue