AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeClientVpnAuthorizationRulesRequest.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 "DescribeClientVpnAuthorizationRules"; }
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 DescribeClientVpnAuthorizationRulesRequest& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;}
70 
74  inline DescribeClientVpnAuthorizationRulesRequest& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;}
75 
79  inline DescribeClientVpnAuthorizationRulesRequest& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
80 
81 
88  inline bool GetDryRun() const{ return m_dryRun; }
89 
96  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
97 
104  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
105 
112  inline DescribeClientVpnAuthorizationRulesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
113 
114 
118  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
119 
123  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
124 
128  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
129 
133  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
134 
138  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
139 
143  inline DescribeClientVpnAuthorizationRulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 
148  inline DescribeClientVpnAuthorizationRulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
149 
153  inline DescribeClientVpnAuthorizationRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
154 
155 
164  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
165 
174  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
175 
184  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
185 
194  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
195 
204  inline DescribeClientVpnAuthorizationRulesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
205 
214  inline DescribeClientVpnAuthorizationRulesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
215 
224  inline DescribeClientVpnAuthorizationRulesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
225 
234  inline DescribeClientVpnAuthorizationRulesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
235 
236 
242  inline int GetMaxResults() const{ return m_maxResults; }
243 
249  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
250 
256  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
257 
263  inline DescribeClientVpnAuthorizationRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
264 
265  private:
266 
267  Aws::String m_clientVpnEndpointId;
268  bool m_clientVpnEndpointIdHasBeenSet;
269 
270  bool m_dryRun;
271  bool m_dryRunHasBeenSet;
272 
273  Aws::String m_nextToken;
274  bool m_nextTokenHasBeenSet;
275 
276  Aws::Vector<Filter> m_filters;
277  bool m_filtersHasBeenSet;
278 
279  int m_maxResults;
280  bool m_maxResultsHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace EC2
285 } // namespace Aws
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithClientVpnEndpointId
DescribeClientVpnAuthorizationRulesRequest & WithClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:74
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:164
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:133
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:256
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:123
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(Aws::String &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:59
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:242
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithNextToken
DescribeClientVpnAuthorizationRulesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:143
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:104
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithFilters
DescribeClientVpnAuthorizationRulesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:214
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest
Definition: DescribeClientVpnAuthorizationRulesRequest.h:24
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:174
AWSVector.h
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithClientVpnEndpointId
DescribeClientVpnAuthorizationRulesRequest & WithClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:69
Filter.h
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithMaxResults
DescribeClientVpnAuthorizationRulesRequest & WithMaxResults(int value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:263
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:128
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithClientVpnEndpointId
DescribeClientVpnAuthorizationRulesRequest & WithClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:79
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithFilters
DescribeClientVpnAuthorizationRulesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:204
EC2Request.h
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithDryRun
DescribeClientVpnAuthorizationRulesRequest & WithDryRun(bool value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:112
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:194
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::ClientVpnEndpointIdHasBeenSet
bool ClientVpnEndpointIdHasBeenSet() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:49
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithNextToken
DescribeClientVpnAuthorizationRulesRequest & WithNextToken(const char *value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:153
AWSString.h
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const Aws::String &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:54
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:88
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:118
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::DescribeClientVpnAuthorizationRulesRequest
DescribeClientVpnAuthorizationRulesRequest()
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetClientVpnEndpointId
const Aws::String & GetClientVpnEndpointId() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:44
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:138
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::WithNextToken
DescribeClientVpnAuthorizationRulesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClientVpnAuthorizationRulesRequest.h:32
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::AddFilters
DescribeClientVpnAuthorizationRulesRequest & AddFilters(Filter &&value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:234
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetClientVpnEndpointId
void SetClientVpnEndpointId(const char *value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:64
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:184
EC2_EXPORTS.h
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::AddFilters
DescribeClientVpnAuthorizationRulesRequest & AddFilters(const Filter &value)
Definition: DescribeClientVpnAuthorizationRulesRequest.h:224
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:96
Aws::EC2::Model::DescribeClientVpnAuthorizationRulesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeClientVpnAuthorizationRulesRequest.h:249