AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpcEndpointServiceConfigurationRequest.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 "ModifyVpcEndpointServiceConfiguration"; }
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 ModifyVpcEndpointServiceConfigurationRequest& 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 ModifyVpcEndpointServiceConfigurationRequest& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
64 inline ModifyVpcEndpointServiceConfigurationRequest& WithServiceId(const char* value) { SetServiceId(value); return *this;}
66
68
72 inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
73 inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
74 inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
75 inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
76 inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
79 inline ModifyVpcEndpointServiceConfigurationRequest& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
81
83
87 inline bool GetRemovePrivateDnsName() const{ return m_removePrivateDnsName; }
88 inline bool RemovePrivateDnsNameHasBeenSet() const { return m_removePrivateDnsNameHasBeenSet; }
89 inline void SetRemovePrivateDnsName(bool value) { m_removePrivateDnsNameHasBeenSet = true; m_removePrivateDnsName = value; }
92
94
98 inline bool GetAcceptanceRequired() const{ return m_acceptanceRequired; }
99 inline bool AcceptanceRequiredHasBeenSet() const { return m_acceptanceRequiredHasBeenSet; }
100 inline void SetAcceptanceRequired(bool value) { m_acceptanceRequiredHasBeenSet = true; m_acceptanceRequired = value; }
103
105
109 inline const Aws::Vector<Aws::String>& GetAddNetworkLoadBalancerArns() const{ return m_addNetworkLoadBalancerArns; }
110 inline bool AddNetworkLoadBalancerArnsHasBeenSet() const { return m_addNetworkLoadBalancerArnsHasBeenSet; }
111 inline void SetAddNetworkLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_addNetworkLoadBalancerArnsHasBeenSet = true; m_addNetworkLoadBalancerArns = value; }
112 inline void SetAddNetworkLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_addNetworkLoadBalancerArnsHasBeenSet = true; m_addNetworkLoadBalancerArns = std::move(value); }
115 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddNetworkLoadBalancerArns(const Aws::String& value) { m_addNetworkLoadBalancerArnsHasBeenSet = true; m_addNetworkLoadBalancerArns.push_back(value); return *this; }
116 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddNetworkLoadBalancerArns(Aws::String&& value) { m_addNetworkLoadBalancerArnsHasBeenSet = true; m_addNetworkLoadBalancerArns.push_back(std::move(value)); return *this; }
117 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddNetworkLoadBalancerArns(const char* value) { m_addNetworkLoadBalancerArnsHasBeenSet = true; m_addNetworkLoadBalancerArns.push_back(value); return *this; }
119
121
125 inline const Aws::Vector<Aws::String>& GetRemoveNetworkLoadBalancerArns() const{ return m_removeNetworkLoadBalancerArns; }
126 inline bool RemoveNetworkLoadBalancerArnsHasBeenSet() const { return m_removeNetworkLoadBalancerArnsHasBeenSet; }
127 inline void SetRemoveNetworkLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_removeNetworkLoadBalancerArnsHasBeenSet = true; m_removeNetworkLoadBalancerArns = value; }
128 inline void SetRemoveNetworkLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_removeNetworkLoadBalancerArnsHasBeenSet = true; m_removeNetworkLoadBalancerArns = std::move(value); }
131 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveNetworkLoadBalancerArns(const Aws::String& value) { m_removeNetworkLoadBalancerArnsHasBeenSet = true; m_removeNetworkLoadBalancerArns.push_back(value); return *this; }
132 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveNetworkLoadBalancerArns(Aws::String&& value) { m_removeNetworkLoadBalancerArnsHasBeenSet = true; m_removeNetworkLoadBalancerArns.push_back(std::move(value)); return *this; }
133 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveNetworkLoadBalancerArns(const char* value) { m_removeNetworkLoadBalancerArnsHasBeenSet = true; m_removeNetworkLoadBalancerArns.push_back(value); return *this; }
135
137
141 inline const Aws::Vector<Aws::String>& GetAddGatewayLoadBalancerArns() const{ return m_addGatewayLoadBalancerArns; }
142 inline bool AddGatewayLoadBalancerArnsHasBeenSet() const { return m_addGatewayLoadBalancerArnsHasBeenSet; }
143 inline void SetAddGatewayLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_addGatewayLoadBalancerArnsHasBeenSet = true; m_addGatewayLoadBalancerArns = value; }
144 inline void SetAddGatewayLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_addGatewayLoadBalancerArnsHasBeenSet = true; m_addGatewayLoadBalancerArns = std::move(value); }
147 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddGatewayLoadBalancerArns(const Aws::String& value) { m_addGatewayLoadBalancerArnsHasBeenSet = true; m_addGatewayLoadBalancerArns.push_back(value); return *this; }
148 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddGatewayLoadBalancerArns(Aws::String&& value) { m_addGatewayLoadBalancerArnsHasBeenSet = true; m_addGatewayLoadBalancerArns.push_back(std::move(value)); return *this; }
149 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddGatewayLoadBalancerArns(const char* value) { m_addGatewayLoadBalancerArnsHasBeenSet = true; m_addGatewayLoadBalancerArns.push_back(value); return *this; }
151
153
157 inline const Aws::Vector<Aws::String>& GetRemoveGatewayLoadBalancerArns() const{ return m_removeGatewayLoadBalancerArns; }
158 inline bool RemoveGatewayLoadBalancerArnsHasBeenSet() const { return m_removeGatewayLoadBalancerArnsHasBeenSet; }
159 inline void SetRemoveGatewayLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_removeGatewayLoadBalancerArnsHasBeenSet = true; m_removeGatewayLoadBalancerArns = value; }
160 inline void SetRemoveGatewayLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_removeGatewayLoadBalancerArnsHasBeenSet = true; m_removeGatewayLoadBalancerArns = std::move(value); }
163 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveGatewayLoadBalancerArns(const Aws::String& value) { m_removeGatewayLoadBalancerArnsHasBeenSet = true; m_removeGatewayLoadBalancerArns.push_back(value); return *this; }
164 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveGatewayLoadBalancerArns(Aws::String&& value) { m_removeGatewayLoadBalancerArnsHasBeenSet = true; m_removeGatewayLoadBalancerArns.push_back(std::move(value)); return *this; }
165 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveGatewayLoadBalancerArns(const char* value) { m_removeGatewayLoadBalancerArnsHasBeenSet = true; m_removeGatewayLoadBalancerArns.push_back(value); return *this; }
167
169
172 inline const Aws::Vector<Aws::String>& GetAddSupportedIpAddressTypes() const{ return m_addSupportedIpAddressTypes; }
173 inline bool AddSupportedIpAddressTypesHasBeenSet() const { return m_addSupportedIpAddressTypesHasBeenSet; }
174 inline void SetAddSupportedIpAddressTypes(const Aws::Vector<Aws::String>& value) { m_addSupportedIpAddressTypesHasBeenSet = true; m_addSupportedIpAddressTypes = value; }
175 inline void SetAddSupportedIpAddressTypes(Aws::Vector<Aws::String>&& value) { m_addSupportedIpAddressTypesHasBeenSet = true; m_addSupportedIpAddressTypes = std::move(value); }
178 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedIpAddressTypes(const Aws::String& value) { m_addSupportedIpAddressTypesHasBeenSet = true; m_addSupportedIpAddressTypes.push_back(value); return *this; }
179 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedIpAddressTypes(Aws::String&& value) { m_addSupportedIpAddressTypesHasBeenSet = true; m_addSupportedIpAddressTypes.push_back(std::move(value)); return *this; }
180 inline ModifyVpcEndpointServiceConfigurationRequest& AddAddSupportedIpAddressTypes(const char* value) { m_addSupportedIpAddressTypesHasBeenSet = true; m_addSupportedIpAddressTypes.push_back(value); return *this; }
182
184
187 inline const Aws::Vector<Aws::String>& GetRemoveSupportedIpAddressTypes() const{ return m_removeSupportedIpAddressTypes; }
188 inline bool RemoveSupportedIpAddressTypesHasBeenSet() const { return m_removeSupportedIpAddressTypesHasBeenSet; }
189 inline void SetRemoveSupportedIpAddressTypes(const Aws::Vector<Aws::String>& value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes = value; }
190 inline void SetRemoveSupportedIpAddressTypes(Aws::Vector<Aws::String>&& value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes = std::move(value); }
193 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedIpAddressTypes(const Aws::String& value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes.push_back(value); return *this; }
194 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedIpAddressTypes(Aws::String&& value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes.push_back(std::move(value)); return *this; }
195 inline ModifyVpcEndpointServiceConfigurationRequest& AddRemoveSupportedIpAddressTypes(const char* value) { m_removeSupportedIpAddressTypesHasBeenSet = true; m_removeSupportedIpAddressTypes.push_back(value); return *this; }
197 private:
198
199 bool m_dryRun;
200 bool m_dryRunHasBeenSet = false;
201
202 Aws::String m_serviceId;
203 bool m_serviceIdHasBeenSet = false;
204
205 Aws::String m_privateDnsName;
206 bool m_privateDnsNameHasBeenSet = false;
207
208 bool m_removePrivateDnsName;
209 bool m_removePrivateDnsNameHasBeenSet = false;
210
211 bool m_acceptanceRequired;
212 bool m_acceptanceRequiredHasBeenSet = false;
213
214 Aws::Vector<Aws::String> m_addNetworkLoadBalancerArns;
215 bool m_addNetworkLoadBalancerArnsHasBeenSet = false;
216
217 Aws::Vector<Aws::String> m_removeNetworkLoadBalancerArns;
218 bool m_removeNetworkLoadBalancerArnsHasBeenSet = false;
219
220 Aws::Vector<Aws::String> m_addGatewayLoadBalancerArns;
221 bool m_addGatewayLoadBalancerArnsHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_removeGatewayLoadBalancerArns;
224 bool m_removeGatewayLoadBalancerArnsHasBeenSet = false;
225
226 Aws::Vector<Aws::String> m_addSupportedIpAddressTypes;
227 bool m_addSupportedIpAddressTypesHasBeenSet = false;
228
229 Aws::Vector<Aws::String> m_removeSupportedIpAddressTypes;
230 bool m_removeSupportedIpAddressTypesHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace EC2
235} // namespace Aws
ModifyVpcEndpointServiceConfigurationRequest & WithAddGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddGatewayLoadBalancerArns(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & WithServiceId(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithServiceId(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithAddSupportedIpAddressTypes(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServiceConfigurationRequest & WithServiceId(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddNetworkLoadBalancerArns(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveSupportedIpAddressTypes(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddSupportedIpAddressTypes(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemovePrivateDnsName(bool value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddNetworkLoadBalancerArns(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddNetworkLoadBalancerArns(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithAcceptanceRequired(bool value)
ModifyVpcEndpointServiceConfigurationRequest & WithAddSupportedIpAddressTypes(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddSupportedIpAddressTypes(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveNetworkLoadBalancerArns(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveNetworkLoadBalancerArns(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveSupportedIpAddressTypes(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveGatewayLoadBalancerArns(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveSupportedIpAddressTypes(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveSupportedIpAddressTypes(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & WithAddGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveGatewayLoadBalancerArns(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & WithAddNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddGatewayLoadBalancerArns(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddGatewayLoadBalancerArns(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & WithPrivateDnsName(const char *value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveNetworkLoadBalancerArns(Aws::String &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveGatewayLoadBalancerArns(const Aws::String &value)
ModifyVpcEndpointServiceConfigurationRequest & AddAddSupportedIpAddressTypes(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpcEndpointServiceConfigurationRequest & WithRemoveNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVpcEndpointServiceConfigurationRequest & WithAddNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServiceConfigurationRequest & AddRemoveSupportedIpAddressTypes(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector