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>
60 inline void SetVpcEndpointId(
const char* value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId.assign(value); }
86 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
100 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
112 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
113 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
126 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
160 inline VpcEndpoint&
AddSubnetIds(
const char* value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.push_back(value);
return *
this; }
209 inline void SetPrivateDnsEnabled(
bool value) { m_privateDnsEnabledHasBeenSet =
true; m_privateDnsEnabled = value; }
219 inline void SetRequesterManaged(
bool value) { m_requesterManagedHasBeenSet =
true; m_requesterManaged = value; }
275 inline VpcEndpoint&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
286 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
306 bool m_vpcEndpointIdHasBeenSet =
false;
309 bool m_vpcEndpointTypeHasBeenSet =
false;
312 bool m_vpcIdHasBeenSet =
false;
315 bool m_serviceNameHasBeenSet =
false;
318 bool m_stateHasBeenSet =
false;
321 bool m_policyDocumentHasBeenSet =
false;
324 bool m_routeTableIdsHasBeenSet =
false;
327 bool m_subnetIdsHasBeenSet =
false;
330 bool m_groupsHasBeenSet =
false;
333 bool m_ipAddressTypeHasBeenSet =
false;
336 bool m_dnsOptionsHasBeenSet =
false;
338 bool m_privateDnsEnabled;
339 bool m_privateDnsEnabledHasBeenSet =
false;
341 bool m_requesterManaged;
342 bool m_requesterManagedHasBeenSet =
false;
345 bool m_networkInterfaceIdsHasBeenSet =
false;
348 bool m_dnsEntriesHasBeenSet =
false;
351 bool m_creationTimestampHasBeenSet =
false;
354 bool m_tagsHasBeenSet =
false;
357 bool m_ownerIdHasBeenSet =
false;
360 bool m_lastErrorHasBeenSet =
false;
VpcEndpoint & AddSubnetIds(const Aws::String &value)
void SetDnsOptions(const DnsOptions &value)
const State & GetState() const
VpcEndpoint & WithGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
VpcEndpoint & WithPrivateDnsEnabled(bool value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
VpcEndpoint & WithServiceName(Aws::String &&value)
void SetIpAddressType(const IpAddressType &value)
const Aws::String & GetVpcEndpointId() const
bool OwnerIdHasBeenSet() const
AWS_EC2_API VpcEndpoint()
void SetVpcEndpointType(const VpcEndpointType &value)
VpcEndpoint & AddRouteTableIds(const char *value)
VpcEndpoint & WithOwnerId(const Aws::String &value)
void SetLastError(const LastError &value)
void SetVpcEndpointId(const Aws::String &value)
VpcEndpoint & WithCreationTimestamp(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDnsEntries(Aws::Vector< DnsEntry > &&value)
void SetDnsOptions(DnsOptions &&value)
VpcEndpoint & WithVpcEndpointId(const char *value)
VpcEndpoint & WithPolicyDocument(const char *value)
VpcEndpoint & WithDnsOptions(DnsOptions &&value)
void SetDnsEntries(const Aws::Vector< DnsEntry > &value)
VpcEndpoint & WithServiceName(const char *value)
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
void SetPolicyDocument(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcEndpoint & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
void SetPolicyDocument(const Aws::String &value)
void SetState(State &&value)
bool TagsHasBeenSet() const
VpcEndpoint & WithOwnerId(Aws::String &&value)
VpcEndpoint & AddDnsEntries(DnsEntry &&value)
VpcEndpoint & WithPolicyDocument(const Aws::String &value)
void SetPolicyDocument(const char *value)
bool SubnetIdsHasBeenSet() const
VpcEndpoint & WithPolicyDocument(Aws::String &&value)
VpcEndpoint & AddGroups(SecurityGroupIdentifier &&value)
AWS_EC2_API VpcEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VpcIdHasBeenSet() const
VpcEndpoint & WithVpcEndpointType(VpcEndpointType &&value)
void SetIpAddressType(IpAddressType &&value)
void SetVpcId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetOwnerId() const
bool ServiceNameHasBeenSet() const
bool GetPrivateDnsEnabled() const
bool PrivateDnsEnabledHasBeenSet() const
VpcEndpoint & WithRouteTableIds(Aws::Vector< Aws::String > &&value)
void SetPrivateDnsEnabled(bool value)
const Aws::Vector< SecurityGroupIdentifier > & GetGroups() const
VpcEndpoint & WithIpAddressType(IpAddressType &&value)
VpcEndpoint & AddNetworkInterfaceIds(const char *value)
VpcEndpoint & WithState(const State &value)
bool RouteTableIdsHasBeenSet() const
VpcEndpoint & WithVpcId(const Aws::String &value)
void SetVpcId(const Aws::String &value)
VpcEndpoint & AddSubnetIds(const char *value)
void SetServiceName(Aws::String &&value)
bool GroupsHasBeenSet() const
VpcEndpoint & AddTags(Tag &&value)
void SetServiceName(const char *value)
const Aws::String & GetServiceName() const
void SetVpcEndpointId(Aws::String &&value)
void SetServiceName(const Aws::String &value)
VpcEndpoint & AddDnsEntries(const DnsEntry &value)
bool VpcEndpointTypeHasBeenSet() const
void SetVpcEndpointId(const char *value)
const LastError & GetLastError() const
VpcEndpoint & AddRouteTableIds(Aws::String &&value)
const Aws::Vector< DnsEntry > & GetDnsEntries() const
bool LastErrorHasBeenSet() const
void SetOwnerId(Aws::String &&value)
const IpAddressType & GetIpAddressType() const
const VpcEndpointType & GetVpcEndpointType() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRouteTableIds(const Aws::Vector< Aws::String > &value)
void SetOwnerId(const char *value)
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
VpcEndpoint & WithDnsEntries(const Aws::Vector< DnsEntry > &value)
void SetRequesterManaged(bool value)
VpcEndpoint & AddRouteTableIds(const Aws::String &value)
VpcEndpoint & WithLastError(const LastError &value)
VpcEndpoint & AddGroups(const SecurityGroupIdentifier &value)
VpcEndpoint & WithCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
bool GetRequesterManaged() const
const DnsOptions & GetDnsOptions() const
VpcEndpoint & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
VpcEndpoint & WithServiceName(const Aws::String &value)
VpcEndpoint & WithVpcId(const char *value)
void SetGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
bool DnsEntriesHasBeenSet() const
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
bool NetworkInterfaceIdsHasBeenSet() const
void SetOwnerId(const Aws::String &value)
VpcEndpoint & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithDnsOptions(const DnsOptions &value)
VpcEndpoint & WithRouteTableIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithVpcId(Aws::String &&value)
VpcEndpoint & WithTags(Aws::Vector< Tag > &&value)
VpcEndpoint & AddSubnetIds(Aws::String &&value)
bool IpAddressTypeHasBeenSet() const
void SetLastError(LastError &&value)
void SetGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
void SetVpcId(Aws::String &&value)
bool RequesterManagedHasBeenSet() const
AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEndpoint & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcEndpoint & WithOwnerId(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithLastError(LastError &&value)
VpcEndpoint & AddNetworkInterfaceIds(const Aws::String &value)
VpcEndpoint & WithGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
VpcEndpoint & AddTags(const Tag &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
void SetRouteTableIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
VpcEndpoint & WithVpcEndpointType(const VpcEndpointType &value)
const Aws::String & GetPolicyDocument() const
bool CreationTimestampHasBeenSet() const
VpcEndpoint & WithDnsEntries(Aws::Vector< DnsEntry > &&value)
VpcEndpoint & WithRequesterManaged(bool value)
VpcEndpoint & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
void SetState(const State &value)
bool VpcEndpointIdHasBeenSet() const
VpcEndpoint & AddNetworkInterfaceIds(Aws::String &&value)
bool StateHasBeenSet() const
void SetVpcEndpointType(VpcEndpointType &&value)
VpcEndpoint & WithState(State &&value)
void SetTags(const Aws::Vector< Tag > &value)
VpcEndpoint & WithIpAddressType(const IpAddressType &value)
bool PolicyDocumentHasBeenSet() const
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