AWS SDK for C++

AWS SDK for C++ Version 1.11.908

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/PayerResponsibilityEntry.h>
17#include <aws/ec2/model/SecurityGroupIdentifier.h>
18#include <aws/ec2/model/State.h>
19#include <aws/ec2/model/SubnetIpPrefixes.h>
20#include <aws/ec2/model/Tag.h>
21#include <aws/ec2/model/VpcEndpointType.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Xml {
28class XmlNode;
29} // namespace Xml
30} // namespace Utils
31namespace EC2 {
32namespace Model {
33
40 public:
41 AWS_EC2_API VpcEndpoint() = default;
42 AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_EC2_API VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
49
52 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
53 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
54 template <typename VpcEndpointIdT = Aws::String>
55 void SetVpcEndpointId(VpcEndpointIdT&& value) {
56 m_vpcEndpointIdHasBeenSet = true;
57 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
58 }
59 template <typename VpcEndpointIdT = Aws::String>
60 VpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) {
61 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
62 return *this;
63 }
65
67
73 inline VpcEndpointType GetVpcEndpointType() const { return m_vpcEndpointType; }
74 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
76 m_vpcEndpointTypeHasBeenSet = true;
77 m_vpcEndpointType = value;
78 }
80 SetVpcEndpointType(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetVpcId() const { return m_vpcId; }
90 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
91 template <typename VpcIdT = Aws::String>
92 void SetVpcId(VpcIdT&& value) {
93 m_vpcIdHasBeenSet = true;
94 m_vpcId = std::forward<VpcIdT>(value);
95 }
96 template <typename VpcIdT = Aws::String>
97 VpcEndpoint& WithVpcId(VpcIdT&& value) {
98 SetVpcId(std::forward<VpcIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetServiceName() const { return m_serviceName; }
108 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
109 template <typename ServiceNameT = Aws::String>
110 void SetServiceName(ServiceNameT&& value) {
111 m_serviceNameHasBeenSet = true;
112 m_serviceName = std::forward<ServiceNameT>(value);
113 }
114 template <typename ServiceNameT = Aws::String>
115 VpcEndpoint& WithServiceName(ServiceNameT&& value) {
116 SetServiceName(std::forward<ServiceNameT>(value));
117 return *this;
118 }
120
122
125 inline State GetState() const { return m_state; }
126 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
127 inline void SetState(State value) {
128 m_stateHasBeenSet = true;
129 m_state = value;
130 }
131 inline VpcEndpoint& WithState(State value) {
132 SetState(value);
133 return *this;
134 }
136
138
141 inline const Aws::String& GetPolicyDocument() const { return m_policyDocument; }
142 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
143 template <typename PolicyDocumentT = Aws::String>
144 void SetPolicyDocument(PolicyDocumentT&& value) {
145 m_policyDocumentHasBeenSet = true;
146 m_policyDocument = std::forward<PolicyDocumentT>(value);
147 }
148 template <typename PolicyDocumentT = Aws::String>
149 VpcEndpoint& WithPolicyDocument(PolicyDocumentT&& value) {
150 SetPolicyDocument(std::forward<PolicyDocumentT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
161 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
162 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
163 void SetRouteTableIds(RouteTableIdsT&& value) {
164 m_routeTableIdsHasBeenSet = true;
165 m_routeTableIds = std::forward<RouteTableIdsT>(value);
166 }
167 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
168 VpcEndpoint& WithRouteTableIds(RouteTableIdsT&& value) {
169 SetRouteTableIds(std::forward<RouteTableIdsT>(value));
170 return *this;
171 }
172 template <typename RouteTableIdsT = Aws::String>
173 VpcEndpoint& AddRouteTableIds(RouteTableIdsT&& value) {
174 m_routeTableIdsHasBeenSet = true;
175 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
186 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
187 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
188 void SetSubnetIds(SubnetIdsT&& value) {
189 m_subnetIdsHasBeenSet = true;
190 m_subnetIds = std::forward<SubnetIdsT>(value);
191 }
192 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
193 VpcEndpoint& WithSubnetIds(SubnetIdsT&& value) {
194 SetSubnetIds(std::forward<SubnetIdsT>(value));
195 return *this;
196 }
197 template <typename SubnetIdsT = Aws::String>
198 VpcEndpoint& AddSubnetIds(SubnetIdsT&& value) {
199 m_subnetIdsHasBeenSet = true;
200 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
201 return *this;
202 }
204
206
210 inline const Aws::Vector<SecurityGroupIdentifier>& GetGroups() const { return m_groups; }
211 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
212 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
213 void SetGroups(GroupsT&& value) {
214 m_groupsHasBeenSet = true;
215 m_groups = std::forward<GroupsT>(value);
216 }
217 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
218 VpcEndpoint& WithGroups(GroupsT&& value) {
219 SetGroups(std::forward<GroupsT>(value));
220 return *this;
221 }
222 template <typename GroupsT = SecurityGroupIdentifier>
223 VpcEndpoint& AddGroups(GroupsT&& value) {
224 m_groupsHasBeenSet = true;
225 m_groups.emplace_back(std::forward<GroupsT>(value));
226 return *this;
227 }
229
231
234 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
235 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
236 inline void SetIpAddressType(IpAddressType value) {
237 m_ipAddressTypeHasBeenSet = true;
238 m_ipAddressType = value;
239 }
241 SetIpAddressType(value);
242 return *this;
243 }
245
247
250 inline const DnsOptions& GetDnsOptions() const { return m_dnsOptions; }
251 inline bool DnsOptionsHasBeenSet() const { return m_dnsOptionsHasBeenSet; }
252 template <typename DnsOptionsT = DnsOptions>
253 void SetDnsOptions(DnsOptionsT&& value) {
254 m_dnsOptionsHasBeenSet = true;
255 m_dnsOptions = std::forward<DnsOptionsT>(value);
256 }
257 template <typename DnsOptionsT = DnsOptions>
258 VpcEndpoint& WithDnsOptions(DnsOptionsT&& value) {
259 SetDnsOptions(std::forward<DnsOptionsT>(value));
260 return *this;
261 }
263
265
269 inline bool GetPrivateDnsEnabled() const { return m_privateDnsEnabled; }
270 inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; }
271 inline void SetPrivateDnsEnabled(bool value) {
272 m_privateDnsEnabledHasBeenSet = true;
273 m_privateDnsEnabled = value;
274 }
275 inline VpcEndpoint& WithPrivateDnsEnabled(bool value) {
277 return *this;
278 }
280
282
285 inline bool GetRequesterManaged() const { return m_requesterManaged; }
286 inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; }
287 inline void SetRequesterManaged(bool value) {
288 m_requesterManagedHasBeenSet = true;
289 m_requesterManaged = value;
290 }
291 inline VpcEndpoint& WithRequesterManaged(bool value) {
292 SetRequesterManaged(value);
293 return *this;
294 }
296
298
302 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
303 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
304 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
305 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
306 m_networkInterfaceIdsHasBeenSet = true;
307 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
308 }
309 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
310 VpcEndpoint& WithNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
311 SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value));
312 return *this;
313 }
314 template <typename NetworkInterfaceIdsT = Aws::String>
315 VpcEndpoint& AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
316 m_networkInterfaceIdsHasBeenSet = true;
317 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
318 return *this;
319 }
321
323
326 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const { return m_dnsEntries; }
327 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
328 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
329 void SetDnsEntries(DnsEntriesT&& value) {
330 m_dnsEntriesHasBeenSet = true;
331 m_dnsEntries = std::forward<DnsEntriesT>(value);
332 }
333 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
334 VpcEndpoint& WithDnsEntries(DnsEntriesT&& value) {
335 SetDnsEntries(std::forward<DnsEntriesT>(value));
336 return *this;
337 }
338 template <typename DnsEntriesT = DnsEntry>
339 VpcEndpoint& AddDnsEntries(DnsEntriesT&& value) {
340 m_dnsEntriesHasBeenSet = true;
341 m_dnsEntries.emplace_back(std::forward<DnsEntriesT>(value));
342 return *this;
343 }
345
347
350 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
351 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
352 template <typename CreationTimestampT = Aws::Utils::DateTime>
353 void SetCreationTimestamp(CreationTimestampT&& value) {
354 m_creationTimestampHasBeenSet = true;
355 m_creationTimestamp = std::forward<CreationTimestampT>(value);
356 }
357 template <typename CreationTimestampT = Aws::Utils::DateTime>
358 VpcEndpoint& WithCreationTimestamp(CreationTimestampT&& value) {
359 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
360 return *this;
361 }
363
365
368 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
369 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
370 template <typename TagsT = Aws::Vector<Tag>>
371 void SetTags(TagsT&& value) {
372 m_tagsHasBeenSet = true;
373 m_tags = std::forward<TagsT>(value);
374 }
375 template <typename TagsT = Aws::Vector<Tag>>
376 VpcEndpoint& WithTags(TagsT&& value) {
377 SetTags(std::forward<TagsT>(value));
378 return *this;
379 }
380 template <typename TagsT = Tag>
381 VpcEndpoint& AddTags(TagsT&& value) {
382 m_tagsHasBeenSet = true;
383 m_tags.emplace_back(std::forward<TagsT>(value));
384 return *this;
385 }
387
389
392 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
393 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
394 template <typename OwnerIdT = Aws::String>
395 void SetOwnerId(OwnerIdT&& value) {
396 m_ownerIdHasBeenSet = true;
397 m_ownerId = std::forward<OwnerIdT>(value);
398 }
399 template <typename OwnerIdT = Aws::String>
400 VpcEndpoint& WithOwnerId(OwnerIdT&& value) {
401 SetOwnerId(std::forward<OwnerIdT>(value));
402 return *this;
403 }
405
407
410 inline const LastError& GetLastError() const { return m_lastError; }
411 inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; }
412 template <typename LastErrorT = LastError>
413 void SetLastError(LastErrorT&& value) {
414 m_lastErrorHasBeenSet = true;
415 m_lastError = std::forward<LastErrorT>(value);
416 }
417 template <typename LastErrorT = LastError>
418 VpcEndpoint& WithLastError(LastErrorT&& value) {
419 SetLastError(std::forward<LastErrorT>(value));
420 return *this;
421 }
423
425
428 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv4Prefixes() const { return m_ipv4Prefixes; }
429 inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
430 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
431 void SetIpv4Prefixes(Ipv4PrefixesT&& value) {
432 m_ipv4PrefixesHasBeenSet = true;
433 m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value);
434 }
435 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
436 VpcEndpoint& WithIpv4Prefixes(Ipv4PrefixesT&& value) {
437 SetIpv4Prefixes(std::forward<Ipv4PrefixesT>(value));
438 return *this;
439 }
440 template <typename Ipv4PrefixesT = SubnetIpPrefixes>
441 VpcEndpoint& AddIpv4Prefixes(Ipv4PrefixesT&& value) {
442 m_ipv4PrefixesHasBeenSet = true;
443 m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value));
444 return *this;
445 }
447
449
452 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv6Prefixes() const { return m_ipv6Prefixes; }
453 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
454 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
455 void SetIpv6Prefixes(Ipv6PrefixesT&& value) {
456 m_ipv6PrefixesHasBeenSet = true;
457 m_ipv6Prefixes = std::forward<Ipv6PrefixesT>(value);
458 }
459 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
460 VpcEndpoint& WithIpv6Prefixes(Ipv6PrefixesT&& value) {
461 SetIpv6Prefixes(std::forward<Ipv6PrefixesT>(value));
462 return *this;
463 }
464 template <typename Ipv6PrefixesT = SubnetIpPrefixes>
465 VpcEndpoint& AddIpv6Prefixes(Ipv6PrefixesT&& value) {
466 m_ipv6PrefixesHasBeenSet = true;
467 m_ipv6Prefixes.emplace_back(std::forward<Ipv6PrefixesT>(value));
468 return *this;
469 }
471
473
476 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
477 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
478 template <typename FailureReasonT = Aws::String>
479 void SetFailureReason(FailureReasonT&& value) {
480 m_failureReasonHasBeenSet = true;
481 m_failureReason = std::forward<FailureReasonT>(value);
482 }
483 template <typename FailureReasonT = Aws::String>
484 VpcEndpoint& WithFailureReason(FailureReasonT&& value) {
485 SetFailureReason(std::forward<FailureReasonT>(value));
486 return *this;
487 }
489
491
494 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
495 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
496 template <typename ServiceNetworkArnT = Aws::String>
497 void SetServiceNetworkArn(ServiceNetworkArnT&& value) {
498 m_serviceNetworkArnHasBeenSet = true;
499 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
500 }
501 template <typename ServiceNetworkArnT = Aws::String>
502 VpcEndpoint& WithServiceNetworkArn(ServiceNetworkArnT&& value) {
503 SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value));
504 return *this;
505 }
507
509
512 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
513 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
514 template <typename ResourceConfigurationArnT = Aws::String>
515 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) {
516 m_resourceConfigurationArnHasBeenSet = true;
517 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
518 }
519 template <typename ResourceConfigurationArnT = Aws::String>
520 VpcEndpoint& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) {
521 SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value));
522 return *this;
523 }
525
527
530 inline const Aws::String& GetServiceRegion() const { return m_serviceRegion; }
531 inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; }
532 template <typename ServiceRegionT = Aws::String>
533 void SetServiceRegion(ServiceRegionT&& value) {
534 m_serviceRegionHasBeenSet = true;
535 m_serviceRegion = std::forward<ServiceRegionT>(value);
536 }
537 template <typename ServiceRegionT = Aws::String>
538 VpcEndpoint& WithServiceRegion(ServiceRegionT&& value) {
539 SetServiceRegion(std::forward<ServiceRegionT>(value));
540 return *this;
541 }
543
545
548 inline const Aws::Vector<PayerResponsibilityEntry>& GetPayerResponsibilities() const { return m_payerResponsibilities; }
549 inline bool PayerResponsibilitiesHasBeenSet() const { return m_payerResponsibilitiesHasBeenSet; }
550 template <typename PayerResponsibilitiesT = Aws::Vector<PayerResponsibilityEntry>>
551 void SetPayerResponsibilities(PayerResponsibilitiesT&& value) {
552 m_payerResponsibilitiesHasBeenSet = true;
553 m_payerResponsibilities = std::forward<PayerResponsibilitiesT>(value);
554 }
555 template <typename PayerResponsibilitiesT = Aws::Vector<PayerResponsibilityEntry>>
556 VpcEndpoint& WithPayerResponsibilities(PayerResponsibilitiesT&& value) {
557 SetPayerResponsibilities(std::forward<PayerResponsibilitiesT>(value));
558 return *this;
559 }
560 template <typename PayerResponsibilitiesT = PayerResponsibilityEntry>
561 VpcEndpoint& AddPayerResponsibilities(PayerResponsibilitiesT&& value) {
562 m_payerResponsibilitiesHasBeenSet = true;
563 m_payerResponsibilities.emplace_back(std::forward<PayerResponsibilitiesT>(value));
564 return *this;
565 }
567 private:
568 Aws::String m_vpcEndpointId;
569
570 VpcEndpointType m_vpcEndpointType{VpcEndpointType::NOT_SET};
571
572 Aws::String m_vpcId;
573
574 Aws::String m_serviceName;
575
576 State m_state{State::NOT_SET};
577
578 Aws::String m_policyDocument;
579
580 Aws::Vector<Aws::String> m_routeTableIds;
581
582 Aws::Vector<Aws::String> m_subnetIds;
583
585
586 IpAddressType m_ipAddressType{IpAddressType::NOT_SET};
587
588 DnsOptions m_dnsOptions;
589
590 bool m_privateDnsEnabled{false};
591
592 bool m_requesterManaged{false};
593
594 Aws::Vector<Aws::String> m_networkInterfaceIds;
595
596 Aws::Vector<DnsEntry> m_dnsEntries;
597
598 Aws::Utils::DateTime m_creationTimestamp{};
599
600 Aws::Vector<Tag> m_tags;
601
602 Aws::String m_ownerId;
603
604 LastError m_lastError;
605
606 Aws::Vector<SubnetIpPrefixes> m_ipv4Prefixes;
607
608 Aws::Vector<SubnetIpPrefixes> m_ipv6Prefixes;
609
610 Aws::String m_failureReason;
611
612 Aws::String m_serviceNetworkArn;
613
614 Aws::String m_resourceConfigurationArn;
615
616 Aws::String m_serviceRegion;
617
618 Aws::Vector<PayerResponsibilityEntry> m_payerResponsibilities;
619 bool m_vpcEndpointIdHasBeenSet = false;
620 bool m_vpcEndpointTypeHasBeenSet = false;
621 bool m_vpcIdHasBeenSet = false;
622 bool m_serviceNameHasBeenSet = false;
623 bool m_stateHasBeenSet = false;
624 bool m_policyDocumentHasBeenSet = false;
625 bool m_routeTableIdsHasBeenSet = false;
626 bool m_subnetIdsHasBeenSet = false;
627 bool m_groupsHasBeenSet = false;
628 bool m_ipAddressTypeHasBeenSet = false;
629 bool m_dnsOptionsHasBeenSet = false;
630 bool m_privateDnsEnabledHasBeenSet = false;
631 bool m_requesterManagedHasBeenSet = false;
632 bool m_networkInterfaceIdsHasBeenSet = false;
633 bool m_dnsEntriesHasBeenSet = false;
634 bool m_creationTimestampHasBeenSet = false;
635 bool m_tagsHasBeenSet = false;
636 bool m_ownerIdHasBeenSet = false;
637 bool m_lastErrorHasBeenSet = false;
638 bool m_ipv4PrefixesHasBeenSet = false;
639 bool m_ipv6PrefixesHasBeenSet = false;
640 bool m_failureReasonHasBeenSet = false;
641 bool m_serviceNetworkArnHasBeenSet = false;
642 bool m_resourceConfigurationArnHasBeenSet = false;
643 bool m_serviceRegionHasBeenSet = false;
644 bool m_payerResponsibilitiesHasBeenSet = false;
645};
646
647} // namespace Model
648} // namespace EC2
649} // 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:52
VpcEndpoint & WithTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPayerResponsibilities(PayerResponsibilitiesT &&value)
const Aws::String & GetResourceConfigurationArn() const
void SetIpv6Prefixes(Ipv6PrefixesT &&value)
VpcEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:60
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
VpcEndpoint & AddPayerResponsibilities(PayerResponsibilitiesT &&value)
VpcEndpointType GetVpcEndpointType() const
Definition VpcEndpoint.h:73
void SetPrivateDnsEnabled(bool value)
const Aws::Vector< SecurityGroupIdentifier > & GetGroups() const
bool RouteTableIdsHasBeenSet() const
void SetNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
VpcEndpoint & WithPayerResponsibilities(PayerResponsibilitiesT &&value)
IpAddressType GetIpAddressType() const
bool ServiceRegionHasBeenSet() const
VpcEndpoint & AddRouteTableIds(RouteTableIdsT &&value)
bool PayerResponsibilitiesHasBeenSet() const
const Aws::String & GetServiceName() const
VpcEndpoint & WithState(State value)
VpcEndpoint & WithIpv6Prefixes(Ipv6PrefixesT &&value)
VpcEndpoint & AddDnsEntries(DnsEntriesT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:55
VpcEndpoint & AddIpv6Prefixes(Ipv6PrefixesT &&value)
bool VpcEndpointTypeHasBeenSet() const
Definition VpcEndpoint.h:74
void SetVpcEndpointType(VpcEndpointType value)
Definition VpcEndpoint.h:75
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:97
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:79
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)
const Aws::Vector< PayerResponsibilityEntry > & GetPayerResponsibilities() const
void SetVpcId(VpcIdT &&value)
Definition VpcEndpoint.h:92
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:89
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:53
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