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>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
74 template<
typename FilterT = Aws::Vector<Filter>>
75 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
76 template<
typename FilterT = Aws::Vector<Filter>>
78 template<
typename FilterT = Filter>
91 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
101 template<
typename NatGatewayIdsT = Aws::Vector<Aws::String>>
102 void SetNatGatewayIds(NatGatewayIdsT&& value) { m_natGatewayIdsHasBeenSet =
true; m_natGatewayIds = std::forward<NatGatewayIdsT>(value); }
103 template<
typename NatGatewayIdsT = Aws::Vector<Aws::String>>
105 template<
typename NatGatewayIdsT = Aws::String>
116 template<
typename NextTokenT = Aws::String>
117 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
118 template<
typename NextTokenT = Aws::String>
123 bool m_dryRun{
false};
124 bool m_dryRunHasBeenSet =
false;
127 bool m_filterHasBeenSet =
false;
130 bool m_maxResultsHasBeenSet =
false;
133 bool m_natGatewayIdsHasBeenSet =
false;
136 bool m_nextTokenHasBeenSet =
false;
const Aws::Vector< Filter > & GetFilter() const
DescribeNatGatewaysRequest & WithNatGatewayIds(NatGatewayIdsT &&value)
DescribeNatGatewaysRequest & AddFilter(FilterT &&value)
DescribeNatGatewaysRequest & WithNextToken(NextTokenT &&value)
bool DryRunHasBeenSet() const
void SetFilter(FilterT &&value)
DescribeNatGatewaysRequest & WithFilter(FilterT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNatGatewaysRequest & AddNatGatewayIds(NatGatewayIdsT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
int GetMaxResults() const
virtual const char * GetServiceRequestName() const override
void SetNatGatewayIds(NatGatewayIdsT &&value)
bool FilterHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
bool NextTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetNatGatewayIds() const
void SetMaxResults(int value)
DescribeNatGatewaysRequest & WithDryRun(bool value)
bool MaxResultsHasBeenSet() const
void SetDryRun(bool value)
DescribeNatGatewaysRequest & WithMaxResults(int value)
bool NatGatewayIdsHasBeenSet() const
AWS_EC2_API DescribeNatGatewaysRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector