7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamPoolAllocation.h>
12#include <aws/ec2/model/ResponseMetadata.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename IpamPoolAllocationsT = Aws::Vector<IpamPoolAllocation>>
40 m_ipamPoolAllocationsHasBeenSet =
true;
41 m_ipamPoolAllocations = std::forward<IpamPoolAllocationsT>(value);
43 template <
typename IpamPoolAllocationsT = Aws::Vector<IpamPoolAllocation>>
48 template <
typename IpamPoolAllocationsT = IpamPoolAllocation>
50 m_ipamPoolAllocationsHasBeenSet =
true;
51 m_ipamPoolAllocations.emplace_back(std::forward<IpamPoolAllocationsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename ResponseMetadataT = ResponseMetadata>
79 m_responseMetadataHasBeenSet =
true;
80 m_responseMetadata = std::forward<ResponseMetadataT>(value);
82 template <
typename ResponseMetadataT = ResponseMetadata>
97 bool m_ipamPoolAllocationsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_responseMetadataHasBeenSet =
false;
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API GetIpamPoolAllocationsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< IpamPoolAllocation > & GetIpamPoolAllocations() const
void SetNextToken(NextTokenT &&value)
GetIpamPoolAllocationsResponse & WithNextToken(NextTokenT &&value)
GetIpamPoolAllocationsResponse & WithIpamPoolAllocations(IpamPoolAllocationsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetIpamPoolAllocationsResponse & WithResponseMetadata(ResponseMetadataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetIpamPoolAllocations(IpamPoolAllocationsT &&value)
const Aws::String & GetNextToken() const
AWS_EC2_API GetIpamPoolAllocationsResponse()=default
AWS_EC2_API GetIpamPoolAllocationsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetIpamPoolAllocationsResponse & AddIpamPoolAllocations(IpamPoolAllocationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument