7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Filter.h>
54 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
69 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
82 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
190 bool m_nextTokenHasBeenSet =
false;
193 bool m_maxResultsHasBeenSet =
false;
196 bool m_dryRunHasBeenSet =
false;
199 bool m_spotInstanceRequestIdsHasBeenSet =
false;
202 bool m_filtersHasBeenSet =
false;
DescribeSpotInstanceRequestsRequest & AddFilters(Filter &&value)
DescribeSpotInstanceRequestsRequest & WithSpotInstanceRequestIds(Aws::Vector< Aws::String > &&value)
void SetFilters(Aws::Vector< Filter > &&value)
void SetNextToken(Aws::String &&value)
DescribeSpotInstanceRequestsRequest & WithMaxResults(int value)
DescribeSpotInstanceRequestsRequest & WithFilters(Aws::Vector< Filter > &&value)
const Aws::String & GetNextToken() const
AWS_EC2_API DescribeSpotInstanceRequestsRequest()
bool FiltersHasBeenSet() const
int GetMaxResults() const
const Aws::Vector< Aws::String > & GetSpotInstanceRequestIds() const
void SetSpotInstanceRequestIds(Aws::Vector< Aws::String > &&value)
void SetNextToken(const Aws::String &value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeSpotInstanceRequestsRequest & WithSpotInstanceRequestIds(const Aws::Vector< Aws::String > &value)
void SetMaxResults(int value)
DescribeSpotInstanceRequestsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeSpotInstanceRequestsRequest & AddFilters(const Filter &value)
virtual const char * GetServiceRequestName() const override
bool DryRunHasBeenSet() const
bool SpotInstanceRequestIdsHasBeenSet() const
DescribeSpotInstanceRequestsRequest & AddSpotInstanceRequestIds(Aws::String &&value)
const Aws::Vector< Filter > & GetFilters() const
void SetNextToken(const char *value)
DescribeSpotInstanceRequestsRequest & WithNextToken(const Aws::String &value)
bool MaxResultsHasBeenSet() const
DescribeSpotInstanceRequestsRequest & WithNextToken(Aws::String &&value)
bool NextTokenHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSpotInstanceRequestsRequest & WithDryRun(bool value)
DescribeSpotInstanceRequestsRequest & AddSpotInstanceRequestIds(const Aws::String &value)
void SetDryRun(bool value)
void SetSpotInstanceRequestIds(const Aws::Vector< Aws::String > &value)
DescribeSpotInstanceRequestsRequest & WithNextToken(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeSpotInstanceRequestsRequest & AddSpotInstanceRequestIds(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector