AWS SDK for C++  1.9.66
AWS SDK for C++
ModifyVpcEndpointConnectionNotificationRequest.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 "ModifyVpcEndpointConnectionNotification"; }
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 ModifyVpcEndpointConnectionNotificationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
71 
72 
76  inline const Aws::String& GetConnectionNotificationId() const{ return m_connectionNotificationId; }
77 
81  inline bool ConnectionNotificationIdHasBeenSet() const { return m_connectionNotificationIdHasBeenSet; }
82 
86  inline void SetConnectionNotificationId(const Aws::String& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = value; }
87 
91  inline void SetConnectionNotificationId(Aws::String&& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = std::move(value); }
92 
96  inline void SetConnectionNotificationId(const char* value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId.assign(value); }
97 
101  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationId(const Aws::String& value) { SetConnectionNotificationId(value); return *this;}
102 
106  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationId(Aws::String&& value) { SetConnectionNotificationId(std::move(value)); return *this;}
107 
111  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationId(const char* value) { SetConnectionNotificationId(value); return *this;}
112 
113 
117  inline const Aws::String& GetConnectionNotificationArn() const{ return m_connectionNotificationArn; }
118 
122  inline bool ConnectionNotificationArnHasBeenSet() const { return m_connectionNotificationArnHasBeenSet; }
123 
127  inline void SetConnectionNotificationArn(const Aws::String& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = value; }
128 
132  inline void SetConnectionNotificationArn(Aws::String&& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = std::move(value); }
133 
137  inline void SetConnectionNotificationArn(const char* value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn.assign(value); }
138 
142  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationArn(const Aws::String& value) { SetConnectionNotificationArn(value); return *this;}
143 
147  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationArn(Aws::String&& value) { SetConnectionNotificationArn(std::move(value)); return *this;}
148 
152  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationArn(const char* value) { SetConnectionNotificationArn(value); return *this;}
153 
154 
159  inline const Aws::Vector<Aws::String>& GetConnectionEvents() const{ return m_connectionEvents; }
160 
165  inline bool ConnectionEventsHasBeenSet() const { return m_connectionEventsHasBeenSet; }
166 
171  inline void SetConnectionEvents(const Aws::Vector<Aws::String>& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = value; }
172 
177  inline void SetConnectionEvents(Aws::Vector<Aws::String>&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = std::move(value); }
178 
183  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionEvents(const Aws::Vector<Aws::String>& value) { SetConnectionEvents(value); return *this;}
184 
189  inline ModifyVpcEndpointConnectionNotificationRequest& WithConnectionEvents(Aws::Vector<Aws::String>&& value) { SetConnectionEvents(std::move(value)); return *this;}
190 
195  inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const Aws::String& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
196 
201  inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(Aws::String&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(std::move(value)); return *this; }
202 
207  inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const char* value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
208 
209  private:
210 
211  bool m_dryRun;
212  bool m_dryRunHasBeenSet;
213 
214  Aws::String m_connectionNotificationId;
215  bool m_connectionNotificationIdHasBeenSet;
216 
217  Aws::String m_connectionNotificationArn;
218  bool m_connectionNotificationArnHasBeenSet;
219 
220  Aws::Vector<Aws::String> m_connectionEvents;
221  bool m_connectionEventsHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace EC2
226 } // namespace Aws
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationArn
void SetConnectionNotificationArn(Aws::String &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:132
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:54
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationId
void SetConnectionNotificationId(Aws::String &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:91
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationId
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(const Aws::String &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:101
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:23
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::GetConnectionEvents
const Aws::Vector< Aws::String > & GetConnectionEvents() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:159
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationId
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(const char *value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:111
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationArn
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(Aws::String &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:147
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationId
void SetConnectionNotificationId(const Aws::String &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:86
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::ConnectionNotificationArnHasBeenSet
bool ConnectionNotificationArnHasBeenSet() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:122
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::GetConnectionNotificationArn
const Aws::String & GetConnectionNotificationArn() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:117
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationId
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(Aws::String &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:106
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationArn
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const Aws::String &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:142
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationArn
void SetConnectionNotificationArn(const Aws::String &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:127
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionEvents
void SetConnectionEvents(Aws::Vector< Aws::String > &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:177
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationId
void SetConnectionNotificationId(const char *value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:96
AWSVector.h
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::GetConnectionNotificationId
const Aws::String & GetConnectionNotificationId() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:76
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::AddConnectionEvents
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const char *value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:207
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:31
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::ConnectionNotificationIdHasBeenSet
bool ConnectionNotificationIdHasBeenSet() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:81
EC2Request.h
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionEvents
void SetConnectionEvents(const Aws::Vector< Aws::String > &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:171
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::GetDryRun
bool GetDryRun() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:46
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::ConnectionEventsHasBeenSet
bool ConnectionEventsHasBeenSet() const
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:165
AWSString.h
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::ModifyVpcEndpointConnectionNotificationRequest
ModifyVpcEndpointConnectionNotificationRequest()
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::AddConnectionEvents
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const Aws::String &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:195
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionEvents
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(Aws::Vector< Aws::String > &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:189
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetConnectionNotificationArn
void SetConnectionNotificationArn(const char *value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:137
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionNotificationArn
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const char *value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:152
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::AddConnectionEvents
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(Aws::String &&value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:201
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithDryRun
ModifyVpcEndpointConnectionNotificationRequest & WithDryRun(bool value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:70
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::SetDryRun
void SetDryRun(bool value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:62
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ModifyVpcEndpointConnectionNotificationRequest::WithConnectionEvents
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(const Aws::Vector< Aws::String > &value)
Definition: ModifyVpcEndpointConnectionNotificationRequest.h:183
EC2_EXPORTS.h