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 CapacityBlockIdsT = Aws::Vector<Aws::String>>
48 void SetCapacityBlockIds(CapacityBlockIdsT&& value) { m_capacityBlockIdsHasBeenSet =
true; m_capacityBlockIds = std::forward<CapacityBlockIdsT>(value); }
49 template<
typename CapacityBlockIdsT = Aws::Vector<Aws::String>>
51 template<
typename CapacityBlockIdsT = Aws::String>
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
76 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
88 template<
typename FiltersT = Aws::Vector<Filter>>
89 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
90 template<
typename FiltersT = Aws::Vector<Filter>>
92 template<
typename FiltersT = Filter>
105 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
111 bool m_capacityBlockIdsHasBeenSet =
false;
114 bool m_nextTokenHasBeenSet =
false;
117 bool m_maxResultsHasBeenSet =
false;
120 bool m_filtersHasBeenSet =
false;
122 bool m_dryRun{
false};
123 bool m_dryRunHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetCapacityBlockIds() const
bool CapacityBlockIdsHasBeenSet() const
DescribeCapacityBlockStatusRequest & WithDryRun(bool value)
void SetMaxResults(int value)
void SetFilters(FiltersT &&value)
DescribeCapacityBlockStatusRequest & AddFilters(FiltersT &&value)
DescribeCapacityBlockStatusRequest & WithNextToken(NextTokenT &&value)
AWS_EC2_API DescribeCapacityBlockStatusRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeCapacityBlockStatusRequest & AddCapacityBlockIds(CapacityBlockIdsT &&value)
DescribeCapacityBlockStatusRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
bool DryRunHasBeenSet() const
DescribeCapacityBlockStatusRequest & WithFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
void SetCapacityBlockIds(CapacityBlockIdsT &&value)
DescribeCapacityBlockStatusRequest & WithCapacityBlockIds(CapacityBlockIdsT &&value)
int GetMaxResults() const
void SetNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector