AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeVpcEndpointAssociationsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/VpcEndpointAssociation.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<VpcEndpointAssociation>& GetVpcEndpointAssociations() const { return m_vpcEndpointAssociations; }
43 template<typename VpcEndpointAssociationsT = Aws::Vector<VpcEndpointAssociation>>
44 void SetVpcEndpointAssociations(VpcEndpointAssociationsT&& value) { m_vpcEndpointAssociationsHasBeenSet = true; m_vpcEndpointAssociations = std::forward<VpcEndpointAssociationsT>(value); }
45 template<typename VpcEndpointAssociationsT = Aws::Vector<VpcEndpointAssociation>>
46 DescribeVpcEndpointAssociationsResponse& WithVpcEndpointAssociations(VpcEndpointAssociationsT&& value) { SetVpcEndpointAssociations(std::forward<VpcEndpointAssociationsT>(value)); return *this;}
47 template<typename VpcEndpointAssociationsT = VpcEndpointAssociation>
48 DescribeVpcEndpointAssociationsResponse& AddVpcEndpointAssociations(VpcEndpointAssociationsT&& value) { m_vpcEndpointAssociationsHasBeenSet = true; m_vpcEndpointAssociations.emplace_back(std::forward<VpcEndpointAssociationsT>(value)); return *this; }
50
52
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 DescribeVpcEndpointAssociationsResponse& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
65 template<typename ResponseMetadataT = ResponseMetadata>
66 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 DescribeVpcEndpointAssociationsResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
70 private:
71
72 Aws::Vector<VpcEndpointAssociation> m_vpcEndpointAssociations;
73 bool m_vpcEndpointAssociationsHasBeenSet = false;
74
75 Aws::String m_nextToken;
76 bool m_nextTokenHasBeenSet = false;
77
78 ResponseMetadata m_responseMetadata;
79 bool m_responseMetadataHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
const Aws::Vector< VpcEndpointAssociation > & GetVpcEndpointAssociations() const
DescribeVpcEndpointAssociationsResponse & WithVpcEndpointAssociations(VpcEndpointAssociationsT &&value)
DescribeVpcEndpointAssociationsResponse & WithNextToken(NextTokenT &&value)
AWS_EC2_API DescribeVpcEndpointAssociationsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpcEndpointAssociationsResponse & AddVpcEndpointAssociations(VpcEndpointAssociationsT &&value)
DescribeVpcEndpointAssociationsResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeVpcEndpointAssociationsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument