7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMakerRequest.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/ReservedCapacityInstanceType.h>
13#include <aws/sagemaker/model/SageMakerResourceName.h>
49 m_instanceTypeHasBeenSet =
true;
50 m_instanceType = value;
68 m_instanceCountHasBeenSet =
true;
69 m_instanceCount = value;
83 template <
typename UltraServerTypeT = Aws::String>
85 m_ultraServerTypeHasBeenSet =
true;
86 m_ultraServerType = std::forward<UltraServerTypeT>(value);
88 template <
typename UltraServerTypeT = Aws::String>
102 m_ultraServerCountHasBeenSet =
true;
103 m_ultraServerCount = value;
118 template <
typename StartTimeAfterT = Aws::Utils::DateTime>
120 m_startTimeAfterHasBeenSet =
true;
121 m_startTimeAfter = std::forward<StartTimeAfterT>(value);
123 template <
typename StartTimeAfterT = Aws::Utils::DateTime>
137 template <
typename EndTimeBeforeT = Aws::Utils::DateTime>
139 m_endTimeBeforeHasBeenSet =
true;
140 m_endTimeBefore = std::forward<EndTimeBeforeT>(value);
142 template <
typename EndTimeBeforeT = Aws::Utils::DateTime>
156 m_durationHoursHasBeenSet =
true;
157 m_durationHours = value;
178 template <
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
180 m_targetResourcesHasBeenSet =
true;
181 m_targetResources = std::forward<TargetResourcesT>(value);
183 template <
typename TargetResourcesT = Aws::Vector<SageMakerResourceName>>
189 m_targetResourcesHasBeenSet =
true;
190 m_targetResources.push_back(value);
197 int m_instanceCount{0};
201 int m_ultraServerCount{0};
207 long long m_durationHours{0};
210 bool m_instanceTypeHasBeenSet =
false;
211 bool m_instanceCountHasBeenSet =
false;
212 bool m_ultraServerTypeHasBeenSet =
false;
213 bool m_ultraServerCountHasBeenSet =
false;
214 bool m_startTimeAfterHasBeenSet =
false;
215 bool m_endTimeBeforeHasBeenSet =
false;
216 bool m_durationHoursHasBeenSet =
false;
217 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