AWS SDK for C++  1.9.15
AWS SDK for C++
DescribeClientVpnConnectionsRequest.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 "DescribeClientVpnConnections"; }
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 DescribeClientVpnConnectionsRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
70 
74  inline DescribeClientVpnConnectionsRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
75 
79  inline DescribeClientVpnConnectionsRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
80 
81 
88  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
89 
96  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97 
104  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
105 
112  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
113 
120  inline DescribeClientVpnConnectionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
121 
128  inline DescribeClientVpnConnectionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
129 
136  inline DescribeClientVpnConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
137 
144  inline DescribeClientVpnConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
145 
146 
150  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
151 
155  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
156 
160  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
161 
165  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
166 
170  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
171 
175  inline DescribeClientVpnConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
176 
180  inline DescribeClientVpnConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
181 
185  inline DescribeClientVpnConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
186 
187 
193  inline int GetMaxResults() const{ return m_maxResults; }
194 
200  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
201 
207  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
208 
214  inline DescribeClientVpnConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
215 
216 
223  inline bool GetDryRun() const{ return m_dryRun; }
224 
231  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
232 
239  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
240 
247  inline DescribeClientVpnConnectionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
248 
249  private:
250 
251  Aws::String m_clientVpnEndpointId;
252  bool m_clientVpnEndpointIdHasBeenSet;
253 
254  Aws::Vector<Filter> m_filters;
255  bool m_filtersHasBeenSet;
256 
257  Aws::String m_nextToken;
258  bool m_nextTokenHasBeenSet;
259 
260  int m_maxResults;
261  bool m_maxResultsHasBeenSet;
262 
263  bool m_dryRun;
264  bool m_dryRunHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace EC2
269 } // namespace Aws
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeClientVpnConnectionsRequest.h:193
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeClientVpnConnectionsRequest.h:88
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeClientVpnConnectionsRequest.h:150
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnConnectionsRequest.h:54
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithDryRun
DescribeClientVpnConnectionsRequest & WithDryRun(bool value)
Definition: DescribeClientVpnConnectionsRequest.h:247
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::AddFilters
DescribeClientVpnConnectionsRequest & AddFilters(Filter &&value)
Definition: DescribeClientVpnConnectionsRequest.h:144
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeClientVpnConnectionsRequest.h:200
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::DescribeClientVpnConnectionsRequest::DescribeClientVpnConnectionsRequest
DescribeClientVpnConnectionsRequest()
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithNextToken
DescribeClientVpnConnectionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeClientVpnConnectionsRequest.h:175
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnConnectionsRequest.h:112
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithClientVpnEndpointId
DescribeClientVpnConnectionsRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnConnectionsRequest.h:69
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithClientVpnEndpointId
DescribeClientVpnConnectionsRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnConnectionsRequest.h:74
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeClientVpnConnectionsRequest.h:223
EC2Request.h
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: DescribeClientVpnConnectionsRequest.h:49
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithMaxResults
DescribeClientVpnConnectionsRequest & WithMaxResults(int value)
Definition: DescribeClientVpnConnectionsRequest.h:214
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeClientVpnConnectionsRequest.h:239
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: DescribeClientVpnConnectionsRequest.h:44
AWSString.h
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeClientVpnConnectionsRequest.h:165
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeClientVpnConnectionsRequest.h:207
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithFilters
DescribeClientVpnConnectionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnConnectionsRequest.h:128
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeClientVpnConnectionsRequest.h:160
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeClientVpnConnectionsRequest
Definition: DescribeClientVpnConnectionsRequest.h:24
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::AddFilters
DescribeClientVpnConnectionsRequest & AddFilters(const Filter &value)
Definition: DescribeClientVpnConnectionsRequest.h:136
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithClientVpnEndpointId
DescribeClientVpnConnectionsRequest & WithClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnConnectionsRequest.h:79
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClientVpnConnectionsRequest.h:32
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnConnectionsRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithNextToken
DescribeClientVpnConnectionsRequest & WithNextToken(const char *value)
Definition: DescribeClientVpnConnectionsRequest.h:185
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeClientVpnConnectionsRequest.h:155
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeClientVpnConnectionsRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeClientVpnConnectionsRequest.h:231
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithFilters
DescribeClientVpnConnectionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnConnectionsRequest.h:120
EC2_EXPORTS.h
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeClientVpnConnectionsRequest.h:170
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::WithNextToken
DescribeClientVpnConnectionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeClientVpnConnectionsRequest.h:180
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnConnectionsRequest.h:64
Aws::EC2::Model::DescribeClientVpnConnectionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnConnectionsRequest.h:104