AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpcEndpointConnectionNotificationRequest.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 "CreateVpcEndpointConnectionNotification"; }
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 CreateVpcEndpointConnectionNotificationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
58 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
59 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
60 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
61 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
63 inline CreateVpcEndpointConnectionNotificationRequest& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
64 inline CreateVpcEndpointConnectionNotificationRequest& WithServiceId(const char* value) { SetServiceId(value); return *this;}
66
68
71 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
72 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
73 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
74 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
75 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
78 inline CreateVpcEndpointConnectionNotificationRequest& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
80
82
85 inline const Aws::String& GetConnectionNotificationArn() const{ return m_connectionNotificationArn; }
86 inline bool ConnectionNotificationArnHasBeenSet() const { return m_connectionNotificationArnHasBeenSet; }
87 inline void SetConnectionNotificationArn(const Aws::String& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = value; }
88 inline void SetConnectionNotificationArn(Aws::String&& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = std::move(value); }
89 inline void SetConnectionNotificationArn(const char* value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn.assign(value); }
94
96
101 inline const Aws::Vector<Aws::String>& GetConnectionEvents() const{ return m_connectionEvents; }
102 inline bool ConnectionEventsHasBeenSet() const { return m_connectionEventsHasBeenSet; }
103 inline void SetConnectionEvents(const Aws::Vector<Aws::String>& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = value; }
104 inline void SetConnectionEvents(Aws::Vector<Aws::String>&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents = std::move(value); }
107 inline CreateVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const Aws::String& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
108 inline CreateVpcEndpointConnectionNotificationRequest& AddConnectionEvents(Aws::String&& value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(std::move(value)); return *this; }
109 inline CreateVpcEndpointConnectionNotificationRequest& AddConnectionEvents(const char* value) { m_connectionEventsHasBeenSet = true; m_connectionEvents.push_back(value); return *this; }
111
113
119 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
120 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
121 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
122 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
123 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
126 inline CreateVpcEndpointConnectionNotificationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
128 private:
129
130 bool m_dryRun;
131 bool m_dryRunHasBeenSet = false;
132
133 Aws::String m_serviceId;
134 bool m_serviceIdHasBeenSet = false;
135
136 Aws::String m_vpcEndpointId;
137 bool m_vpcEndpointIdHasBeenSet = false;
138
139 Aws::String m_connectionNotificationArn;
140 bool m_connectionNotificationArnHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_connectionEvents;
143 bool m_connectionEventsHasBeenSet = false;
144
145 Aws::String m_clientToken;
146 bool m_clientTokenHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace EC2
151} // namespace Aws
CreateVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const Aws::String &value)
CreateVpcEndpointConnectionNotificationRequest & WithServiceId(Aws::String &&value)
CreateVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(const char *value)
CreateVpcEndpointConnectionNotificationRequest & WithClientToken(const char *value)
CreateVpcEndpointConnectionNotificationRequest & WithVpcEndpointId(const Aws::String &value)
CreateVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const Aws::String &value)
CreateVpcEndpointConnectionNotificationRequest & WithServiceId(const Aws::String &value)
CreateVpcEndpointConnectionNotificationRequest & WithConnectionEvents(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointConnectionNotificationRequest & AddConnectionEvents(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVpcEndpointConnectionNotificationRequest & WithVpcEndpointId(const char *value)
CreateVpcEndpointConnectionNotificationRequest & AddConnectionEvents(Aws::String &&value)
CreateVpcEndpointConnectionNotificationRequest & WithClientToken(Aws::String &&value)
CreateVpcEndpointConnectionNotificationRequest & WithClientToken(const Aws::String &value)
CreateVpcEndpointConnectionNotificationRequest & WithConnectionEvents(const Aws::Vector< Aws::String > &value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(Aws::String &&value)
CreateVpcEndpointConnectionNotificationRequest & WithServiceId(const char *value)
CreateVpcEndpointConnectionNotificationRequest & WithVpcEndpointId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector