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/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/SageMakerResourceName.h>
65 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
75 template<
typename UltraServerTypeT = Aws::String>
76 void SetUltraServerType(UltraServerTypeT&& value) { m_ultraServerTypeHasBeenSet =
true; m_ultraServerType = std::forward<UltraServerTypeT>(value); }
77 template<
typename UltraServerTypeT = Aws::String>
87 inline void SetUltraServerCount(
int value) { m_ultraServerCountHasBeenSet =
true; m_ultraServerCount = value; }
98 template<
typename StartTimeAfterT = Aws::Utils::DateTime>
99 void SetStartTimeAfter(StartTimeAfterT&& value) { m_startTimeAfterHasBeenSet =
true; m_startTimeAfter = std::forward<StartTimeAfterT>(value); }
100 template<
typename StartTimeAfterT = Aws::Utils::DateTime>
111 template<
typename EndTimeBeforeT = Aws::Utils::DateTime>
112 void SetEndTimeBefore(EndTimeBeforeT&& value) { m_endTimeBeforeHasBeenSet =
true; m_endTimeBefore = std::forward<EndTimeBeforeT>(value); }
113 template<
typename EndTimeBeforeT = Aws::Utils::DateTime>
123 inline void SetDurationHours(
long long value) { m_durationHoursHasBeenSet =
true; m_durationHours = value; }
138 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
139 void SetTargetResources(TargetResourcesT&& value) { m_targetResourcesHasBeenSet =
true; m_targetResources = std::forward<TargetResourcesT>(value); }
140 template<
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
147 bool m_instanceTypeHasBeenSet =
false;
149 int m_instanceCount{0};
150 bool m_instanceCountHasBeenSet =
false;
153 bool m_ultraServerTypeHasBeenSet =
false;
155 int m_ultraServerCount{0};
156 bool m_ultraServerCountHasBeenSet =
false;
159 bool m_startTimeAfterHasBeenSet =
false;
162 bool m_endTimeBeforeHasBeenSet =
false;
164 long long m_durationHours{0};
165 bool m_durationHoursHasBeenSet =
false;
168 bool m_targetResourcesHasBeenSet =
false;
AWS_SAGEMAKER_API SearchTrainingPlanOfferingsRequest()=default
long long GetDurationHours() const
SearchTrainingPlanOfferingsRequest & WithUltraServerCount(int value)
SearchTrainingPlanOfferingsRequest & WithEndTimeBefore(EndTimeBeforeT &&value)
const Aws::Utils::DateTime & GetStartTimeAfter() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool UltraServerCountHasBeenSet() const
void SetEndTimeBefore(EndTimeBeforeT &&value)
SearchTrainingPlanOfferingsRequest & WithUltraServerType(UltraServerTypeT &&value)
void SetUltraServerType(UltraServerTypeT &&value)
void SetTargetResources(TargetResourcesT &&value)
SearchTrainingPlanOfferingsRequest & WithTargetResources(TargetResourcesT &&value)
bool DurationHoursHasBeenSet() const
void SetDurationHours(long long value)
int GetUltraServerCount() const
void SetUltraServerCount(int value)
bool StartTimeAfterHasBeenSet() const
SearchTrainingPlanOfferingsRequest & WithDurationHours(long long value)
SearchTrainingPlanOfferingsRequest & WithStartTimeAfter(StartTimeAfterT &&value)
bool UltraServerTypeHasBeenSet() const
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
const Aws::String & GetUltraServerType() 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