AWS SDK for C++  1.9.72
AWS SDK for C++
DescribeClientVpnTargetNetworksResponse.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<TargetNetwork>& GetClientVpnTargetNetworks() const{ return m_clientVpnTargetNetworks; }
42 
46  inline void SetClientVpnTargetNetworks(const Aws::Vector<TargetNetwork>& value) { m_clientVpnTargetNetworks = value; }
47 
51  inline void SetClientVpnTargetNetworks(Aws::Vector<TargetNetwork>&& value) { m_clientVpnTargetNetworks = std::move(value); }
52 
56  inline DescribeClientVpnTargetNetworksResponse& WithClientVpnTargetNetworks(const Aws::Vector<TargetNetwork>& value) { SetClientVpnTargetNetworks(value); return *this;}
57 
61  inline DescribeClientVpnTargetNetworksResponse& WithClientVpnTargetNetworks(Aws::Vector<TargetNetwork>&& value) { SetClientVpnTargetNetworks(std::move(value)); return *this;}
62 
66  inline DescribeClientVpnTargetNetworksResponse& AddClientVpnTargetNetworks(const TargetNetwork& value) { m_clientVpnTargetNetworks.push_back(value); return *this; }
67 
71  inline DescribeClientVpnTargetNetworksResponse& AddClientVpnTargetNetworks(TargetNetwork&& value) { m_clientVpnTargetNetworks.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 DescribeClientVpnTargetNetworksResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 
108  inline DescribeClientVpnTargetNetworksResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
114  inline DescribeClientVpnTargetNetworksResponse& 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 DescribeClientVpnTargetNetworksResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
128 
129 
130  inline DescribeClientVpnTargetNetworksResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::Vector<TargetNetwork> m_clientVpnTargetNetworks;
135 
136  Aws::String m_nextToken;
137 
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeClientVpnTargetNetworksResponse.h:118
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:124
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeClientVpnTargetNetworksResponse.h:78
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeClientVpnTargetNetworksResponse.h:96
Aws::EC2::Model::TargetNetwork
Definition: TargetNetwork.h:35
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithClientVpnTargetNetworks
DescribeClientVpnTargetNetworksResponse & WithClientVpnTargetNetworks(const Aws::Vector< TargetNetwork > &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:56
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithResponseMetadata
DescribeClientVpnTargetNetworksResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:130
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:90
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::DescribeClientVpnTargetNetworksResponse
DescribeClientVpnTargetNetworksResponse()
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse
Definition: DescribeClientVpnTargetNetworksResponse.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::operator=
DescribeClientVpnTargetNetworksResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetClientVpnTargetNetworks
void SetClientVpnTargetNetworks(Aws::Vector< TargetNetwork > &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:51
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetClientVpnTargetNetworks
void SetClientVpnTargetNetworks(const Aws::Vector< TargetNetwork > &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:46
AWSVector.h
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::GetClientVpnTargetNetworks
const Aws::Vector< TargetNetwork > & GetClientVpnTargetNetworks() const
Definition: DescribeClientVpnTargetNetworksResponse.h:41
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithNextToken
DescribeClientVpnTargetNetworksResponse & WithNextToken(const char *value)
Definition: DescribeClientVpnTargetNetworksResponse.h:114
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::AddClientVpnTargetNetworks
DescribeClientVpnTargetNetworksResponse & AddClientVpnTargetNetworks(TargetNetwork &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:71
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::AddClientVpnTargetNetworks
DescribeClientVpnTargetNetworksResponse & AddClientVpnTargetNetworks(const TargetNetwork &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:66
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::DescribeClientVpnTargetNetworksResponse
DescribeClientVpnTargetNetworksResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithClientVpnTargetNetworks
DescribeClientVpnTargetNetworksResponse & WithClientVpnTargetNetworks(Aws::Vector< TargetNetwork > &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:61
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithNextToken
DescribeClientVpnTargetNetworksResponse & WithNextToken(Aws::String &&value)
Definition: DescribeClientVpnTargetNetworksResponse.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithNextToken
DescribeClientVpnTargetNetworksResponse & WithNextToken(const Aws::String &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:102
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::WithResponseMetadata
DescribeClientVpnTargetNetworksResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:84
Aws::EC2::Model::DescribeClientVpnTargetNetworksResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeClientVpnTargetNetworksResponse.h:121
EC2_EXPORTS.h
TargetNetwork.h