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/ec2/model/CallerRole.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/Filter.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeCapacityReservationBillingRequests"; }
70 inline void SetRole(
CallerRole&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
83 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
133 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
139 bool m_capacityReservationIdsHasBeenSet =
false;
142 bool m_roleHasBeenSet =
false;
145 bool m_nextTokenHasBeenSet =
false;
148 bool m_maxResultsHasBeenSet =
false;
151 bool m_filtersHasBeenSet =
false;
154 bool m_dryRunHasBeenSet =
false;
int GetMaxResults() const
DescribeCapacityReservationBillingRequestsRequest & WithNextToken(Aws::String &&value)
DescribeCapacityReservationBillingRequestsRequest & WithRole(CallerRole &&value)
void SetFilters(const Aws::Vector< Filter > &value)
const Aws::Vector< Aws::String > & GetCapacityReservationIds() const
DescribeCapacityReservationBillingRequestsRequest & AddCapacityReservationIds(Aws::String &&value)
void SetMaxResults(int value)
bool NextTokenHasBeenSet() const
DescribeCapacityReservationBillingRequestsRequest & AddCapacityReservationIds(const char *value)
void SetFilters(Aws::Vector< Filter > &&value)
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
bool DryRunHasBeenSet() const
DescribeCapacityReservationBillingRequestsRequest & AddFilters(Filter &&value)
DescribeCapacityReservationBillingRequestsRequest & WithDryRun(bool value)
DescribeCapacityReservationBillingRequestsRequest & AddFilters(const Filter &value)
bool MaxResultsHasBeenSet() const
void SetNextToken(const char *value)
void SetRole(const CallerRole &value)
const CallerRole & GetRole() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetCapacityReservationIds(Aws::Vector< Aws::String > &&value)
DescribeCapacityReservationBillingRequestsRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeCapacityReservationBillingRequestsRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetNextToken(Aws::String &&value)
AWS_EC2_API DescribeCapacityReservationBillingRequestsRequest()
DescribeCapacityReservationBillingRequestsRequest & WithCapacityReservationIds(const Aws::Vector< Aws::String > &value)
void SetNextToken(const Aws::String &value)
bool FiltersHasBeenSet() const
void SetRole(CallerRole &&value)
DescribeCapacityReservationBillingRequestsRequest & WithCapacityReservationIds(Aws::Vector< Aws::String > &&value)
bool RoleHasBeenSet() const
DescribeCapacityReservationBillingRequestsRequest & WithNextToken(const char *value)
DescribeCapacityReservationBillingRequestsRequest & WithRole(const CallerRole &value)
bool CapacityReservationIdsHasBeenSet() const
DescribeCapacityReservationBillingRequestsRequest & WithMaxResults(int value)
DescribeCapacityReservationBillingRequestsRequest & AddCapacityReservationIds(const Aws::String &value)
void SetCapacityReservationIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Filter > & GetFilters() const
const Aws::String & GetNextToken() const
DescribeCapacityReservationBillingRequestsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector