AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpcEndpointConnectionNotificationRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace 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_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
47 inline bool GetDryRun() const{ return m_dryRun; }
48 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline ModifyVpcEndpointConnectionNotificationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::String& GetConnectionNotificationId() const{ return m_connectionNotificationId; }
58 inline bool ConnectionNotificationIdHasBeenSet() const { return m_connectionNotificationIdHasBeenSet; }
59 inline void SetConnectionNotificationId(const Aws::String& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = value; }
60 inline void SetConnectionNotificationId(Aws::String&& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = std::move(value); }
61 inline void SetConnectionNotificationId(const char* value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId.assign(value); }
66
68
71 inline const Aws::String& GetConnectionNotificationArn() const{ return m_connectionNotificationArn; }
72 inline bool ConnectionNotificationArnHasBeenSet() const { return m_connectionNotificationArnHasBeenSet; }
73 inline void SetConnectionNotificationArn(const Aws::String& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = value; }
74 inline void SetConnectionNotificationArn(Aws::String&& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = std::move(value); }
75 inline void SetConnectionNotificationArn(const char* value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn.assign(value); }
80
82
86 inline const Aws::Vector<Aws::String>& GetConnectionEvents() const{ return m_connectionEvents; }
87 inline bool ConnectionEventsHasBeenSet() const { return m_connectionEventsHasBeenSet; }
88 inline void SetConnectionEvents(const Aws::Vector<Aws::String>& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = value; }
89 inline void SetConnectionEvents(Aws::Vector<Aws::String>&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = std::move(value); }
92 inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const Aws::String& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
93 inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(Aws::String&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(std::move(value)); return *this; }
94 inline ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const char* value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
96 private:
97
98 bool m_dryRun;
99 bool m_dryRunHasBeenSet = false;
100
101 Aws::String m_connectionNotificationId;
102 bool m_connectionNotificationIdHasBeenSet = false;
103
104 Aws::String m_connectionNotificationArn;
105 bool m_connectionNotificationArnHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_connectionEvents;
108 bool m_connectionEventsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace EC2
113} // namespace Aws
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const Aws::String &value)
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const char *value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(const Aws::String &value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(const char *value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(Aws::String &&value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const Aws::String &value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(Aws::String &&value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const char *value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector