AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeVpcEndpointConnectionsRequest.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 "DescribeVpcEndpointConnections"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline bool GetDryRun() const{ return m_dryRun; }
48 
55  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
56 
63  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 
71  inline DescribeVpcEndpointConnectionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
72 
73 
84  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
85 
96  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97 
108  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
109 
120  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
121 
132  inline DescribeVpcEndpointConnectionsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
133 
144  inline DescribeVpcEndpointConnectionsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
145 
156  inline DescribeVpcEndpointConnectionsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
157 
168  inline DescribeVpcEndpointConnectionsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
169 
170 
178  inline int GetMaxResults() const{ return m_maxResults; }
179 
187  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
188 
196  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
197 
205  inline DescribeVpcEndpointConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
206 
207 
211  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
212 
216  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
217 
221  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
222 
226  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
227 
231  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
232 
236  inline DescribeVpcEndpointConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
237 
241  inline DescribeVpcEndpointConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
242 
246  inline DescribeVpcEndpointConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
247 
248  private:
249 
250  bool m_dryRun;
251  bool m_dryRunHasBeenSet;
252 
253  Aws::Vector<Filter> m_filters;
254  bool m_filtersHasBeenSet;
255 
256  int m_maxResults;
257  bool m_maxResultsHasBeenSet;
258 
259  Aws::String m_nextToken;
260  bool m_nextTokenHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace EC2
265 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeVpcEndpointConnectionsRequest.h:178
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointConnectionsRequest.h:108
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeVpcEndpointConnectionsRequest.h:196
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithNextToken
DescribeVpcEndpointConnectionsRequest & WithNextToken(const char *value)
Definition: DescribeVpcEndpointConnectionsRequest.h:246
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionsRequest.h:221
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithDryRun
DescribeVpcEndpointConnectionsRequest & WithDryRun(bool value)
Definition: DescribeVpcEndpointConnectionsRequest.h:71
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithFilters
DescribeVpcEndpointConnectionsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointConnectionsRequest.h:144
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeVpcEndpointConnectionsRequest.h:84
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeVpcEndpointConnectionsRequest.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::AddFilters
DescribeVpcEndpointConnectionsRequest & AddFilters(Filter &&value)
Definition: DescribeVpcEndpointConnectionsRequest.h:168
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionsRequest.h:226
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeVpcEndpointConnectionsRequest.h:187
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVpcEndpointConnectionsRequest.h:32
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithNextToken
DescribeVpcEndpointConnectionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionsRequest.h:241
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithNextToken
DescribeVpcEndpointConnectionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionsRequest.h:236
EC2Request.h
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithMaxResults
DescribeVpcEndpointConnectionsRequest & WithMaxResults(int value)
Definition: DescribeVpcEndpointConnectionsRequest.h:205
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::DescribeVpcEndpointConnectionsRequest
DescribeVpcEndpointConnectionsRequest()
AWSString.h
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeVpcEndpointConnectionsRequest.h:216
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeVpcEndpointConnectionsRequest.h:63
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeVpcEndpointConnectionsRequest.h:55
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest
Definition: DescribeVpcEndpointConnectionsRequest.h:24
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVpcEndpointConnectionsRequest.h:231
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::AddFilters
DescribeVpcEndpointConnectionsRequest & AddFilters(const Filter &value)
Definition: DescribeVpcEndpointConnectionsRequest.h:156
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::WithFilters
DescribeVpcEndpointConnectionsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointConnectionsRequest.h:132
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeVpcEndpointConnectionsRequest.h:96
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointConnectionsRequest.h:120
Aws::EC2::Model::DescribeVpcEndpointConnectionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVpcEndpointConnectionsRequest.h:211