7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
43 template <
typename CarrierGatewayIdsT = Aws::Vector<Aws::String>>
45 m_carrierGatewayIdsHasBeenSet =
true;
46 m_carrierGatewayIds = std::forward<CarrierGatewayIdsT>(value);
48 template <
typename CarrierGatewayIdsT = Aws::Vector<Aws::String>>
53 template <
typename CarrierGatewayIdsT = Aws::String>
55 m_carrierGatewayIdsHasBeenSet =
true;
56 m_carrierGatewayIds.emplace_back(std::forward<CarrierGatewayIdsT>(value));
81 template <
typename FiltersT = Aws::Vector<Filter>>
83 m_filtersHasBeenSet =
true;
84 m_filters = std::forward<FiltersT>(value);
86 template <
typename FiltersT = Aws::Vector<Filter>>
91 template <
typename FiltersT = Filter>
93 m_filtersHasBeenSet =
true;
94 m_filters.emplace_back(std::forward<FiltersT>(value));
108 m_maxResultsHasBeenSet =
true;
109 m_maxResults = value;
123 template <
typename NextTokenT = Aws::String>
125 m_nextTokenHasBeenSet =
true;
126 m_nextToken = std::forward<NextTokenT>(value);
128 template <
typename NextTokenT = Aws::String>
145 m_dryRunHasBeenSet =
true;
162 bool m_dryRun{
false};
163 bool m_carrierGatewayIdsHasBeenSet =
false;
164 bool m_filtersHasBeenSet =
false;
165 bool m_maxResultsHasBeenSet =
false;
166 bool m_nextTokenHasBeenSet =
false;
167 bool m_dryRunHasBeenSet =
false;
bool MaxResultsHasBeenSet() const
void SetCarrierGatewayIds(CarrierGatewayIdsT &&value)
const Aws::Vector< Aws::String > & GetCarrierGatewayIds() const
DescribeCarrierGatewaysRequest & WithDryRun(bool value)
bool NextTokenHasBeenSet() const
void SetFilters(FiltersT &&value)
const Aws::String & GetNextToken() const
AWS_EC2_API DescribeCarrierGatewaysRequest()=default
bool CarrierGatewayIdsHasBeenSet() const
void SetMaxResults(int value)
void SetNextToken(NextTokenT &&value)
DescribeCarrierGatewaysRequest & WithMaxResults(int value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeCarrierGatewaysRequest & AddCarrierGatewayIds(CarrierGatewayIdsT &&value)
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
DescribeCarrierGatewaysRequest & WithCarrierGatewayIds(CarrierGatewayIdsT &&value)
DescribeCarrierGatewaysRequest & WithNextToken(NextTokenT &&value)
DescribeCarrierGatewaysRequest & AddFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
DescribeCarrierGatewaysRequest & WithFilters(FiltersT &&value)
int GetMaxResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector