7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Filter.h>
48 template<
typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
50 template<
typename NextTokenT = Aws::String>
63 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
76 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
87 template<
typename InternetGatewayIdsT = Aws::Vector<Aws::String>>
88 void SetInternetGatewayIds(InternetGatewayIdsT&& value) { m_internetGatewayIdsHasBeenSet =
true; m_internetGatewayIds = std::forward<InternetGatewayIdsT>(value); }
89 template<
typename InternetGatewayIdsT = Aws::Vector<Aws::String>>
91 template<
typename InternetGatewayIdsT = Aws::String>
115 template<
typename FiltersT = Aws::Vector<Filter>>
116 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
117 template<
typename FiltersT = Aws::Vector<Filter>>
119 template<
typename FiltersT = Filter>
125 bool m_nextTokenHasBeenSet =
false;
128 bool m_maxResultsHasBeenSet =
false;
130 bool m_dryRun{
false};
131 bool m_dryRunHasBeenSet =
false;
134 bool m_internetGatewayIdsHasBeenSet =
false;
137 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