AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeVpcEndpointAssociationsResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/VpcEndpointAssociation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2 {
25namespace Model {
27 public:
31
33
36 inline const Aws::Vector<VpcEndpointAssociation>& GetVpcEndpointAssociations() const { return m_vpcEndpointAssociations; }
37 template <typename VpcEndpointAssociationsT = Aws::Vector<VpcEndpointAssociation>>
38 void SetVpcEndpointAssociations(VpcEndpointAssociationsT&& value) {
39 m_vpcEndpointAssociationsHasBeenSet = true;
40 m_vpcEndpointAssociations = std::forward<VpcEndpointAssociationsT>(value);
41 }
42 template <typename VpcEndpointAssociationsT = Aws::Vector<VpcEndpointAssociation>>
44 SetVpcEndpointAssociations(std::forward<VpcEndpointAssociationsT>(value));
45 return *this;
46 }
47 template <typename VpcEndpointAssociationsT = VpcEndpointAssociation>
49 m_vpcEndpointAssociationsHasBeenSet = true;
50 m_vpcEndpointAssociations.emplace_back(std::forward<VpcEndpointAssociationsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
75 template <typename ResponseMetadataT = ResponseMetadata>
76 void SetResponseMetadata(ResponseMetadataT&& value) {
77 m_responseMetadataHasBeenSet = true;
78 m_responseMetadata = std::forward<ResponseMetadataT>(value);
79 }
80 template <typename ResponseMetadataT = ResponseMetadata>
82 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<VpcEndpointAssociation> m_vpcEndpointAssociations;
88
89 Aws::String m_nextToken;
90
91 ResponseMetadata m_responseMetadata;
92 bool m_vpcEndpointAssociationsHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94 bool m_responseMetadataHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace EC2
99} // 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