AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/DnsEntry.h>
13#include <aws/ec2/model/DnsOptions.h>
14#include <aws/ec2/model/IpAddressType.h>
15#include <aws/ec2/model/LastError.h>
16#include <aws/ec2/model/SecurityGroupIdentifier.h>
17#include <aws/ec2/model/State.h>
18#include <aws/ec2/model/SubnetIpPrefixes.h>
19#include <aws/ec2/model/Tag.h>
20#include <aws/ec2/model/VpcEndpointType.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Xml {
27class XmlNode;
28} // namespace Xml
29} // namespace Utils
30namespace EC2 {
31namespace Model {
32
39 public:
40 AWS_EC2_API VpcEndpoint() = default;
41 AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_EC2_API VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
48
51 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
52 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
53 template <typename VpcEndpointIdT = Aws::String>
54 void SetVpcEndpointId(VpcEndpointIdT&& value) {
55 m_vpcEndpointIdHasBeenSet = true;
56 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
57 }
58 template <typename VpcEndpointIdT = Aws::String>
59 VpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) {
60 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
61 return *this;
62 }
64
66
69 inline VpcEndpointType GetVpcEndpointType() const { return m_vpcEndpointType; }
70 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
72 m_vpcEndpointTypeHasBeenSet = true;
73 m_vpcEndpointType = value;
74 }
76 SetVpcEndpointType(value);
77 return *this;
78 }
80
82
85 inline const Aws::String& GetVpcId() const { return m_vpcId; }
86 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
87 template <typename VpcIdT = Aws::String>
88 void SetVpcId(VpcIdT&& value) {
89 m_vpcIdHasBeenSet = true;
90 m_vpcId = std::forward<VpcIdT>(value);
91 }
92 template <typename VpcIdT = Aws::String>
93 VpcEndpoint& WithVpcId(VpcIdT&& value) {
94 SetVpcId(std::forward<VpcIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetServiceName() const { return m_serviceName; }
104 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
105 template <typename ServiceNameT = Aws::String>
106 void SetServiceName(ServiceNameT&& value) {
107 m_serviceNameHasBeenSet = true;
108 m_serviceName = std::forward<ServiceNameT>(value);
109 }
110 template <typename ServiceNameT = Aws::String>
111 VpcEndpoint& WithServiceName(ServiceNameT&& value) {
112 SetServiceName(std::forward<ServiceNameT>(value));
113 return *this;
114 }
116
118
121 inline State GetState() const { return m_state; }
122 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
123 inline void SetState(State value) {
124 m_stateHasBeenSet = true;
125 m_state = value;
126 }
127 inline VpcEndpoint& WithState(State value) {
128 SetState(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetPolicyDocument() const { return m_policyDocument; }
138 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
139 template <typename PolicyDocumentT = Aws::String>
140 void SetPolicyDocument(PolicyDocumentT&& value) {
141 m_policyDocumentHasBeenSet = true;
142 m_policyDocument = std::forward<PolicyDocumentT>(value);
143 }
144 template <typename PolicyDocumentT = Aws::String>
145 VpcEndpoint& WithPolicyDocument(PolicyDocumentT&& value) {
146 SetPolicyDocument(std::forward<PolicyDocumentT>(value));
147 return *this;
148 }
150
152
156 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
157 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
158 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
159 void SetRouteTableIds(RouteTableIdsT&& value) {
160 m_routeTableIdsHasBeenSet = true;
161 m_routeTableIds = std::forward<RouteTableIdsT>(value);
162 }
163 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
164 VpcEndpoint& WithRouteTableIds(RouteTableIdsT&& value) {
165 SetRouteTableIds(std::forward<RouteTableIdsT>(value));
166 return *this;
167 }
168 template <typename RouteTableIdsT = Aws::String>
169 VpcEndpoint& AddRouteTableIds(RouteTableIdsT&& value) {
170 m_routeTableIdsHasBeenSet = true;
171 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
181 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
182 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
183 void SetSubnetIds(SubnetIdsT&& value) {
184 m_subnetIdsHasBeenSet = true;
185 m_subnetIds = std::forward<SubnetIdsT>(value);
186 }
187 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
188 VpcEndpoint& WithSubnetIds(SubnetIdsT&& value) {
189 SetSubnetIds(std::forward<SubnetIdsT>(value));
190 return *this;
191 }
192 template <typename SubnetIdsT = Aws::String>
193 VpcEndpoint& AddSubnetIds(SubnetIdsT&& value) {
194 m_subnetIdsHasBeenSet = true;
195 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
196 return *this;
197 }
199
201
205 inline const Aws::Vector<SecurityGroupIdentifier>& GetGroups() const { return m_groups; }
206 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
207 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
208 void SetGroups(GroupsT&& value) {
209 m_groupsHasBeenSet = true;
210 m_groups = std::forward<GroupsT>(value);
211 }
212 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
213 VpcEndpoint& WithGroups(GroupsT&& value) {
214 SetGroups(std::forward<GroupsT>(value));
215 return *this;
216 }
217 template <typename GroupsT = SecurityGroupIdentifier>
218 VpcEndpoint& AddGroups(GroupsT&& value) {
219 m_groupsHasBeenSet = true;
220 m_groups.emplace_back(std::forward<GroupsT>(value));
221 return *this;
222 }
224
226
229 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
230 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
231 inline void SetIpAddressType(IpAddressType value) {
232 m_ipAddressTypeHasBeenSet = true;
233 m_ipAddressType = value;
234 }
236 SetIpAddressType(value);
237 return *this;
238 }
240
242
245 inline const DnsOptions& GetDnsOptions() const { return m_dnsOptions; }
246 inline bool DnsOptionsHasBeenSet() const { return m_dnsOptionsHasBeenSet; }
247 template <typename DnsOptionsT = DnsOptions>
248 void SetDnsOptions(DnsOptionsT&& value) {
249 m_dnsOptionsHasBeenSet = true;
250 m_dnsOptions = std::forward<DnsOptionsT>(value);
251 }
252 template <typename DnsOptionsT = DnsOptions>
253 VpcEndpoint& WithDnsOptions(DnsOptionsT&& value) {
254 SetDnsOptions(std::forward<DnsOptionsT>(value));
255 return *this;
256 }
258
260
264 inline bool GetPrivateDnsEnabled() const { return m_privateDnsEnabled; }
265 inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; }
266 inline void SetPrivateDnsEnabled(bool value) {
267 m_privateDnsEnabledHasBeenSet = true;
268 m_privateDnsEnabled = value;
269 }
270 inline VpcEndpoint& WithPrivateDnsEnabled(bool value) {
272 return *this;
273 }
275
277
280 inline bool GetRequesterManaged() const { return m_requesterManaged; }
281 inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; }
282 inline void SetRequesterManaged(bool value) {
283 m_requesterManagedHasBeenSet = true;
284 m_requesterManaged = value;
285 }
286 inline VpcEndpoint& WithRequesterManaged(bool value) {
287 SetRequesterManaged(value);
288 return *this;
289 }
291
293
296 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
297 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
298 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
299 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
300 m_networkInterfaceIdsHasBeenSet = true;
301 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
302 }
303 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
304 VpcEndpoint& WithNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
305 SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value));
306 return *this;
307 }
308 template <typename NetworkInterfaceIdsT = Aws::String>
309 VpcEndpoint& AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
310 m_networkInterfaceIdsHasBeenSet = true;
311 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
312 return *this;
313 }
315
317
320 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const { return m_dnsEntries; }
321 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
322 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
323 void SetDnsEntries(DnsEntriesT&& value) {
324 m_dnsEntriesHasBeenSet = true;
325 m_dnsEntries = std::forward<DnsEntriesT>(value);
326 }
327 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
328 VpcEndpoint& WithDnsEntries(DnsEntriesT&& value) {
329 SetDnsEntries(std::forward<DnsEntriesT>(value));
330 return *this;
331 }
332 template <typename DnsEntriesT = DnsEntry>
333 VpcEndpoint& AddDnsEntries(DnsEntriesT&& value) {
334 m_dnsEntriesHasBeenSet = true;
335 m_dnsEntries.emplace_back(std::forward<DnsEntriesT>(value));
336 return *this;
337 }
339
341
344 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
345 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
346 template <typename CreationTimestampT = Aws::Utils::DateTime>
347 void SetCreationTimestamp(CreationTimestampT&& value) {
348 m_creationTimestampHasBeenSet = true;
349 m_creationTimestamp = std::forward<CreationTimestampT>(value);
350 }
351 template <typename CreationTimestampT = Aws::Utils::DateTime>
352 VpcEndpoint& WithCreationTimestamp(CreationTimestampT&& value) {
353 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
354 return *this;
355 }
357
359
362 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
363 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
364 template <typename TagsT = Aws::Vector<Tag>>
365 void SetTags(TagsT&& value) {
366 m_tagsHasBeenSet = true;
367 m_tags = std::forward<TagsT>(value);
368 }
369 template <typename TagsT = Aws::Vector<Tag>>
370 VpcEndpoint& WithTags(TagsT&& value) {
371 SetTags(std::forward<TagsT>(value));
372 return *this;
373 }
374 template <typename TagsT = Tag>
375 VpcEndpoint& AddTags(TagsT&& value) {
376 m_tagsHasBeenSet = true;
377 m_tags.emplace_back(std::forward<TagsT>(value));
378 return *this;
379 }
381
383
386 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
387 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
388 template <typename OwnerIdT = Aws::String>
389 void SetOwnerId(OwnerIdT&& value) {
390 m_ownerIdHasBeenSet = true;
391 m_ownerId = std::forward<OwnerIdT>(value);
392 }
393 template <typename OwnerIdT = Aws::String>
394 VpcEndpoint& WithOwnerId(OwnerIdT&& value) {
395 SetOwnerId(std::forward<OwnerIdT>(value));
396 return *this;
397 }
399
401
404 inline const LastError& GetLastError() const { return m_lastError; }
405 inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; }
406 template <typename LastErrorT = LastError>
407 void SetLastError(LastErrorT&& value) {
408 m_lastErrorHasBeenSet = true;
409 m_lastError = std::forward<LastErrorT>(value);
410 }
411 template <typename LastErrorT = LastError>
412 VpcEndpoint& WithLastError(LastErrorT&& value) {
413 SetLastError(std::forward<LastErrorT>(value));
414 return *this;
415 }
417
419
422 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv4Prefixes() const { return m_ipv4Prefixes; }
423 inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
424 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
425 void SetIpv4Prefixes(Ipv4PrefixesT&& value) {
426 m_ipv4PrefixesHasBeenSet = true;
427 m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value);
428 }
429 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
430 VpcEndpoint& WithIpv4Prefixes(Ipv4PrefixesT&& value) {
431 SetIpv4Prefixes(std::forward<Ipv4PrefixesT>(value));
432 return *this;
433 }
434 template <typename Ipv4PrefixesT = SubnetIpPrefixes>
435 VpcEndpoint& AddIpv4Prefixes(Ipv4PrefixesT&& value) {
436 m_ipv4PrefixesHasBeenSet = true;
437 m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value));
438 return *this;
439 }
441
443
446 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv6Prefixes() const { return m_ipv6Prefixes; }
447 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
448 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
449 void SetIpv6Prefixes(Ipv6PrefixesT&& value) {
450 m_ipv6PrefixesHasBeenSet = true;
451 m_ipv6Prefixes = std::forward<Ipv6PrefixesT>(value);
452 }
453 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
454 VpcEndpoint& WithIpv6Prefixes(Ipv6PrefixesT&& value) {
455 SetIpv6Prefixes(std::forward<Ipv6PrefixesT>(value));
456 return *this;
457 }
458 template <typename Ipv6PrefixesT = SubnetIpPrefixes>
459 VpcEndpoint& AddIpv6Prefixes(Ipv6PrefixesT&& value) {
460 m_ipv6PrefixesHasBeenSet = true;
461 m_ipv6Prefixes.emplace_back(std::forward<Ipv6PrefixesT>(value));
462 return *this;
463 }
465
467
470 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
471 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
472 template <typename FailureReasonT = Aws::String>
473 void SetFailureReason(FailureReasonT&& value) {
474 m_failureReasonHasBeenSet = true;
475 m_failureReason = std::forward<FailureReasonT>(value);
476 }
477 template <typename FailureReasonT = Aws::String>
478 VpcEndpoint& WithFailureReason(FailureReasonT&& value) {
479 SetFailureReason(std::forward<FailureReasonT>(value));
480 return *this;
481 }
483
485
488 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
489 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
490 template <typename ServiceNetworkArnT = Aws::String>
491 void SetServiceNetworkArn(ServiceNetworkArnT&& value) {
492 m_serviceNetworkArnHasBeenSet = true;
493 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
494 }
495 template <typename ServiceNetworkArnT = Aws::String>
496 VpcEndpoint& WithServiceNetworkArn(ServiceNetworkArnT&& value) {
497 SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value));
498 return *this;
499 }
501
503
506 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
507 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
508 template <typename ResourceConfigurationArnT = Aws::String>
509 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) {
510 m_resourceConfigurationArnHasBeenSet = true;
511 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
512 }
513 template <typename ResourceConfigurationArnT = Aws::String>
514 VpcEndpoint& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) {
515 SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value));
516 return *this;
517 }
519
521
524 inline const Aws::String& GetServiceRegion() const { return m_serviceRegion; }
525 inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; }
526 template <typename ServiceRegionT = Aws::String>
527 void SetServiceRegion(ServiceRegionT&& value) {
528 m_serviceRegionHasBeenSet = true;
529 m_serviceRegion = std::forward<ServiceRegionT>(value);
530 }
531 template <typename ServiceRegionT = Aws::String>
532 VpcEndpoint& WithServiceRegion(ServiceRegionT&& value) {
533 SetServiceRegion(std::forward<ServiceRegionT>(value));
534 return *this;
535 }
537 private:
538 Aws::String m_vpcEndpointId;
539
540 VpcEndpointType m_vpcEndpointType{VpcEndpointType::NOT_SET};
541
542 Aws::String m_vpcId;
543
544 Aws::String m_serviceName;
545
546 State m_state{State::NOT_SET};
547
548 Aws::String m_policyDocument;
549
550 Aws::Vector<Aws::String> m_routeTableIds;
551
552 Aws::Vector<Aws::String> m_subnetIds;
553
555
556 IpAddressType m_ipAddressType{IpAddressType::NOT_SET};
557
558 DnsOptions m_dnsOptions;
559
560 bool m_privateDnsEnabled{false};
561
562 bool m_requesterManaged{false};
563
564 Aws::Vector<Aws::String> m_networkInterfaceIds;
565
566 Aws::Vector<DnsEntry> m_dnsEntries;
567
568 Aws::Utils::DateTime m_creationTimestamp{};
569
570 Aws::Vector<Tag> m_tags;
571
572 Aws::String m_ownerId;
573
574 LastError m_lastError;
575
576 Aws::Vector<SubnetIpPrefixes> m_ipv4Prefixes;
577
578 Aws::Vector<SubnetIpPrefixes> m_ipv6Prefixes;
579
580 Aws::String m_failureReason;
581
582 Aws::String m_serviceNetworkArn;
583
584 Aws::String m_resourceConfigurationArn;
585
586 Aws::String m_serviceRegion;
587 bool m_vpcEndpointIdHasBeenSet = false;
588 bool m_vpcEndpointTypeHasBeenSet = false;
589 bool m_vpcIdHasBeenSet = false;
590 bool m_serviceNameHasBeenSet = false;
591 bool m_stateHasBeenSet = false;
592 bool m_policyDocumentHasBeenSet = false;
593 bool m_routeTableIdsHasBeenSet = false;
594 bool m_subnetIdsHasBeenSet = false;
595 bool m_groupsHasBeenSet = false;
596 bool m_ipAddressTypeHasBeenSet = false;
597 bool m_dnsOptionsHasBeenSet = false;
598 bool m_privateDnsEnabledHasBeenSet = false;
599 bool m_requesterManagedHasBeenSet = false;
600 bool m_networkInterfaceIdsHasBeenSet = false;
601 bool m_dnsEntriesHasBeenSet = false;
602 bool m_creationTimestampHasBeenSet = false;
603 bool m_tagsHasBeenSet = false;
604 bool m_ownerIdHasBeenSet = false;
605 bool m_lastErrorHasBeenSet = false;
606 bool m_ipv4PrefixesHasBeenSet = false;
607 bool m_ipv6PrefixesHasBeenSet = false;
608 bool m_failureReasonHasBeenSet = false;
609 bool m_serviceNetworkArnHasBeenSet = false;
610 bool m_resourceConfigurationArnHasBeenSet = false;
611 bool m_serviceRegionHasBeenSet = false;
612};
613
614} // namespace Model
615} // namespace EC2
616} // namespace Aws
void SetServiceName(ServiceNameT &&value)
VpcEndpoint & WithPrivateDnsEnabled(bool value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:51
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:59
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)
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
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
VpcEndpoint & WithState(State value)
VpcEndpoint & WithIpv6Prefixes(Ipv6PrefixesT &&value)
VpcEndpoint & AddDnsEntries(DnsEntriesT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:54
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:93
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:75
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:88
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:85
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:52
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