AWS SDK for C++  1.9.70
AWS SDK for C++
DeleteVpcEndpointConnectionNotificationsRequest.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 <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DeleteVpcEndpointConnectionNotifications"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
46  inline bool GetDryRun() const{ return m_dryRun; }
47 
54  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
55 
62  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
63 
70  inline DeleteVpcEndpointConnectionNotificationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
71 
72 
76  inline const Aws::Vector<Aws::String>& GetConnectionNotificationIds() const{ return m_connectionNotificationIds; }
77 
81  inline bool ConnectionNotificationIdsHasBeenSet() const { return m_connectionNotificationIdsHasBeenSet; }
82 
86  inline void SetConnectionNotificationIds(const Aws::Vector<Aws::String>& value) { m_connectionNotificationIdsHasBeenSet = true; m_connectionNotificationIds = value; }
87 
91  inline void SetConnectionNotificationIds(Aws::Vector<Aws::String>&& value) { m_connectionNotificationIdsHasBeenSet = true; m_connectionNotificationIds = std::move(value); }
92 
96  inline DeleteVpcEndpointConnectionNotificationsRequest& WithConnectionNotificationIds(const Aws::Vector<Aws::String>& value) { SetConnectionNotificationIds(value); return *this;}
97 
101  inline DeleteVpcEndpointConnectionNotificationsRequest& WithConnectionNotificationIds(Aws::Vector<Aws::String>&& value) { SetConnectionNotificationIds(std::move(value)); return *this;}
102 
106  inline DeleteVpcEndpointConnectionNotificationsRequest& AddConnectionNotificationIds(const Aws::String& value) { m_connectionNotificationIdsHasBeenSet = true; m_connectionNotificationIds.push_back(value); return *this; }
107 
111  inline DeleteVpcEndpointConnectionNotificationsRequest& AddConnectionNotificationIds(Aws::String&& value) { m_connectionNotificationIdsHasBeenSet = true; m_connectionNotificationIds.push_back(std::move(value)); return *this; }
112 
116  inline DeleteVpcEndpointConnectionNotificationsRequest& AddConnectionNotificationIds(const char* value) { m_connectionNotificationIdsHasBeenSet = true; m_connectionNotificationIds.push_back(value); return *this; }
117 
118  private:
119 
120  bool m_dryRun;
121  bool m_dryRunHasBeenSet;
122 
123  Aws::Vector<Aws::String> m_connectionNotificationIds;
124  bool m_connectionNotificationIdsHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace EC2
129 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::SetConnectionNotificationIds
void SetConnectionNotificationIds(Aws::Vector< Aws::String > &&value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:91
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::GetDryRun
bool GetDryRun() const
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:46
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::WithDryRun
DeleteVpcEndpointConnectionNotificationsRequest & WithDryRun(bool value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:70
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:23
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::WithConnectionNotificationIds
DeleteVpcEndpointConnectionNotificationsRequest & WithConnectionNotificationIds(const Aws::Vector< Aws::String > &value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:96
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::AddConnectionNotificationIds
DeleteVpcEndpointConnectionNotificationsRequest & AddConnectionNotificationIds(const char *value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:116
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::WithConnectionNotificationIds
DeleteVpcEndpointConnectionNotificationsRequest & WithConnectionNotificationIds(Aws::Vector< Aws::String > &&value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:101
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:54
AWSVector.h
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::DeleteVpcEndpointConnectionNotificationsRequest
DeleteVpcEndpointConnectionNotificationsRequest()
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::SetConnectionNotificationIds
void SetConnectionNotificationIds(const Aws::Vector< Aws::String > &value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:86
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::ConnectionNotificationIdsHasBeenSet
bool ConnectionNotificationIdsHasBeenSet() const
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:81
EC2Request.h
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:62
AWSString.h
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::AddConnectionNotificationIds
DeleteVpcEndpointConnectionNotificationsRequest & AddConnectionNotificationIds(Aws::String &&value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:111
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:31
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::AddConnectionNotificationIds
DeleteVpcEndpointConnectionNotificationsRequest & AddConnectionNotificationIds(const Aws::String &value)
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:106
Aws::EC2::Model::DeleteVpcEndpointConnectionNotificationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
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::DeleteVpcEndpointConnectionNotificationsRequest::GetConnectionNotificationIds
const Aws::Vector< Aws::String > & GetConnectionNotificationIds() const
Definition: DeleteVpcEndpointConnectionNotificationsRequest.h:76
EC2_EXPORTS.h