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>
44 template <
typename NextTokenT = Aws::String>
46 m_nextTokenHasBeenSet =
true;
47 m_nextToken = std::forward<NextTokenT>(value);
49 template <
typename NextTokenT = Aws::String>
66 m_maxResultsHasBeenSet =
true;
85 m_dryRunHasBeenSet =
true;
101 template <
typename InternetGatewayIdsT = Aws::Vector<Aws::String>>
103 m_internetGatewayIdsHasBeenSet =
true;
104 m_internetGatewayIds = std::forward<InternetGatewayIdsT>(value);
106 template <
typename InternetGatewayIdsT = Aws::Vector<Aws::String>>
111 template <
typename InternetGatewayIdsT = Aws::String>
113 m_internetGatewayIdsHasBeenSet =
true;
114 m_internetGatewayIds.emplace_back(std::forward<InternetGatewayIdsT>(value));
139 template <
typename FiltersT = Aws::Vector<Filter>>
141 m_filtersHasBeenSet =
true;
142 m_filters = std::forward<FiltersT>(value);
144 template <
typename FiltersT = Aws::Vector<Filter>>
149 template <
typename FiltersT = Filter>
151 m_filtersHasBeenSet =
true;
152 m_filters.emplace_back(std::forward<FiltersT>(value));
161 bool m_dryRun{
false};
166 bool m_nextTokenHasBeenSet =
false;
167 bool m_maxResultsHasBeenSet =
false;
168 bool m_dryRunHasBeenSet =
false;
169 bool m_internetGatewayIdsHasBeenSet =
false;
170 bool m_filtersHasBeenSet =
false;
bool DryRunHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetInternetGatewayIds(InternetGatewayIdsT &&value)
void SetMaxResults(int value)
AWS_EC2_API DescribeInternetGatewaysRequest()=default
DescribeInternetGatewaysRequest & WithNextToken(NextTokenT &&value)
DescribeInternetGatewaysRequest & WithFilters(FiltersT &&value)
DescribeInternetGatewaysRequest & AddFilters(FiltersT &&value)
DescribeInternetGatewaysRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
const Aws::String & GetNextToken() const
bool InternetGatewayIdsHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
DescribeInternetGatewaysRequest & AddInternetGatewayIds(InternetGatewayIdsT &&value)
int GetMaxResults() const
const Aws::Vector< Aws::String > & GetInternetGatewayIds() const
DescribeInternetGatewaysRequest & WithInternetGatewayIds(InternetGatewayIdsT &&value)
void SetDryRun(bool value)
DescribeInternetGatewaysRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector