AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeVpcEndpointsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const{ return m_vpcEndpoints; }
47 
51  inline void SetVpcEndpoints(const Aws::Vector<VpcEndpoint>& value) { m_vpcEndpoints = value; }
52 
56  inline void SetVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { m_vpcEndpoints = std::move(value); }
57 
61  inline DescribeVpcEndpointsResponse& WithVpcEndpoints(const Aws::Vector<VpcEndpoint>& value) { SetVpcEndpoints(value); return *this;}
62 
66  inline DescribeVpcEndpointsResponse& WithVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { SetVpcEndpoints(std::move(value)); return *this;}
67 
71  inline DescribeVpcEndpointsResponse& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpoints.push_back(value); return *this; }
72 
76  inline DescribeVpcEndpointsResponse& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpoints.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline DescribeVpcEndpointsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline DescribeVpcEndpointsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline DescribeVpcEndpointsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121 
122 
123  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
124 
125 
126  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
127 
128 
129  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
130 
131 
132  inline DescribeVpcEndpointsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
133 
134 
135  inline DescribeVpcEndpointsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::Vector<VpcEndpoint> m_vpcEndpoints;
140 
141  Aws::String m_nextToken;
142 
143  ResponseMetadata m_responseMetadata;
144  };
145 
146 } // namespace Model
147 } // namespace EC2
148 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcEndpointsResponse.h:126
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetVpcEndpoints
void SetVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
Definition: DescribeVpcEndpointsResponse.h:51
Aws::EC2::Model::DescribeVpcEndpointsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVpcEndpointsResponse.h:83
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetVpcEndpoints
void SetVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
Definition: DescribeVpcEndpointsResponse.h:56
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithNextToken
DescribeVpcEndpointsResponse & WithNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointsResponse.h:113
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeVpcEndpointsResponse::AddVpcEndpoints
DescribeVpcEndpointsResponse & AddVpcEndpoints(const VpcEndpoint &value)
Definition: DescribeVpcEndpointsResponse.h:71
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithVpcEndpoints
DescribeVpcEndpointsResponse & WithVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
Definition: DescribeVpcEndpointsResponse.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DescribeVpcEndpointsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeVpcEndpointsResponse.h:123
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithNextToken
DescribeVpcEndpointsResponse & WithNextToken(const char *value)
Definition: DescribeVpcEndpointsResponse.h:119
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithNextToken
DescribeVpcEndpointsResponse & WithNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointsResponse.h:107
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVpcEndpointsResponse.h:101
Aws::EC2::Model::DescribeVpcEndpointsResponse::operator=
DescribeVpcEndpointsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeVpcEndpointsResponse::DescribeVpcEndpointsResponse
DescribeVpcEndpointsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeVpcEndpointsResponse::DescribeVpcEndpointsResponse
DescribeVpcEndpointsResponse()
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithResponseMetadata
DescribeVpcEndpointsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcEndpointsResponse.h:132
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithVpcEndpoints
DescribeVpcEndpointsResponse & WithVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
Definition: DescribeVpcEndpointsResponse.h:61
VpcEndpoint.h
Aws::EC2::Model::DescribeVpcEndpointsResponse::AddVpcEndpoints
DescribeVpcEndpointsResponse & AddVpcEndpoints(VpcEndpoint &&value)
Definition: DescribeVpcEndpointsResponse.h:76
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointsResponse.h:95
Aws::EC2::Model::DescribeVpcEndpointsResponse::GetVpcEndpoints
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
Definition: DescribeVpcEndpointsResponse.h:46
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointsResponse.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcEndpointsResponse
Definition: DescribeVpcEndpointsResponse.h:36
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeVpcEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcEndpointsResponse.h:129
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcEndpointsResponse::WithResponseMetadata
DescribeVpcEndpointsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcEndpointsResponse.h:135
Aws::EC2::Model::VpcEndpoint
Definition: VpcEndpoint.h:40