AWS SDK for C++  1.9.126
AWS SDK for C++
DescribeClientVpnRoutesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <aws/ec2/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EC2
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeClientVpnRoutes"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
45 
49  inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
50 
54  inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
55 
59  inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
60 
64  inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
65 
69  inline DescribeClientVpnRoutesRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
70 
74  inline DescribeClientVpnRoutesRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
75 
79  inline DescribeClientVpnRoutesRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
80 
81 
90  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
91 
100  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
101 
110  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
111 
120  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
121 
130  inline DescribeClientVpnRoutesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
131 
140  inline DescribeClientVpnRoutesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
141 
150  inline DescribeClientVpnRoutesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
151 
160  inline DescribeClientVpnRoutesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
161 
162 
168  inline int GetMaxResults() const{ return m_maxResults; }
169 
175  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
176 
182  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
183 
189  inline DescribeClientVpnRoutesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
190 
191 
195  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
196 
200  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
201 
205  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
206 
210  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
211 
215  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
216 
220  inline DescribeClientVpnRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
221 
225  inline DescribeClientVpnRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
226 
230  inline DescribeClientVpnRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
231 
232 
239  inline bool GetDryRun() const{ return m_dryRun; }
240 
247  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
248 
255  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
256 
263  inline DescribeClientVpnRoutesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
264 
265  private:
266 
267  Aws::String m_clientVpnEndpointId;
268  bool m_clientVpnEndpointIdHasBeenSet;
269 
270  Aws::Vector<Filter> m_filters;
271  bool m_filtersHasBeenSet;
272 
273  int m_maxResults;
274  bool m_maxResultsHasBeenSet;
275 
276  Aws::String m_nextToken;
277  bool m_nextTokenHasBeenSet;
278 
279  bool m_dryRun;
280  bool m_dryRunHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace EC2
285 } // namespace Aws
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeClientVpnRoutesRequest.h:195
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeClientVpnRoutesRequest::AddFilters
DescribeClientVpnRoutesRequest & AddFilters(Filter &&value)
Definition: DescribeClientVpnRoutesRequest.h:160
Aws::EC2::Model::DescribeClientVpnRoutesRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: DescribeClientVpnRoutesRequest.h:49
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithClientVpnEndpointId
DescribeClientVpnRoutesRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnRoutesRequest.h:69
Aws::EC2::Model::DescribeClientVpnRoutesRequest
Definition: DescribeClientVpnRoutesRequest.h:24
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnRoutesRequest.h:120
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithNextToken
DescribeClientVpnRoutesRequest & WithNextToken(const char *value)
Definition: DescribeClientVpnRoutesRequest.h:230
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithNextToken
DescribeClientVpnRoutesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeClientVpnRoutesRequest.h:220
Aws::EC2::Model::DescribeClientVpnRoutesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeClientVpnRoutesRequest.h:247
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: DescribeClientVpnRoutesRequest.h:44
Aws::EC2::Model::DescribeClientVpnRoutesRequest::AddFilters
DescribeClientVpnRoutesRequest & AddFilters(const Filter &value)
Definition: DescribeClientVpnRoutesRequest.h:150
Aws::EC2::Model::DescribeClientVpnRoutesRequest::DescribeClientVpnRoutesRequest
DescribeClientVpnRoutesRequest()
Aws::EC2::Model::DescribeClientVpnRoutesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
EC2Request.h
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithFilters
DescribeClientVpnRoutesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnRoutesRequest.h:140
Aws::EC2::Model::DescribeClientVpnRoutesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeClientVpnRoutesRequest.h:200
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeClientVpnRoutesRequest.h:182
AWSString.h
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeClientVpnRoutesRequest.h:90
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeClientVpnRoutesRequest.h:215
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeClientVpnRoutesRequest.h:255
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnRoutesRequest.h:64
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithFilters
DescribeClientVpnRoutesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnRoutesRequest.h:130
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnRoutesRequest.h:59
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeClientVpnRoutesRequest.h:210
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithDryRun
DescribeClientVpnRoutesRequest & WithDryRun(bool value)
Definition: DescribeClientVpnRoutesRequest.h:263
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnRoutesRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClientVpnRoutesRequest.h:32
Aws::EC2::Model::DescribeClientVpnRoutesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeClientVpnRoutesRequest.h:100
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithNextToken
DescribeClientVpnRoutesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeClientVpnRoutesRequest.h:225
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeClientVpnRoutesRequest.h:205
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeClientVpnRoutesRequest.h:239
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithClientVpnEndpointId
DescribeClientVpnRoutesRequest & WithClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnRoutesRequest.h:79
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithMaxResults
DescribeClientVpnRoutesRequest & WithMaxResults(int value)
Definition: DescribeClientVpnRoutesRequest.h:189
EC2_EXPORTS.h
Aws::EC2::Model::DescribeClientVpnRoutesRequest::WithClientVpnEndpointId
DescribeClientVpnRoutesRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnRoutesRequest.h:74
Aws::EC2::Model::DescribeClientVpnRoutesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeClientVpnRoutesRequest.h:175
Aws::EC2::Model::DescribeClientVpnRoutesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeClientVpnRoutesRequest.h:168
Aws::EC2::Model::DescribeClientVpnRoutesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnRoutesRequest.h:110