7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
65 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
99 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
111 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
119 bool m_elasticGpuIdsHasBeenSet =
false;
122 bool m_dryRunHasBeenSet =
false;
125 bool m_filtersHasBeenSet =
false;
128 bool m_maxResultsHasBeenSet =
false;
131 bool m_nextTokenHasBeenSet =
false;
void SetNextToken(Aws::String &&value)
DescribeElasticGpusRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_EC2_API DescribeElasticGpusRequest()
DescribeElasticGpusRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetElasticGpuIds() const
virtual const char * GetServiceRequestName() const override
bool ElasticGpuIdsHasBeenSet() const
DescribeElasticGpusRequest & AddElasticGpuIds(Aws::String &&value)
void SetElasticGpuIds(Aws::Vector< Aws::String > &&value)
void SetNextToken(const Aws::String &value)
int GetMaxResults() const
void SetNextToken(const char *value)
DescribeElasticGpusRequest & WithNextToken(Aws::String &&value)
DescribeElasticGpusRequest & AddElasticGpuIds(const Aws::String &value)
DescribeElasticGpusRequest & AddFilters(const Filter &value)
bool FiltersHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeElasticGpusRequest & AddFilters(Filter &&value)
DescribeElasticGpusRequest & AddElasticGpuIds(const char *value)
DescribeElasticGpusRequest & WithElasticGpuIds(const Aws::Vector< Aws::String > &value)
bool DryRunHasBeenSet() const
DescribeElasticGpusRequest & WithMaxResults(int value)
void SetDryRun(bool value)
DescribeElasticGpusRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetFilters(const Aws::Vector< Filter > &value)
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
bool NextTokenHasBeenSet() const
DescribeElasticGpusRequest & WithNextToken(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeElasticGpusRequest & WithElasticGpuIds(Aws::Vector< Aws::String > &&value)
void SetFilters(Aws::Vector< Filter > &&value)
DescribeElasticGpusRequest & WithNextToken(const char *value)
void SetElasticGpuIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector