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>
66 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
126 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
141 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
147 bool m_volumeIdsHasBeenSet =
false;
150 bool m_dryRunHasBeenSet =
false;
153 bool m_filtersHasBeenSet =
false;
156 bool m_nextTokenHasBeenSet =
false;
159 bool m_maxResultsHasBeenSet =
false;
bool VolumeIdsHasBeenSet() const
void SetDryRun(bool value)
DescribeVolumesRequest & AddFilters(const Filter &value)
const Aws::String & GetNextToken() const
DescribeVolumesRequest & AddVolumeIds(const Aws::String &value)
DescribeVolumesRequest & AddVolumeIds(Aws::String &&value)
DescribeVolumesRequest & AddFilters(Filter &&value)
AWS_EC2_API DescribeVolumesRequest()
void SetNextToken(const char *value)
DescribeVolumesRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVolumeIds() const
void SetFilters(const Aws::Vector< Filter > &value)
DescribeVolumesRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
DescribeVolumesRequest & AddVolumeIds(const char *value)
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetVolumeIds(const Aws::Vector< Aws::String > &value)
bool NextTokenHasBeenSet() const
DescribeVolumesRequest & WithDryRun(bool value)
DescribeVolumesRequest & WithFilters(const Aws::Vector< Filter > &value)
bool DryRunHasBeenSet() const
void SetMaxResults(int value)
DescribeVolumesRequest & WithMaxResults(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetFilters(Aws::Vector< Filter > &&value)
DescribeVolumesRequest & WithNextToken(const Aws::String &value)
void SetVolumeIds(Aws::Vector< Aws::String > &&value)
void SetNextToken(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeVolumesRequest & WithVolumeIds(Aws::Vector< Aws::String > &&value)
bool FiltersHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
DescribeVolumesRequest & WithVolumeIds(const Aws::Vector< Aws::String > &value)
int GetMaxResults() const
DescribeVolumesRequest & WithFilters(Aws::Vector< Filter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector