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>
64 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
79 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
156 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
162 bool m_capacityReservationIdsHasBeenSet =
false;
165 bool m_nextTokenHasBeenSet =
false;
168 bool m_maxResultsHasBeenSet =
false;
171 bool m_filtersHasBeenSet =
false;
174 bool m_dryRunHasBeenSet =
false;
DescribeCapacityReservationsRequest & WithMaxResults(int value)
bool DryRunHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DescribeCapacityReservationsRequest & WithFilters(Aws::Vector< Filter > &&value)
int GetMaxResults() const
DescribeCapacityReservationsRequest & WithNextToken(const char *value)
bool NextTokenHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNextToken(Aws::String &&value)
DescribeCapacityReservationsRequest & WithCapacityReservationIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Filter > & GetFilters() const
void SetNextToken(const char *value)
const Aws::String & GetNextToken() const
DescribeCapacityReservationsRequest & AddCapacityReservationIds(Aws::String &&value)
void SetCapacityReservationIds(const Aws::Vector< Aws::String > &value)
DescribeCapacityReservationsRequest & WithCapacityReservationIds(const Aws::Vector< Aws::String > &value)
bool MaxResultsHasBeenSet() const
const Aws::Vector< Aws::String > & GetCapacityReservationIds() const
void SetFilters(const Aws::Vector< Filter > &value)
DescribeCapacityReservationsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeCapacityReservationsRequest & AddFilters(Filter &&value)
DescribeCapacityReservationsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
DescribeCapacityReservationsRequest & AddCapacityReservationIds(const Aws::String &value)
void SetCapacityReservationIds(Aws::Vector< Aws::String > &&value)
bool CapacityReservationIdsHasBeenSet() const
DescribeCapacityReservationsRequest & AddCapacityReservationIds(const char *value)
void SetFilters(Aws::Vector< Filter > &&value)
void SetMaxResults(int value)
void SetDryRun(bool value)
AWS_EC2_API DescribeCapacityReservationsRequest()
DescribeCapacityReservationsRequest & WithDryRun(bool value)
DescribeCapacityReservationsRequest & WithNextToken(const Aws::String &value)
bool FiltersHasBeenSet() const
DescribeCapacityReservationsRequest & AddFilters(const Filter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector