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>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
60 template<
typename IpamPoolIdT = Aws::String>
61 void SetIpamPoolId(IpamPoolIdT&& value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId = std::forward<IpamPoolIdT>(value); }
62 template<
typename IpamPoolIdT = Aws::String>
72 template<
typename IpamPoolAllocationIdT = Aws::String>
73 void SetIpamPoolAllocationId(IpamPoolAllocationIdT&& value) { m_ipamPoolAllocationIdHasBeenSet =
true; m_ipamPoolAllocationId = std::forward<IpamPoolAllocationIdT>(value); }
74 template<
typename IpamPoolAllocationIdT = Aws::String>
87 template<
typename FiltersT = Aws::Vector<Filter>>
88 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
89 template<
typename FiltersT = Aws::Vector<Filter>>
91 template<
typename FiltersT = Filter>
101 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
111 template<
typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<
typename NextTokenT = Aws::String>
118 bool m_dryRun{
false};
119 bool m_dryRunHasBeenSet =
false;
122 bool m_ipamPoolIdHasBeenSet =
false;
125 bool m_ipamPoolAllocationIdHasBeenSet =
false;
128 bool m_filtersHasBeenSet =
false;
131 bool m_maxResultsHasBeenSet =
false;
134 bool m_nextTokenHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
int GetMaxResults() const
GetIpamPoolAllocationsRequest & WithFilters(FiltersT &&value)
void SetDryRun(bool value)
bool IpamPoolIdHasBeenSet() const
bool FiltersHasBeenSet() const
void SetNextToken(NextTokenT &&value)
GetIpamPoolAllocationsRequest & WithIpamPoolAllocationId(IpamPoolAllocationIdT &&value)
const Aws::String & GetNextToken() const
GetIpamPoolAllocationsRequest & AddFilters(FiltersT &&value)
void SetIpamPoolId(IpamPoolIdT &&value)
GetIpamPoolAllocationsRequest & WithDryRun(bool value)
const Aws::String & GetIpamPoolId() const
void SetIpamPoolAllocationId(IpamPoolAllocationIdT &&value)
GetIpamPoolAllocationsRequest & WithIpamPoolId(IpamPoolIdT &&value)
bool DryRunHasBeenSet() const
GetIpamPoolAllocationsRequest & WithNextToken(NextTokenT &&value)
GetIpamPoolAllocationsRequest & WithMaxResults(int value)
AWS_EC2_API Aws::String SerializePayload() const override
bool NextTokenHasBeenSet() const
bool MaxResultsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetIpamPoolAllocationId() const
bool IpamPoolAllocationIdHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
void SetMaxResults(int value)
AWS_EC2_API GetIpamPoolAllocationsRequest()=default
void SetFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector