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>
47 template<
typename ElasticGpuIdsT = Aws::Vector<Aws::String>>
48 void SetElasticGpuIds(ElasticGpuIdsT&& value) { m_elasticGpuIdsHasBeenSet =
true; m_elasticGpuIds = std::forward<ElasticGpuIdsT>(value); }
49 template<
typename ElasticGpuIdsT = Aws::Vector<Aws::String>>
51 template<
typename ElasticGpuIdsT = Aws::String>
64 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
82 template<
typename FiltersT = Aws::Vector<Filter>>
83 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
84 template<
typename FiltersT = Aws::Vector<Filter>>
86 template<
typename FiltersT = Filter>
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
108 template<
typename NextTokenT = Aws::String>
109 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
110 template<
typename NextTokenT = Aws::String>
116 bool m_elasticGpuIdsHasBeenSet =
false;
118 bool m_dryRun{
false};
119 bool m_dryRunHasBeenSet =
false;
122 bool m_filtersHasBeenSet =
false;
125 bool m_maxResultsHasBeenSet =
false;
128 bool m_nextTokenHasBeenSet =
false;
DescribeElasticGpusRequest & AddElasticGpuIds(ElasticGpuIdsT &&value)
DescribeElasticGpusRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetElasticGpuIds() const
virtual const char * GetServiceRequestName() const override
bool ElasticGpuIdsHasBeenSet() const
AWS_EC2_API DescribeElasticGpusRequest()=default
int GetMaxResults() const
void SetElasticGpuIds(ElasticGpuIdsT &&value)
bool FiltersHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DryRunHasBeenSet() const
DescribeElasticGpusRequest & WithMaxResults(int value)
void SetDryRun(bool value)
void SetNextToken(NextTokenT &&value)
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
bool NextTokenHasBeenSet() const
void SetFilters(FiltersT &&value)
DescribeElasticGpusRequest & WithFilters(FiltersT &&value)
DescribeElasticGpusRequest & WithElasticGpuIds(ElasticGpuIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeElasticGpusRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
DescribeElasticGpusRequest & AddFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector