AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename ConnectionNotificationIdT = Aws::String>
60 void SetConnectionNotificationId(ConnectionNotificationIdT&& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = std::forward<ConnectionNotificationIdT>(value); }
61 template<typename ConnectionNotificationIdT = Aws::String>
62 ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationId(ConnectionNotificationIdT&& value) { SetConnectionNotificationId(std::forward<ConnectionNotificationIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetConnectionNotificationArn() const { return m_connectionNotificationArn; }
70 inline bool ConnectionNotificationArnHasBeenSet() const { return m_connectionNotificationArnHasBeenSet; }
71 template<typename ConnectionNotificationArnT = Aws::String>
72 void SetConnectionNotificationArn(ConnectionNotificationArnT&& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = std::forward<ConnectionNotificationArnT>(value); }
73 template<typename ConnectionNotificationArnT = Aws::String>
74 ModifyVpcEndpointConnectionNotificationRequest& WithConnectionNotificationArn(ConnectionNotificationArnT&& value) { SetConnectionNotificationArn(std::forward<ConnectionNotificationArnT>(value)); return *this;}
76
78
82 inline const Aws::Vector<Aws::String>& GetConnectionEvents() const { return m_connectionEvents; }
83 inline bool ConnectionEventsHasBeenSet() const { return m_connectionEventsHasBeenSet; }
84 template<typename ConnectionEventsT = Aws::Vector<Aws::String>>
85 void SetConnectionEvents(ConnectionEventsT&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = std::forward<ConnectionEventsT>(value); }
86 template<typename ConnectionEventsT = Aws::Vector<Aws::String>>
87 ModifyVpcEndpointConnectionNotificationRequest& WithConnectionEvents(ConnectionEventsT&& value) { SetConnectionEvents(std::forward<ConnectionEventsT>(value)); return *this;}
88 template<typename ConnectionEventsT = Aws::String>
89 ModifyVpcEndpointConnectionNotificationRequest& AddConnectionEvents(ConnectionEventsT&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.emplace_back(std::forward<ConnectionEventsT>(value)); return *this; }
91 private:
92
93 bool m_dryRun{false};
94 bool m_dryRunHasBeenSet = false;
95
96 Aws::String m_connectionNotificationId;
97 bool m_connectionNotificationIdHasBeenSet = false;
98
99 Aws::String m_connectionNotificationArn;
100 bool m_connectionNotificationArnHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_connectionEvents;
103 bool m_connectionEventsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace EC2
108} // namespace Aws
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(ConnectionEventsT &&value)
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(ConnectionEventsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(ConnectionNotificationIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(ConnectionNotificationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector