AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/VpcEndpointType.h>
11#include <aws/ec2/model/State.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/IpAddressType.h>
14#include <aws/ec2/model/DnsOptions.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/ec2/model/LastError.h>
17#include <aws/ec2/model/SecurityGroupIdentifier.h>
18#include <aws/ec2/model/DnsEntry.h>
19#include <aws/ec2/model/Tag.h>
20#include <aws/ec2/model/SubnetIpPrefixes.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Xml
28{
29 class XmlNode;
30} // namespace Xml
31} // namespace Utils
32namespace EC2
33{
34namespace Model
35{
36
43 {
44 public:
45 AWS_EC2_API VpcEndpoint() = default;
46 AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
47 AWS_EC2_API VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
48
49 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
51
52
54
57 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
58 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
59 template<typename VpcEndpointIdT = Aws::String>
60 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
61 template<typename VpcEndpointIdT = Aws::String>
62 VpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
64
66
69 inline VpcEndpointType GetVpcEndpointType() const { return m_vpcEndpointType; }
70 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
71 inline void SetVpcEndpointType(VpcEndpointType value) { m_vpcEndpointTypeHasBeenSet = true; m_vpcEndpointType = value; }
72 inline VpcEndpoint& WithVpcEndpointType(VpcEndpointType value) { SetVpcEndpointType(value); return *this;}
74
76
79 inline const Aws::String& GetVpcId() const { return m_vpcId; }
80 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
81 template<typename VpcIdT = Aws::String>
82 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
83 template<typename VpcIdT = Aws::String>
84 VpcEndpoint& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
86
88
91 inline const Aws::String& GetServiceName() const { return m_serviceName; }
92 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
93 template<typename ServiceNameT = Aws::String>
94 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
95 template<typename ServiceNameT = Aws::String>
96 VpcEndpoint& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
98
100
103 inline State GetState() const { return m_state; }
104 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
105 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
106 inline VpcEndpoint& WithState(State value) { SetState(value); return *this;}
108
110
113 inline const Aws::String& GetPolicyDocument() const { return m_policyDocument; }
114 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
115 template<typename PolicyDocumentT = Aws::String>
116 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
117 template<typename PolicyDocumentT = Aws::String>
118 VpcEndpoint& WithPolicyDocument(PolicyDocumentT&& value) { SetPolicyDocument(std::forward<PolicyDocumentT>(value)); return *this;}
120
122
126 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
127 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
128 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
129 void SetRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::forward<RouteTableIdsT>(value); }
130 template<typename RouteTableIdsT = Aws::Vector<Aws::String>>
131 VpcEndpoint& WithRouteTableIds(RouteTableIdsT&& value) { SetRouteTableIds(std::forward<RouteTableIdsT>(value)); return *this;}
132 template<typename RouteTableIdsT = Aws::String>
133 VpcEndpoint& AddRouteTableIds(RouteTableIdsT&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value)); return *this; }
135
137
140 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
141 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
142 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
143 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
144 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
145 VpcEndpoint& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
146 template<typename SubnetIdsT = Aws::String>
147 VpcEndpoint& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
149
151
155 inline const Aws::Vector<SecurityGroupIdentifier>& GetGroups() const { return m_groups; }
156 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
157 template<typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
158 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups = std::forward<GroupsT>(value); }
159 template<typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
160 VpcEndpoint& WithGroups(GroupsT&& value) { SetGroups(std::forward<GroupsT>(value)); return *this;}
161 template<typename GroupsT = SecurityGroupIdentifier>
162 VpcEndpoint& AddGroups(GroupsT&& value) { m_groupsHasBeenSet = true; m_groups.emplace_back(std::forward<GroupsT>(value)); return *this; }
164
166
169 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
170 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
171 inline void SetIpAddressType(IpAddressType value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
172 inline VpcEndpoint& WithIpAddressType(IpAddressType value) { SetIpAddressType(value); return *this;}
174
176
179 inline const DnsOptions& GetDnsOptions() const { return m_dnsOptions; }
180 inline bool DnsOptionsHasBeenSet() const { return m_dnsOptionsHasBeenSet; }
181 template<typename DnsOptionsT = DnsOptions>
182 void SetDnsOptions(DnsOptionsT&& value) { m_dnsOptionsHasBeenSet = true; m_dnsOptions = std::forward<DnsOptionsT>(value); }
183 template<typename DnsOptionsT = DnsOptions>
184 VpcEndpoint& WithDnsOptions(DnsOptionsT&& value) { SetDnsOptions(std::forward<DnsOptionsT>(value)); return *this;}
186
188
192 inline bool GetPrivateDnsEnabled() const { return m_privateDnsEnabled; }
193 inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; }
194 inline void SetPrivateDnsEnabled(bool value) { m_privateDnsEnabledHasBeenSet = true; m_privateDnsEnabled = value; }
195 inline VpcEndpoint& WithPrivateDnsEnabled(bool value) { SetPrivateDnsEnabled(value); return *this;}
197
199
202 inline bool GetRequesterManaged() const { return m_requesterManaged; }
203 inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; }
204 inline void SetRequesterManaged(bool value) { m_requesterManagedHasBeenSet = true; m_requesterManaged = value; }
205 inline VpcEndpoint& WithRequesterManaged(bool value) { SetRequesterManaged(value); return *this;}
207
209
212 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
213 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
214 template<typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
215 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value); }
216 template<typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
217 VpcEndpoint& WithNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value)); return *this;}
218 template<typename NetworkInterfaceIdsT = Aws::String>
219 VpcEndpoint& AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value)); return *this; }
221
223
226 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const { return m_dnsEntries; }
227 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
228 template<typename DnsEntriesT = Aws::Vector<DnsEntry>>
229 void SetDnsEntries(DnsEntriesT&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = std::forward<DnsEntriesT>(value); }
230 template<typename DnsEntriesT = Aws::Vector<DnsEntry>>
231 VpcEndpoint& WithDnsEntries(DnsEntriesT&& value) { SetDnsEntries(std::forward<DnsEntriesT>(value)); return *this;}
232 template<typename DnsEntriesT = DnsEntry>
233 VpcEndpoint& AddDnsEntries(DnsEntriesT&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.emplace_back(std::forward<DnsEntriesT>(value)); return *this; }
235
237
240 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
241 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
242 template<typename CreationTimestampT = Aws::Utils::DateTime>
243 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
244 template<typename CreationTimestampT = Aws::Utils::DateTime>
245 VpcEndpoint& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
247
249
252 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
253 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
254 template<typename TagsT = Aws::Vector<Tag>>
255 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
256 template<typename TagsT = Aws::Vector<Tag>>
257 VpcEndpoint& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
258 template<typename TagsT = Tag>
259 VpcEndpoint& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
261
263
266 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
267 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
268 template<typename OwnerIdT = Aws::String>
269 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
270 template<typename OwnerIdT = Aws::String>
271 VpcEndpoint& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
273
275
278 inline const LastError& GetLastError() const { return m_lastError; }
279 inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; }
280 template<typename LastErrorT = LastError>
281 void SetLastError(LastErrorT&& value) { m_lastErrorHasBeenSet = true; m_lastError = std::forward<LastErrorT>(value); }
282 template<typename LastErrorT = LastError>
283 VpcEndpoint& WithLastError(LastErrorT&& value) { SetLastError(std::forward<LastErrorT>(value)); return *this;}
285
287
290 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv4Prefixes() const { return m_ipv4Prefixes; }
291 inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
292 template<typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
293 void SetIpv4Prefixes(Ipv4PrefixesT&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value); }
294 template<typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
295 VpcEndpoint& WithIpv4Prefixes(Ipv4PrefixesT&& value) { SetIpv4Prefixes(std::forward<Ipv4PrefixesT>(value)); return *this;}
296 template<typename Ipv4PrefixesT = SubnetIpPrefixes>
297 VpcEndpoint& AddIpv4Prefixes(Ipv4PrefixesT&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value)); return *this; }
299
301
304 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv6Prefixes() const { return m_ipv6Prefixes; }
305 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
306 template<typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
307 void SetIpv6Prefixes(Ipv6PrefixesT&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = std::forward<Ipv6PrefixesT>(value); }
308 template<typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
309 VpcEndpoint& WithIpv6Prefixes(Ipv6PrefixesT&& value) { SetIpv6Prefixes(std::forward<Ipv6PrefixesT>(value)); return *this;}
310 template<typename Ipv6PrefixesT = SubnetIpPrefixes>
311 VpcEndpoint& AddIpv6Prefixes(Ipv6PrefixesT&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.emplace_back(std::forward<Ipv6PrefixesT>(value)); return *this; }
313
315
318 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
319 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
320 template<typename FailureReasonT = Aws::String>
321 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
322 template<typename FailureReasonT = Aws::String>
323 VpcEndpoint& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
325
327
330 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
331 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
332 template<typename ServiceNetworkArnT = Aws::String>
333 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
334 template<typename ServiceNetworkArnT = Aws::String>
335 VpcEndpoint& WithServiceNetworkArn(ServiceNetworkArnT&& value) { SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value)); return *this;}
337
339
342 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
343 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
344 template<typename ResourceConfigurationArnT = Aws::String>
345 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) { m_resourceConfigurationArnHasBeenSet = true; m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value); }
346 template<typename ResourceConfigurationArnT = Aws::String>
347 VpcEndpoint& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) { SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value)); return *this;}
349
351
354 inline const Aws::String& GetServiceRegion() const { return m_serviceRegion; }
355 inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; }
356 template<typename ServiceRegionT = Aws::String>
357 void SetServiceRegion(ServiceRegionT&& value) { m_serviceRegionHasBeenSet = true; m_serviceRegion = std::forward<ServiceRegionT>(value); }
358 template<typename ServiceRegionT = Aws::String>
359 VpcEndpoint& WithServiceRegion(ServiceRegionT&& value) { SetServiceRegion(std::forward<ServiceRegionT>(value)); return *this;}
361 private:
362
363 Aws::String m_vpcEndpointId;
364 bool m_vpcEndpointIdHasBeenSet = false;
365
366 VpcEndpointType m_vpcEndpointType{VpcEndpointType::NOT_SET};
367 bool m_vpcEndpointTypeHasBeenSet = false;
368
369 Aws::String m_vpcId;
370 bool m_vpcIdHasBeenSet = false;
371
372 Aws::String m_serviceName;
373 bool m_serviceNameHasBeenSet = false;
374
375 State m_state{State::NOT_SET};
376 bool m_stateHasBeenSet = false;
377
378 Aws::String m_policyDocument;
379 bool m_policyDocumentHasBeenSet = false;
380
381 Aws::Vector<Aws::String> m_routeTableIds;
382 bool m_routeTableIdsHasBeenSet = false;
383
384 Aws::Vector<Aws::String> m_subnetIds;
385 bool m_subnetIdsHasBeenSet = false;
386
388 bool m_groupsHasBeenSet = false;
389
390 IpAddressType m_ipAddressType{IpAddressType::NOT_SET};
391 bool m_ipAddressTypeHasBeenSet = false;
392
393 DnsOptions m_dnsOptions;
394 bool m_dnsOptionsHasBeenSet = false;
395
396 bool m_privateDnsEnabled{false};
397 bool m_privateDnsEnabledHasBeenSet = false;
398
399 bool m_requesterManaged{false};
400 bool m_requesterManagedHasBeenSet = false;
401
402 Aws::Vector<Aws::String> m_networkInterfaceIds;
403 bool m_networkInterfaceIdsHasBeenSet = false;
404
405 Aws::Vector<DnsEntry> m_dnsEntries;
406 bool m_dnsEntriesHasBeenSet = false;
407
408 Aws::Utils::DateTime m_creationTimestamp{};
409 bool m_creationTimestampHasBeenSet = false;
410
411 Aws::Vector<Tag> m_tags;
412 bool m_tagsHasBeenSet = false;
413
414 Aws::String m_ownerId;
415 bool m_ownerIdHasBeenSet = false;
416
417 LastError m_lastError;
418 bool m_lastErrorHasBeenSet = false;
419
420 Aws::Vector<SubnetIpPrefixes> m_ipv4Prefixes;
421 bool m_ipv4PrefixesHasBeenSet = false;
422
423 Aws::Vector<SubnetIpPrefixes> m_ipv6Prefixes;
424 bool m_ipv6PrefixesHasBeenSet = false;
425
426 Aws::String m_failureReason;
427 bool m_failureReasonHasBeenSet = false;
428
429 Aws::String m_serviceNetworkArn;
430 bool m_serviceNetworkArnHasBeenSet = false;
431
432 Aws::String m_resourceConfigurationArn;
433 bool m_resourceConfigurationArnHasBeenSet = false;
434
435 Aws::String m_serviceRegion;
436 bool m_serviceRegionHasBeenSet = false;
437 };
438
439} // namespace Model
440} // namespace EC2
441} // namespace Aws
void SetServiceName(ServiceNameT &&value)
Definition VpcEndpoint.h:94
VpcEndpoint & WithPrivateDnsEnabled(bool value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:57
VpcEndpoint & WithTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetResourceConfigurationArn() const
void SetIpv6Prefixes(Ipv6PrefixesT &&value)
VpcEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:62
void SetServiceRegion(ServiceRegionT &&value)
bool ServiceNetworkArnHasBeenSet() const
void SetRouteTableIds(RouteTableIdsT &&value)
void SetLastError(LastErrorT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool Ipv6PrefixesHasBeenSet() const
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
VpcEndpoint & AddGroups(GroupsT &&value)
VpcEndpoint & WithServiceRegion(ServiceRegionT &&value)
const Aws::Vector< SubnetIpPrefixes > & GetIpv6Prefixes() const
void SetPolicyDocument(PolicyDocumentT &&value)
VpcEndpoint & AddTags(TagsT &&value)
VpcEndpoint & WithCreationTimestamp(CreationTimestampT &&value)
VpcEndpoint & WithPolicyDocument(PolicyDocumentT &&value)
VpcEndpoint & WithServiceName(ServiceNameT &&value)
Definition VpcEndpoint.h:96
VpcEndpoint & WithResourceConfigurationArn(ResourceConfigurationArnT &&value)
AWS_EC2_API VpcEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(State value)
VpcEndpoint & WithDnsOptions(DnsOptionsT &&value)
const Aws::String & GetOwnerId() const
bool ServiceNameHasBeenSet() const
Definition VpcEndpoint.h:92
VpcEndpoint & WithSubnetIds(SubnetIdsT &&value)
bool PrivateDnsEnabledHasBeenSet() const
const Aws::String & GetServiceRegion() const
AWS_EC2_API VpcEndpoint()=default
VpcEndpointType GetVpcEndpointType() const
Definition VpcEndpoint.h:69
void SetPrivateDnsEnabled(bool value)
const Aws::Vector< SecurityGroupIdentifier > & GetGroups() const
bool RouteTableIdsHasBeenSet() const
void SetNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
IpAddressType GetIpAddressType() const
bool ServiceRegionHasBeenSet() const
VpcEndpoint & AddRouteTableIds(RouteTableIdsT &&value)
const Aws::String & GetServiceName() const
Definition VpcEndpoint.h:91
VpcEndpoint & WithState(State value)
VpcEndpoint & WithIpv6Prefixes(Ipv6PrefixesT &&value)
VpcEndpoint & AddDnsEntries(DnsEntriesT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:60
VpcEndpoint & AddIpv6Prefixes(Ipv6PrefixesT &&value)
bool VpcEndpointTypeHasBeenSet() const
Definition VpcEndpoint.h:70
void SetVpcEndpointType(VpcEndpointType value)
Definition VpcEndpoint.h:71
const LastError & GetLastError() const
const Aws::Vector< DnsEntry > & GetDnsEntries() const
VpcEndpoint & WithIpv4Prefixes(Ipv4PrefixesT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEndpoint & WithIpAddressType(IpAddressType value)
const Aws::Vector< SubnetIpPrefixes > & GetIpv4Prefixes() const
const Aws::Vector< Tag > & GetTags() const
VpcEndpoint & WithVpcId(VpcIdT &&value)
Definition VpcEndpoint.h:84
void SetTags(TagsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
VpcEndpoint & WithNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
bool ResourceConfigurationArnHasBeenSet() const
VpcEndpoint & WithRouteTableIds(RouteTableIdsT &&value)
void SetRequesterManaged(bool value)
void SetDnsOptions(DnsOptionsT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetCreationTimestamp(CreationTimestampT &&value)
const DnsOptions & GetDnsOptions() const
void SetResourceConfigurationArn(ResourceConfigurationArnT &&value)
const Aws::String & GetServiceNetworkArn() const
bool Ipv4PrefixesHasBeenSet() const
VpcEndpoint & WithVpcEndpointType(VpcEndpointType value)
Definition VpcEndpoint.h:72
VpcEndpoint & WithOwnerId(OwnerIdT &&value)
VpcEndpoint & WithFailureReason(FailureReasonT &&value)
bool NetworkInterfaceIdsHasBeenSet() const
void SetServiceNetworkArn(ServiceNetworkArnT &&value)
bool FailureReasonHasBeenSet() const
void SetIpv4Prefixes(Ipv4PrefixesT &&value)
void SetFailureReason(FailureReasonT &&value)
void SetVpcId(VpcIdT &&value)
Definition VpcEndpoint.h:82
bool IpAddressTypeHasBeenSet() const
void SetDnsEntries(DnsEntriesT &&value)
void SetGroups(GroupsT &&value)
VpcEndpoint & WithGroups(GroupsT &&value)
bool RequesterManagedHasBeenSet() const
AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetFailureReason() const
VpcEndpoint & AddIpv4Prefixes(Ipv4PrefixesT &&value)
VpcEndpoint & AddNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
VpcEndpoint & WithServiceNetworkArn(ServiceNetworkArnT &&value)
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:79
const Aws::String & GetPolicyDocument() const
VpcEndpoint & AddSubnetIds(SubnetIdsT &&value)
bool CreationTimestampHasBeenSet() const
VpcEndpoint & WithRequesterManaged(bool value)
VpcEndpoint & WithLastError(LastErrorT &&value)
bool VpcEndpointIdHasBeenSet() const
Definition VpcEndpoint.h:58
void SetOwnerId(OwnerIdT &&value)
void SetIpAddressType(IpAddressType value)
bool PolicyDocumentHasBeenSet() const
VpcEndpoint & WithDnsEntries(DnsEntriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream