7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/InstanceType.h>
13#include <aws/ec2/model/Filter.h>
56 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
68 template<
typename StartTimeT = Aws::Utils::DateTime>
69 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
70 template<
typename StartTimeT = Aws::Utils::DateTime>
82 template<
typename EndTimeT = Aws::Utils::DateTime>
83 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
84 template<
typename EndTimeT = Aws::Utils::DateTime>
94 template<
typename InstanceTypesT = Aws::Vector<InstanceType>>
95 void SetInstanceTypes(InstanceTypesT&& value) { m_instanceTypesHasBeenSet =
true; m_instanceTypes = std::forward<InstanceTypesT>(value); }
96 template<
typename InstanceTypesT = Aws::Vector<InstanceType>>
107 template<
typename ProductDescriptionsT = Aws::Vector<Aws::String>>
108 void SetProductDescriptions(ProductDescriptionsT&& value) { m_productDescriptionsHasBeenSet =
true; m_productDescriptions = std::forward<ProductDescriptionsT>(value); }
109 template<
typename ProductDescriptionsT = Aws::Vector<Aws::String>>
111 template<
typename ProductDescriptionsT = Aws::String>
135 template<
typename FiltersT = Aws::Vector<Filter>>
136 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
137 template<
typename FiltersT = Aws::Vector<Filter>>
139 template<
typename FiltersT = Filter>
149 template<
typename AvailabilityZoneT = Aws::String>
150 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
151 template<
typename AvailabilityZoneT = Aws::String>
164 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
175 template<
typename NextTokenT = Aws::String>
176 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
177 template<
typename NextTokenT = Aws::String>
182 bool m_dryRun{
false};
183 bool m_dryRunHasBeenSet =
false;
186 bool m_startTimeHasBeenSet =
false;
189 bool m_endTimeHasBeenSet =
false;
192 bool m_instanceTypesHasBeenSet =
false;
195 bool m_productDescriptionsHasBeenSet =
false;
198 bool m_filtersHasBeenSet =
false;
201 bool m_availabilityZoneHasBeenSet =
false;
204 bool m_maxResultsHasBeenSet =
false;
207 bool m_nextTokenHasBeenSet =
false;
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetProductDescriptions() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetEndTime() const
DescribeSpotPriceHistoryRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNextToken() const
DescribeSpotPriceHistoryRequest & WithInstanceTypes(InstanceTypesT &&value)
void SetDryRun(bool value)
DescribeSpotPriceHistoryRequest & WithNextToken(NextTokenT &&value)
bool MaxResultsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool DryRunHasBeenSet() const
bool ProductDescriptionsHasBeenSet() const
bool EndTimeHasBeenSet() const
bool NextTokenHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetAvailabilityZone() const
DescribeSpotPriceHistoryRequest & WithProductDescriptions(ProductDescriptionsT &&value)
AWS_EC2_API DescribeSpotPriceHistoryRequest()=default
bool InstanceTypesHasBeenSet() const
DescribeSpotPriceHistoryRequest & AddInstanceTypes(InstanceType value)
int GetMaxResults() const
DescribeSpotPriceHistoryRequest & AddFilters(FiltersT &&value)
DescribeSpotPriceHistoryRequest & AddProductDescriptions(ProductDescriptionsT &&value)
void SetFilters(FiltersT &&value)
DescribeSpotPriceHistoryRequest & WithStartTime(StartTimeT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetInstanceTypes(InstanceTypesT &&value)
DescribeSpotPriceHistoryRequest & WithEndTime(EndTimeT &&value)
void SetMaxResults(int value)
DescribeSpotPriceHistoryRequest & WithFilters(FiltersT &&value)
const Aws::Vector< Filter > & GetFilters() const
bool StartTimeHasBeenSet() const
const Aws::Vector< InstanceType > & GetInstanceTypes() const
void SetStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
bool FiltersHasBeenSet() const
DescribeSpotPriceHistoryRequest & WithDryRun(bool value)
DescribeSpotPriceHistoryRequest & WithMaxResults(int value)
void SetProductDescriptions(ProductDescriptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector