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; }
153 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
168 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
181 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
189 bool m_dryRunHasBeenSet =
false;
192 bool m_startTimeHasBeenSet =
false;
195 bool m_endTimeHasBeenSet =
false;
198 bool m_instanceTypesHasBeenSet =
false;
201 bool m_productDescriptionsHasBeenSet =
false;
204 bool m_filtersHasBeenSet =
false;
207 bool m_availabilityZoneHasBeenSet =
false;
210 bool m_maxResultsHasBeenSet =
false;
213 bool m_nextTokenHasBeenSet =
false;
DescribeSpotPriceHistoryRequest & WithAvailabilityZone(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeSpotPriceHistoryRequest & WithProductDescriptions(const Aws::Vector< Aws::String > &value)
DescribeSpotPriceHistoryRequest & AddFilters(Filter &&value)
const Aws::Vector< Aws::String > & GetProductDescriptions() const
AWS_EC2_API DescribeSpotPriceHistoryRequest()
void SetStartTime(Aws::Utils::DateTime &&value)
DescribeSpotPriceHistoryRequest & WithAvailabilityZone(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
DescribeSpotPriceHistoryRequest & WithNextToken(const char *value)
void SetAvailabilityZone(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetInstanceTypes(const Aws::Vector< InstanceType > &value)
const Aws::String & GetNextToken() const
DescribeSpotPriceHistoryRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetDryRun(bool value)
DescribeSpotPriceHistoryRequest & WithAvailabilityZone(const char *value)
void SetInstanceTypes(Aws::Vector< InstanceType > &&value)
DescribeSpotPriceHistoryRequest & AddFilters(const Filter &value)
bool MaxResultsHasBeenSet() const
void SetFilters(Aws::Vector< Filter > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
bool DryRunHasBeenSet() const
bool ProductDescriptionsHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetNextToken(Aws::String &&value)
DescribeSpotPriceHistoryRequest & AddInstanceTypes(const InstanceType &value)
bool NextTokenHasBeenSet() const
DescribeSpotPriceHistoryRequest & AddProductDescriptions(Aws::String &&value)
DescribeSpotPriceHistoryRequest & AddProductDescriptions(const Aws::String &value)
DescribeSpotPriceHistoryRequest & WithInstanceTypes(Aws::Vector< InstanceType > &&value)
bool AvailabilityZoneHasBeenSet() const
DescribeSpotPriceHistoryRequest & WithInstanceTypes(const Aws::Vector< InstanceType > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetAvailabilityZone() const
DescribeSpotPriceHistoryRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetProductDescriptions(const Aws::Vector< Aws::String > &value)
void SetEndTime(const Aws::Utils::DateTime &value)
DescribeSpotPriceHistoryRequest & WithStartTime(Aws::Utils::DateTime &&value)
bool InstanceTypesHasBeenSet() const
int GetMaxResults() const
DescribeSpotPriceHistoryRequest & WithNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
DescribeSpotPriceHistoryRequest & AddInstanceTypes(InstanceType &&value)
DescribeSpotPriceHistoryRequest & WithProductDescriptions(Aws::Vector< Aws::String > &&value)
void SetProductDescriptions(Aws::Vector< Aws::String > &&value)
void SetMaxResults(int value)
DescribeSpotPriceHistoryRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeSpotPriceHistoryRequest & WithNextToken(const Aws::String &value)
const Aws::Vector< Filter > & GetFilters() const
void SetAvailabilityZone(Aws::String &&value)
DescribeSpotPriceHistoryRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeSpotPriceHistoryRequest & AddProductDescriptions(const char *value)
bool StartTimeHasBeenSet() const
void SetFilters(const Aws::Vector< Filter > &value)
void SetAvailabilityZone(const char *value)
const Aws::Vector< InstanceType > & GetInstanceTypes() const
bool FiltersHasBeenSet() const
DescribeSpotPriceHistoryRequest & WithDryRun(bool value)
DescribeSpotPriceHistoryRequest & WithMaxResults(int value)
DescribeSpotPriceHistoryRequest & WithFilters(const Aws::Vector< Filter > &value)
void SetNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector