AWS SDK for C++  1.9.73
AWS SDK for C++
DescribeClientVpnEndpointsResponse.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 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<ClientVpnEndpoint>& GetClientVpnEndpoints() const{ return m_clientVpnEndpoints; }
42 
46  inline void SetClientVpnEndpoints(const Aws::Vector<ClientVpnEndpoint>& value) { m_clientVpnEndpoints = value; }
47 
51  inline void SetClientVpnEndpoints(Aws::Vector<ClientVpnEndpoint>&& value) { m_clientVpnEndpoints = std::move(value); }
52 
56  inline DescribeClientVpnEndpointsResponse& WithClientVpnEndpoints(const Aws::Vector<ClientVpnEndpoint>& value) { SetClientVpnEndpoints(value); return *this;}
57 
61  inline DescribeClientVpnEndpointsResponse& WithClientVpnEndpoints(Aws::Vector<ClientVpnEndpoint>&& value) { SetClientVpnEndpoints(std::move(value)); return *this;}
62 
66  inline DescribeClientVpnEndpointsResponse& AddClientVpnEndpoints(const ClientVpnEndpoint& value) { m_clientVpnEndpoints.push_back(value); return *this; }
67 
71  inline DescribeClientVpnEndpointsResponse& AddClientVpnEndpoints(ClientVpnEndpoint&& value) { m_clientVpnEndpoints.push_back(std::move(value)); return *this; }
72 
73 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
84  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
85 
90  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 
96  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
97 
102  inline DescribeClientVpnEndpointsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 
108  inline DescribeClientVpnEndpointsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
114  inline DescribeClientVpnEndpointsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115 
116 
117 
118  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
119 
120 
121  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
122 
123 
124  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
125 
126 
127  inline DescribeClientVpnEndpointsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
128 
129 
130  inline DescribeClientVpnEndpointsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::Vector<ClientVpnEndpoint> m_clientVpnEndpoints;
135 
136  Aws::String m_nextToken;
137 
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithClientVpnEndpoints
DescribeClientVpnEndpointsResponse & WithClientVpnEndpoints(Aws::Vector< ClientVpnEndpoint > &&value)
Definition: DescribeClientVpnEndpointsResponse.h:61
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetClientVpnEndpoints
void SetClientVpnEndpoints(Aws::Vector< ClientVpnEndpoint > &&value)
Definition: DescribeClientVpnEndpointsResponse.h:51
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithClientVpnEndpoints
DescribeClientVpnEndpointsResponse & WithClientVpnEndpoints(const Aws::Vector< ClientVpnEndpoint > &value)
Definition: DescribeClientVpnEndpointsResponse.h:56
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::DescribeClientVpnEndpointsResponse
DescribeClientVpnEndpointsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::GetClientVpnEndpoints
const Aws::Vector< ClientVpnEndpoint > & GetClientVpnEndpoints() const
Definition: DescribeClientVpnEndpointsResponse.h:41
Aws::EC2::Model::ClientVpnEndpoint
Definition: ClientVpnEndpoint.h:40
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithNextToken
DescribeClientVpnEndpointsResponse & WithNextToken(const Aws::String &value)
Definition: DescribeClientVpnEndpointsResponse.h:102
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeClientVpnEndpointsResponse.h:96
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetClientVpnEndpoints
void SetClientVpnEndpoints(const Aws::Vector< ClientVpnEndpoint > &value)
Definition: DescribeClientVpnEndpointsResponse.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ClientVpnEndpoint.h
AWSVector.h
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithResponseMetadata
DescribeClientVpnEndpointsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClientVpnEndpointsResponse.h:127
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::operator=
DescribeClientVpnEndpointsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeClientVpnEndpointsResponse.h:84
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::AddClientVpnEndpoints
DescribeClientVpnEndpointsResponse & AddClientVpnEndpoints(const ClientVpnEndpoint &value)
Definition: DescribeClientVpnEndpointsResponse.h:66
Aws::EC2::Model::DescribeClientVpnEndpointsResponse
Definition: DescribeClientVpnEndpointsResponse.h:31
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeClientVpnEndpointsResponse.h:118
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClientVpnEndpointsResponse.h:121
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::AddClientVpnEndpoints
DescribeClientVpnEndpointsResponse & AddClientVpnEndpoints(ClientVpnEndpoint &&value)
Definition: DescribeClientVpnEndpointsResponse.h:71
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeClientVpnEndpointsResponse.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithNextToken
DescribeClientVpnEndpointsResponse & WithNextToken(const char *value)
Definition: DescribeClientVpnEndpointsResponse.h:114
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClientVpnEndpointsResponse.h:124
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::DescribeClientVpnEndpointsResponse
DescribeClientVpnEndpointsResponse()
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithNextToken
DescribeClientVpnEndpointsResponse & WithNextToken(Aws::String &&value)
Definition: DescribeClientVpnEndpointsResponse.h:108
EC2_EXPORTS.h
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeClientVpnEndpointsResponse.h:90
Aws::EC2::Model::DescribeClientVpnEndpointsResponse::WithResponseMetadata
DescribeClientVpnEndpointsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClientVpnEndpointsResponse.h:130