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>
53 template <
typename VpcEndpo
intIdT = Aws::String>
55 m_vpcEndpointIdHasBeenSet =
true;
56 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
58 template <
typename VpcEndpo
intIdT = Aws::String>
72 m_vpcEndpointTypeHasBeenSet =
true;
73 m_vpcEndpointType = value;
87 template <
typename VpcIdT = Aws::String>
89 m_vpcIdHasBeenSet =
true;
90 m_vpcId = std::forward<VpcIdT>(value);
92 template <
typename VpcIdT = Aws::String>
94 SetVpcId(std::forward<VpcIdT>(value));
105 template <
typename ServiceNameT = Aws::String>
107 m_serviceNameHasBeenSet =
true;
108 m_serviceName = std::forward<ServiceNameT>(value);
110 template <
typename ServiceNameT = Aws::String>
124 m_stateHasBeenSet =
true;
139 template <
typename PolicyDocumentT = Aws::String>
141 m_policyDocumentHasBeenSet =
true;
142 m_policyDocument = std::forward<PolicyDocumentT>(value);
144 template <
typename PolicyDocumentT = Aws::String>
158 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
160 m_routeTableIdsHasBeenSet =
true;
161 m_routeTableIds = std::forward<RouteTableIdsT>(value);
163 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
168 template <
typename RouteTableIdsT = Aws::String>
170 m_routeTableIdsHasBeenSet =
true;
171 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
182 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
184 m_subnetIdsHasBeenSet =
true;
185 m_subnetIds = std::forward<SubnetIdsT>(value);
187 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
192 template <
typename SubnetIdsT = Aws::String>
194 m_subnetIdsHasBeenSet =
true;
195 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
207 template <
typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
209 m_groupsHasBeenSet =
true;
210 m_groups = std::forward<GroupsT>(value);
212 template <
typename GroupsT = Aws::Vector<SecurityGroupIdentifier>>
217 template <
typename GroupsT = SecurityGroupIdentifier>
219 m_groupsHasBeenSet =
true;
220 m_groups.emplace_back(std::forward<GroupsT>(value));
232 m_ipAddressTypeHasBeenSet =
true;
233 m_ipAddressType = value;
247 template <
typename DnsOptionsT = DnsOptions>
249 m_dnsOptionsHasBeenSet =
true;
250 m_dnsOptions = std::forward<DnsOptionsT>(value);
252 template <
typename DnsOptionsT = DnsOptions>
267 m_privateDnsEnabledHasBeenSet =
true;
268 m_privateDnsEnabled = value;
283 m_requesterManagedHasBeenSet =
true;
284 m_requesterManaged = value;
298 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
300 m_networkInterfaceIdsHasBeenSet =
true;
301 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
303 template <
typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
308 template <
typename NetworkInterfaceIdsT = Aws::String>
310 m_networkInterfaceIdsHasBeenSet =
true;
311 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
322 template <
typename DnsEntriesT = Aws::Vector<DnsEntry>>
324 m_dnsEntriesHasBeenSet =
true;
325 m_dnsEntries = std::forward<DnsEntriesT>(value);
327 template <
typename DnsEntriesT = Aws::Vector<DnsEntry>>
332 template <
typename DnsEntriesT = DnsEntry>
334 m_dnsEntriesHasBeenSet =
true;
335 m_dnsEntries.emplace_back(std::forward<DnsEntriesT>(value));
346 template <
typename CreationTimestampT = Aws::Utils::DateTime>
348 m_creationTimestampHasBeenSet =
true;
349 m_creationTimestamp = std::forward<CreationTimestampT>(value);
351 template <
typename CreationTimestampT = Aws::Utils::DateTime>
364 template <
typename TagsT = Aws::Vector<Tag>>
366 m_tagsHasBeenSet =
true;
367 m_tags = std::forward<TagsT>(value);
369 template <
typename TagsT = Aws::Vector<Tag>>
371 SetTags(std::forward<TagsT>(value));
374 template <
typename TagsT = Tag>
376 m_tagsHasBeenSet =
true;
377 m_tags.emplace_back(std::forward<TagsT>(value));
388 template <
typename OwnerIdT = Aws::String>
390 m_ownerIdHasBeenSet =
true;
391 m_ownerId = std::forward<OwnerIdT>(value);
393 template <
typename OwnerIdT = Aws::String>
406 template <
typename LastErrorT = LastError>
408 m_lastErrorHasBeenSet =
true;
409 m_lastError = std::forward<LastErrorT>(value);
411 template <
typename LastErrorT = LastError>
424 template <
typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
426 m_ipv4PrefixesHasBeenSet =
true;
427 m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value);
429 template <
typename Ipv4PrefixesT = Aws::Vector<SubnetIpPrefixes>>
434 template <
typename Ipv4PrefixesT = SubnetIpPrefixes>
436 m_ipv4PrefixesHasBeenSet =
true;
437 m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value));
448 template <
typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
450 m_ipv6PrefixesHasBeenSet =
true;
451 m_ipv6Prefixes = std::forward<Ipv6PrefixesT>(value);
453 template <
typename Ipv6PrefixesT = Aws::Vector<SubnetIpPrefixes>>
458 template <
typename Ipv6PrefixesT = SubnetIpPrefixes>
460 m_ipv6PrefixesHasBeenSet =
true;
461 m_ipv6Prefixes.emplace_back(std::forward<Ipv6PrefixesT>(value));
472 template <
typename FailureReasonT = Aws::String>
474 m_failureReasonHasBeenSet =
true;
475 m_failureReason = std::forward<FailureReasonT>(value);
477 template <
typename FailureReasonT = Aws::String>
490 template <
typename ServiceNetworkArnT = Aws::String>
492 m_serviceNetworkArnHasBeenSet =
true;
493 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
495 template <
typename ServiceNetworkArnT = Aws::String>
508 template <
typename ResourceConfigurationArnT = Aws::String>
510 m_resourceConfigurationArnHasBeenSet =
true;
511 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
513 template <
typename ResourceConfigurationArnT = Aws::String>
526 template <
typename ServiceRegionT = Aws::String>
528 m_serviceRegionHasBeenSet =
true;
529 m_serviceRegion = std::forward<ServiceRegionT>(value);
531 template <
typename ServiceRegionT = Aws::String>
558 DnsOptions m_dnsOptions;
560 bool m_privateDnsEnabled{
false};
562 bool m_requesterManaged{
false};
574 LastError m_lastError;
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;
void SetServiceName(ServiceNameT &&value)
VpcEndpoint & WithPrivateDnsEnabled(bool value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
const Aws::String & GetVpcEndpointId() const
bool OwnerIdHasBeenSet() const
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)
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)
bool TagsHasBeenSet() const
VpcEndpoint & WithServiceRegion(ServiceRegionT &&value)
const Aws::Vector< SubnetIpPrefixes > & GetIpv6Prefixes() const
void SetPolicyDocument(PolicyDocumentT &&value)
bool SubnetIdsHasBeenSet() const
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)
bool VpcIdHasBeenSet() const
VpcEndpoint & WithDnsOptions(DnsOptionsT &&value)
const Aws::String & GetOwnerId() const
bool ServiceNameHasBeenSet() const
bool GetPrivateDnsEnabled() const
VpcEndpoint & WithSubnetIds(SubnetIdsT &&value)
bool PrivateDnsEnabledHasBeenSet() const
const Aws::String & GetServiceRegion() const
AWS_EC2_API VpcEndpoint()=default
VpcEndpointType GetVpcEndpointType() const
void SetPrivateDnsEnabled(bool value)
const Aws::Vector< SecurityGroupIdentifier > & GetGroups() const
bool RouteTableIdsHasBeenSet() const
void SetNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
IpAddressType GetIpAddressType() const
bool ServiceRegionHasBeenSet() const
bool GroupsHasBeenSet() 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)
VpcEndpoint & AddIpv6Prefixes(Ipv6PrefixesT &&value)
bool VpcEndpointTypeHasBeenSet() const
void SetVpcEndpointType(VpcEndpointType value)
const LastError & GetLastError() const
const Aws::Vector< DnsEntry > & GetDnsEntries() const
bool LastErrorHasBeenSet() 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)
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)
bool GetRequesterManaged() const
const DnsOptions & GetDnsOptions() const
void SetResourceConfigurationArn(ResourceConfigurationArnT &&value)
const Aws::String & GetServiceNetworkArn() const
bool Ipv4PrefixesHasBeenSet() const
bool DnsEntriesHasBeenSet() const
VpcEndpoint & WithVpcEndpointType(VpcEndpointType value)
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)
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
const Aws::String & GetPolicyDocument() const
VpcEndpoint & AddSubnetIds(SubnetIdsT &&value)
bool CreationTimestampHasBeenSet() const
VpcEndpoint & WithRequesterManaged(bool value)
VpcEndpoint & WithLastError(LastErrorT &&value)
bool VpcEndpointIdHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
bool StateHasBeenSet() const
void SetIpAddressType(IpAddressType value)
bool PolicyDocumentHasBeenSet() const
VpcEndpoint & WithDnsEntries(DnsEntriesT &&value)
bool DnsOptionsHasBeenSet() const
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