AWS SDK for C++  1.9.67
AWS SDK for C++
DescribeVpcEndpointConnectionNotificationsRequest.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 "DescribeVpcEndpointConnectionNotifications"; }
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 DescribeVpcEndpointConnectionNotificationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
72 
73 
77  inline const Aws::String& GetConnectionNotificationId() const{ return m_connectionNotificationId; }
78 
82  inline bool ConnectionNotificationIdHasBeenSet() const { return m_connectionNotificationIdHasBeenSet; }
83 
87  inline void SetConnectionNotificationId(const Aws::String& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = value; }
88 
92  inline void SetConnectionNotificationId(Aws::String&& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = std::move(value); }
93 
97  inline void SetConnectionNotificationId(const char* value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId.assign(value); }
98 
102  inline DescribeVpcEndpointConnectionNotificationsRequest& WithConnectionNotificationId(const Aws::String& value) { SetConnectionNotificationId(value); return *this;}
103 
107  inline DescribeVpcEndpointConnectionNotificationsRequest& WithConnectionNotificationId(Aws::String&& value) { SetConnectionNotificationId(std::move(value)); return *this;}
108 
112  inline DescribeVpcEndpointConnectionNotificationsRequest& WithConnectionNotificationId(const char* value) { SetConnectionNotificationId(value); return *this;}
113 
114 
127  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
128 
141  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
142 
155  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
156 
169  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
170 
183  inline DescribeVpcEndpointConnectionNotificationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
184 
197  inline DescribeVpcEndpointConnectionNotificationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
198 
211  inline DescribeVpcEndpointConnectionNotificationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
212 
225  inline DescribeVpcEndpointConnectionNotificationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
226 
227 
233  inline int GetMaxResults() const{ return m_maxResults; }
234 
240  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
241 
247  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
248 
254  inline DescribeVpcEndpointConnectionNotificationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
255 
256 
260  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
261 
265  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
266 
270  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
271 
275  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
276 
280  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
281 
285  inline DescribeVpcEndpointConnectionNotificationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
286 
290  inline DescribeVpcEndpointConnectionNotificationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
291 
295  inline DescribeVpcEndpointConnectionNotificationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
296 
297  private:
298 
299  bool m_dryRun;
300  bool m_dryRunHasBeenSet;
301 
302  Aws::String m_connectionNotificationId;
303  bool m_connectionNotificationIdHasBeenSet;
304 
305  Aws::Vector<Filter> m_filters;
306  bool m_filtersHasBeenSet;
307 
308  int m_maxResults;
309  bool m_maxResultsHasBeenSet;
310 
311  Aws::String m_nextToken;
312  bool m_nextTokenHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace EC2
317 } // namespace Aws
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:233
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithMaxResults
DescribeVpcEndpointConnectionNotificationsRequest & WithMaxResults(int value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:254
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::AddFilters
DescribeVpcEndpointConnectionNotificationsRequest & AddFilters(const Filter &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:211
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithConnectionNotificationId
DescribeVpcEndpointConnectionNotificationsRequest & WithConnectionNotificationId(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:107
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::AddFilters
DescribeVpcEndpointConnectionNotificationsRequest & AddFilters(Filter &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:225
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetConnectionNotificationId
void SetConnectionNotificationId(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:87
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetConnectionNotificationId
void SetConnectionNotificationId(const char *value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:97
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:32
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithNextToken
DescribeVpcEndpointConnectionNotificationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:290
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithConnectionNotificationId
DescribeVpcEndpointConnectionNotificationsRequest & WithConnectionNotificationId(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:102
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:127
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithNextToken
DescribeVpcEndpointConnectionNotificationsRequest & WithNextToken(const char *value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:295
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:155
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithDryRun
DescribeVpcEndpointConnectionNotificationsRequest & WithDryRun(bool value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:71
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:169
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetConnectionNotificationId
void SetConnectionNotificationId(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:92
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithFilters
DescribeVpcEndpointConnectionNotificationsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:183
EC2Request.h
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:280
AWSString.h
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::ConnectionNotificationIdHasBeenSet
bool ConnectionNotificationIdHasBeenSet() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:82
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:260
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:55
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithNextToken
DescribeVpcEndpointConnectionNotificationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:285
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetConnectionNotificationId
const Aws::String & GetConnectionNotificationId() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:77
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:240
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:265
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:24
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithConnectionNotificationId
DescribeVpcEndpointConnectionNotificationsRequest & WithConnectionNotificationId(const char *value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:270
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:63
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::DescribeVpcEndpointConnectionNotificationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:247
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::WithFilters
DescribeVpcEndpointConnectionNotificationsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:197
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:47
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:275
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::DescribeVpcEndpointConnectionNotificationsRequest
DescribeVpcEndpointConnectionNotificationsRequest()
Aws::EC2::Model::DescribeVpcEndpointConnectionNotificationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeVpcEndpointConnectionNotificationsRequest.h:141