7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/SageMakerResourceName.h>
64 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
75 template<
typename StartTimeAfterT = Aws::Utils::DateTime>
76 void SetStartTimeAfter(StartTimeAfterT&& value) { m_startTimeAfterHasBeenSet =
true; m_startTimeAfter = std::forward<StartTimeAfterT>(value); }
77 template<
typename StartTimeAfterT = Aws::Utils::DateTime>
88 template<
typename EndTimeBeforeT = Aws::Utils::DateTime>
89 void SetEndTimeBefore(EndTimeBeforeT&& value) { m_endTimeBeforeHasBeenSet =
true; m_endTimeBefore = std::forward<EndTimeBeforeT>(value); }
90 template<
typename EndTimeBeforeT = Aws::Utils::DateTime>
100 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
115 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
116 void SetTargetResources(TargetResourcesT&& value) { m_targetResourcesHasBeenSet =
true; m_targetResources = std::forward<TargetResourcesT>(value); }
117 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
124 bool m_instanceTypeHasBeenSet =
false;
126 int m_instanceCount{0};
127 bool m_instanceCountHasBeenSet =
false;
130 bool m_startTimeAfterHasBeenSet =
false;
133 bool m_endTimeBeforeHasBeenSet =
false;
135 long long m_durationHours{0};
136 bool m_durationHoursHasBeenSet =
false;
139 bool m_targetResourcesHasBeenSet =
false;
AWS_SAGEMAKER_API SearchTrainingPlanOfferingsRequest()=default
long long GetDurationHours() const
SearchTrainingPlanOfferingsRequest & WithEndTimeBefore(EndTimeBeforeT &&value)
const Aws::Utils::DateTime & GetStartTimeAfter() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetEndTimeBefore(EndTimeBeforeT &&value)
void SetTargetResources(TargetResourcesT &&value)
SearchTrainingPlanOfferingsRequest & WithTargetResources(TargetResourcesT &&value)
bool DurationHoursHasBeenSet() const
void SetDurationHours(long long value)
bool StartTimeAfterHasBeenSet() const
SearchTrainingPlanOfferingsRequest & WithDurationHours(long long value)
SearchTrainingPlanOfferingsRequest & WithStartTimeAfter(StartTimeAfterT &&value)
const Aws::Vector< SageMakerResourceName > & GetTargetResources() const
bool InstanceCountHasBeenSet() const
bool InstanceTypeHasBeenSet() const
void SetStartTimeAfter(StartTimeAfterT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceType(ReservedCapacityInstanceType value)
bool EndTimeBeforeHasBeenSet() const
void SetInstanceCount(int value)
int GetInstanceCount() const
SearchTrainingPlanOfferingsRequest & WithInstanceType(ReservedCapacityInstanceType value)
bool TargetResourcesHasBeenSet() const
SearchTrainingPlanOfferingsRequest & WithInstanceCount(int value)
ReservedCapacityInstanceType GetInstanceType() const
const Aws::Utils::DateTime & GetEndTimeBefore() const
virtual const char * GetServiceRequestName() const override
SearchTrainingPlanOfferingsRequest & AddTargetResources(SageMakerResourceName value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ReservedCapacityInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector