AWS SDK for C++

AWS SDK for C++ Version 1.11.851

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
70 inline VpcEndpointType GetVpcEndpointType() const { return m_vpcEndpointType; }
71 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
73 m_vpcEndpointTypeHasBeenSet = true;
74 m_vpcEndpointType = value;
75 }
77 SetVpcEndpointType(value);
78 return *this;
79 }
81
83
86 inline const Aws::String& GetVpcId() const { return m_vpcId; }
87 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
88 template <typename VpcIdT = Aws::String>
89 void SetVpcId(VpcIdT&& value) {
90 m_vpcIdHasBeenSet = true;
91 m_vpcId = std::forward<VpcIdT>(value);
92 }
93 template <typename VpcIdT = Aws::String>
94 VpcEndpoint& WithVpcId(VpcIdT&& value) {
95 SetVpcId(std::forward<VpcIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetServiceName() const { return m_serviceName; }
105 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
106 template <typename ServiceNameT = Aws::String>
107 void SetServiceName(ServiceNameT&& value) {
108 m_serviceNameHasBeenSet = true;
109 m_serviceName = std::forward<ServiceNameT>(value);
110 }
111 template <typename ServiceNameT = Aws::String>
112 VpcEndpoint& WithServiceName(ServiceNameT&& value) {
113 SetServiceName(std::forward<ServiceNameT>(value));
114 return *this;
115 }
117
119
122 inline State GetState() const { return m_state; }
123 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
124 inline void SetState(State value) {
125 m_stateHasBeenSet = true;
126 m_state = value;
127 }
128 inline VpcEndpoint& WithState(State value) {
129 SetState(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetPolicyDocument() const { return m_policyDocument; }
139 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
140 template <typename PolicyDocumentT = Aws::String>
141 void SetPolicyDocument(PolicyDocumentT&& value) {
142 m_policyDocumentHasBeenSet = true;
143 m_policyDocument = std::forward<PolicyDocumentT>(value);
144 }
145 template <typename PolicyDocumentT = Aws::String>
146 VpcEndpoint& WithPolicyDocument(PolicyDocumentT&& value) {
147 SetPolicyDocument(std::forward<PolicyDocumentT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const { return m_routeTableIds; }
158 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
159 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
160 void SetRouteTableIds(RouteTableIdsT&& value) {
161 m_routeTableIdsHasBeenSet = true;
162 m_routeTableIds = std::forward<RouteTableIdsT>(value);
163 }
164 template <typename RouteTableIdsT = Aws::Vector<Aws::String>>
165 VpcEndpoint& WithRouteTableIds(RouteTableIdsT&& value) {
166 SetRouteTableIds(std::forward<RouteTableIdsT>(value));
167 return *this;
168 }
169 template <typename RouteTableIdsT = Aws::String>
170 VpcEndpoint& AddRouteTableIds(RouteTableIdsT&& value) {
171 m_routeTableIdsHasBeenSet = true;
172 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
182 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
183 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
184 void SetSubnetIds(SubnetIdsT&& value) {
185 m_subnetIdsHasBeenSet = true;
186 m_subnetIds = std::forward<SubnetIdsT>(value);
187 }
188 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
189 VpcEndpoint& WithSubnetIds(SubnetIdsT&& value) {
190 SetSubnetIds(std::forward<SubnetIdsT>(value));
191 return *this;
192 }
193 template <typename SubnetIdsT = Aws::String>
194 VpcEndpoint& AddSubnetIds(SubnetIdsT&& value) {
195 m_subnetIdsHasBeenSet = true;
196 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::Vector<SecurityGroupIdentifier>& GetGroups() const { return m_groups; }
207 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
208 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
209 void SetGroups(GroupsT&& value) {
210 m_groupsHasBeenSet = true;
211 m_groups = std::forward<GroupsT>(value);
212 }
213 template <typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
214 VpcEndpoint& WithGroups(GroupsT&& value) {
215 SetGroups(std::forward<GroupsT>(value));
216 return *this;
217 }
218 template <typename GroupsT = SecurityGroupIdentifier>
219 VpcEndpoint& AddGroups(GroupsT&& value) {
220 m_groupsHasBeenSet = true;
221 m_groups.emplace_back(std::forward<GroupsT>(value));
222 return *this;
223 }
225
227
230 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
231 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
232 inline void SetIpAddressType(IpAddressType value) {
233 m_ipAddressTypeHasBeenSet = true;
234 m_ipAddressType = value;
235 }
237 SetIpAddressType(value);
238 return *this;
239 }
241
243
246 inline const DnsOptions& GetDnsOptions() const { return m_dnsOptions; }
247 inline bool DnsOptionsHasBeenSet() const { return m_dnsOptionsHasBeenSet; }
248 template <typename DnsOptionsT = DnsOptions>
249 void SetDnsOptions(DnsOptionsT&& value) {
250 m_dnsOptionsHasBeenSet = true;
251 m_dnsOptions = std::forward<DnsOptionsT>(value);
252 }
253 template <typename DnsOptionsT = DnsOptions>
254 VpcEndpoint& WithDnsOptions(DnsOptionsT&& value) {
255 SetDnsOptions(std::forward<DnsOptionsT>(value));
256 return *this;
257 }
259
261
265 inline bool GetPrivateDnsEnabled() const { return m_privateDnsEnabled; }
266 inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; }
267 inline void SetPrivateDnsEnabled(bool value) {
268 m_privateDnsEnabledHasBeenSet = true;
269 m_privateDnsEnabled = value;
270 }
271 inline VpcEndpoint& WithPrivateDnsEnabled(bool value) {
273 return *this;
274 }
276
278
281 inline bool GetRequesterManaged() const { return m_requesterManaged; }
282 inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; }
283 inline void SetRequesterManaged(bool value) {
284 m_requesterManagedHasBeenSet = true;
285 m_requesterManaged = value;
286 }
287 inline VpcEndpoint& WithRequesterManaged(bool value) {
288 SetRequesterManaged(value);
289 return *this;
290 }
292
294
297 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
298 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
299 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
300 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
301 m_networkInterfaceIdsHasBeenSet = true;
302 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
303 }
304 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
305 VpcEndpoint& WithNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
306 SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value));
307 return *this;
308 }
309 template <typename NetworkInterfaceIdsT = Aws::String>
310 VpcEndpoint& AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
311 m_networkInterfaceIdsHasBeenSet = true;
312 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
313 return *this;
314 }
316
318
321 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const { return m_dnsEntries; }
322 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
323 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
324 void SetDnsEntries(DnsEntriesT&& value) {
325 m_dnsEntriesHasBeenSet = true;
326 m_dnsEntries = std::forward<DnsEntriesT>(value);
327 }
328 template <typename DnsEntriesT = Aws::Vector<DnsEntry>>
329 VpcEndpoint& WithDnsEntries(DnsEntriesT&& value) {
330 SetDnsEntries(std::forward<DnsEntriesT>(value));
331 return *this;
332 }
333 template <typename DnsEntriesT = DnsEntry>
334 VpcEndpoint& AddDnsEntries(DnsEntriesT&& value) {
335 m_dnsEntriesHasBeenSet = true;
336 m_dnsEntries.emplace_back(std::forward<DnsEntriesT>(value));
337 return *this;
338 }
340
342
345 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
346 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
347 template <typename CreationTimestampT = Aws::Utils::DateTime>
348 void SetCreationTimestamp(CreationTimestampT&& value) {
349 m_creationTimestampHasBeenSet = true;
350 m_creationTimestamp = std::forward<CreationTimestampT>(value);
351 }
352 template <typename CreationTimestampT = Aws::Utils::DateTime>
353 VpcEndpoint& WithCreationTimestamp(CreationTimestampT&& value) {
354 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
355 return *this;
356 }
358
360
363 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
364 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
365 template <typename TagsT = Aws::Vector<Tag>>
366 void SetTags(TagsT&& value) {
367 m_tagsHasBeenSet = true;
368 m_tags = std::forward<TagsT>(value);
369 }
370 template <typename TagsT = Aws::Vector<Tag>>
371 VpcEndpoint& WithTags(TagsT&& value) {
372 SetTags(std::forward<TagsT>(value));
373 return *this;
374 }
375 template <typename TagsT = Tag>
376 VpcEndpoint& AddTags(TagsT&& value) {
377 m_tagsHasBeenSet = true;
378 m_tags.emplace_back(std::forward<TagsT>(value));
379 return *this;
380 }
382
384
387 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
388 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
389 template <typename OwnerIdT = Aws::String>
390 void SetOwnerId(OwnerIdT&& value) {
391 m_ownerIdHasBeenSet = true;
392 m_ownerId = std::forward<OwnerIdT>(value);
393 }
394 template <typename OwnerIdT = Aws::String>
395 VpcEndpoint& WithOwnerId(OwnerIdT&& value) {
396 SetOwnerId(std::forward<OwnerIdT>(value));
397 return *this;
398 }
400
402
405 inline const LastError& GetLastError() const { return m_lastError; }
406 inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; }
407 template <typename LastErrorT = LastError>
408 void SetLastError(LastErrorT&& value) {
409 m_lastErrorHasBeenSet = true;
410 m_lastError = std::forward<LastErrorT>(value);
411 }
412 template <typename LastErrorT = LastError>
413 VpcEndpoint& WithLastError(LastErrorT&& value) {
414 SetLastError(std::forward<LastErrorT>(value));
415 return *this;
416 }
418
420
423 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv4Prefixes() const { return m_ipv4Prefixes; }
424 inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
425 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
426 void SetIpv4Prefixes(Ipv4PrefixesT&& value) {
427 m_ipv4PrefixesHasBeenSet = true;
428 m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value);
429 }
430 template <typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
431 VpcEndpoint& WithIpv4Prefixes(Ipv4PrefixesT&& value) {
432 SetIpv4Prefixes(std::forward<Ipv4PrefixesT>(value));
433 return *this;
434 }
435 template <typename Ipv4PrefixesT = SubnetIpPrefixes>
436 VpcEndpoint& AddIpv4Prefixes(Ipv4PrefixesT&& value) {
437 m_ipv4PrefixesHasBeenSet = true;
438 m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value));
439 return *this;
440 }
442
444
447 inline const Aws::Vector<SubnetIpPrefixes>& GetIpv6Prefixes() const { return m_ipv6Prefixes; }
448 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
449 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
450 void SetIpv6Prefixes(Ipv6PrefixesT&& value) {
451 m_ipv6PrefixesHasBeenSet = true;
452 m_ipv6Prefixes = std::forward<Ipv6PrefixesT>(value);
453 }
454 template <typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
455 VpcEndpoint& WithIpv6Prefixes(Ipv6PrefixesT&& value) {
456 SetIpv6Prefixes(std::forward<Ipv6PrefixesT>(value));
457 return *this;
458 }
459 template <typename Ipv6PrefixesT = SubnetIpPrefixes>
460 VpcEndpoint& AddIpv6Prefixes(Ipv6PrefixesT&& value) {
461 m_ipv6PrefixesHasBeenSet = true;
462 m_ipv6Prefixes.emplace_back(std::forward<Ipv6PrefixesT>(value));
463 return *this;
464 }
466
468
471 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
472 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
473 template <typename FailureReasonT = Aws::String>
474 void SetFailureReason(FailureReasonT&& value) {
475 m_failureReasonHasBeenSet = true;
476 m_failureReason = std::forward<FailureReasonT>(value);
477 }
478 template <typename FailureReasonT = Aws::String>
479 VpcEndpoint& WithFailureReason(FailureReasonT&& value) {
480 SetFailureReason(std::forward<FailureReasonT>(value));
481 return *this;
482 }
484
486
489 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
490 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
491 template <typename ServiceNetworkArnT = Aws::String>
492 void SetServiceNetworkArn(ServiceNetworkArnT&& value) {
493 m_serviceNetworkArnHasBeenSet = true;
494 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
495 }
496 template <typename ServiceNetworkArnT = Aws::String>
497 VpcEndpoint& WithServiceNetworkArn(ServiceNetworkArnT&& value) {
498 SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value));
499 return *this;
500 }
502
504
507 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
508 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
509 template <typename ResourceConfigurationArnT = Aws::String>
510 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) {
511 m_resourceConfigurationArnHasBeenSet = true;
512 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
513 }
514 template <typename ResourceConfigurationArnT = Aws::String>
515 VpcEndpoint& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) {
516 SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value));
517 return *this;
518 }
520
522
525 inline const Aws::String& GetServiceRegion() const { return m_serviceRegion; }
526 inline bool ServiceRegionHasBeenSet() const { return m_serviceRegionHasBeenSet; }
527 template <typename ServiceRegionT = Aws::String>
528 void SetServiceRegion(ServiceRegionT&& value) {
529 m_serviceRegionHasBeenSet = true;
530 m_serviceRegion = std::forward<ServiceRegionT>(value);
531 }
532 template <typename ServiceRegionT = Aws::String>
533 VpcEndpoint& WithServiceRegion(ServiceRegionT&& value) {
534 SetServiceRegion(std::forward<ServiceRegionT>(value));
535 return *this;
536 }
538
540
543 inline const Aws::Vector<PayerResponsibilityEntry>& GetPayerResponsibilities() const { return m_payerResponsibilities; }
544 inline bool PayerResponsibilitiesHasBeenSet() const { return m_payerResponsibilitiesHasBeenSet; }
545 template <typename PayerResponsibilitiesT = Aws::Vector<PayerResponsibilityEntry>>
546 void SetPayerResponsibilities(PayerResponsibilitiesT&& value) {
547 m_payerResponsibilitiesHasBeenSet = true;
548 m_payerResponsibilities = std::forward<PayerResponsibilitiesT>(value);
549 }
550 template <typename PayerResponsibilitiesT = Aws::Vector<PayerResponsibilityEntry>>
551 VpcEndpoint& WithPayerResponsibilities(PayerResponsibilitiesT&& value) {
552 SetPayerResponsibilities(std::forward<PayerResponsibilitiesT>(value));
553 return *this;
554 }
555 template <typename PayerResponsibilitiesT = PayerResponsibilityEntry>
556 VpcEndpoint& AddPayerResponsibilities(PayerResponsibilitiesT&& value) {
557 m_payerResponsibilitiesHasBeenSet = true;
558 m_payerResponsibilities.emplace_back(std::forward<PayerResponsibilitiesT>(value));
559 return *this;
560 }
562 private:
563 Aws::String m_vpcEndpointId;
564
565 VpcEndpointType m_vpcEndpointType{VpcEndpointType::NOT_SET};
566
567 Aws::String m_vpcId;
568
569 Aws::String m_serviceName;
570
571 State m_state{State::NOT_SET};
572
573 Aws::String m_policyDocument;
574
575 Aws::Vector<Aws::String> m_routeTableIds;
576
577 Aws::Vector<Aws::String> m_subnetIds;
578
580
581 IpAddressType m_ipAddressType{IpAddressType::NOT_SET};
582
583 DnsOptions m_dnsOptions;
584
585 bool m_privateDnsEnabled{false};
586
587 bool m_requesterManaged{false};
588
589 Aws::Vector<Aws::String> m_networkInterfaceIds;
590
591 Aws::Vector<DnsEntry> m_dnsEntries;
592
593 Aws::Utils::DateTime m_creationTimestamp{};
594
595 Aws::Vector<Tag> m_tags;
596
597 Aws::String m_ownerId;
598
599 LastError m_lastError;
600
601 Aws::Vector<SubnetIpPrefixes> m_ipv4Prefixes;
602
603 Aws::Vector<SubnetIpPrefixes> m_ipv6Prefixes;
604
605 Aws::String m_failureReason;
606
607 Aws::String m_serviceNetworkArn;
608
609 Aws::String m_resourceConfigurationArn;
610
611 Aws::String m_serviceRegion;
612
613 Aws::Vector<PayerResponsibilityEntry> m_payerResponsibilities;
614 bool m_vpcEndpointIdHasBeenSet = false;
615 bool m_vpcEndpointTypeHasBeenSet = false;
616 bool m_vpcIdHasBeenSet = false;
617 bool m_serviceNameHasBeenSet = false;
618 bool m_stateHasBeenSet = false;
619 bool m_policyDocumentHasBeenSet = false;
620 bool m_routeTableIdsHasBeenSet = false;
621 bool m_subnetIdsHasBeenSet = false;
622 bool m_groupsHasBeenSet = false;
623 bool m_ipAddressTypeHasBeenSet = false;
624 bool m_dnsOptionsHasBeenSet = false;
625 bool m_privateDnsEnabledHasBeenSet = false;
626 bool m_requesterManagedHasBeenSet = false;
627 bool m_networkInterfaceIdsHasBeenSet = false;
628 bool m_dnsEntriesHasBeenSet = false;
629 bool m_creationTimestampHasBeenSet = false;
630 bool m_tagsHasBeenSet = false;
631 bool m_ownerIdHasBeenSet = false;
632 bool m_lastErrorHasBeenSet = false;
633 bool m_ipv4PrefixesHasBeenSet = false;
634 bool m_ipv6PrefixesHasBeenSet = false;
635 bool m_failureReasonHasBeenSet = false;
636 bool m_serviceNetworkArnHasBeenSet = false;
637 bool m_resourceConfigurationArnHasBeenSet = false;
638 bool m_serviceRegionHasBeenSet = false;
639 bool m_payerResponsibilitiesHasBeenSet = false;
640};
641
642} // namespace Model
643} // namespace EC2
644} // 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:70
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:71
void SetVpcEndpointType(VpcEndpointType value)
Definition VpcEndpoint.h:72
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:94
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:76
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:89
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:86
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