/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes a VPC endpoint.

See Also:

AWS API * Reference

*/ class AWS_EC2_API VpcEndpoint { public: VpcEndpoint(); VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode); VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the VPC endpoint.

*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *

The ID of the VPC endpoint.

*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *

The ID of the VPC endpoint.

*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *

The ID of the VPC endpoint.

*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *

The ID of the VPC endpoint.

*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *

The ID of the VPC endpoint.

*/ inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *

The ID of the VPC endpoint.

*/ inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *

The ID of the VPC endpoint.

*/ inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *

The type of endpoint.

*/ inline const VpcEndpointType& GetVpcEndpointType() const{ return m_vpcEndpointType; } /** *

The type of endpoint.

*/ inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; } /** *

The type of endpoint.

*/ inline void SetVpcEndpointType(const VpcEndpointType& value) { m_vpcEndpointTypeHasBeenSet = true; m_vpcEndpointType = value; } /** *

The type of endpoint.

*/ inline void SetVpcEndpointType(VpcEndpointType&& value) { m_vpcEndpointTypeHasBeenSet = true; m_vpcEndpointType = std::move(value); } /** *

The type of endpoint.

*/ inline VpcEndpoint& WithVpcEndpointType(const VpcEndpointType& value) { SetVpcEndpointType(value); return *this;} /** *

The type of endpoint.

*/ inline VpcEndpoint& WithVpcEndpointType(VpcEndpointType&& value) { SetVpcEndpointType(std::move(value)); return *this;} /** *

The ID of the VPC to which the endpoint is associated.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The ID of the VPC to which the endpoint is associated.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The ID of the VPC to which the endpoint is associated.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The ID of the VPC to which the endpoint is associated.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The ID of the VPC to which the endpoint is associated.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The ID of the VPC to which the endpoint is associated.

*/ inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The ID of the VPC to which the endpoint is associated.

*/ inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The ID of the VPC to which the endpoint is associated.

*/ inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The name of the service to which the endpoint is associated.

*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *

The name of the service to which the endpoint is associated.

*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *

The name of the service to which the endpoint is associated.

*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *

The name of the service to which the endpoint is associated.

*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *

The name of the service to which the endpoint is associated.

*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *

The name of the service to which the endpoint is associated.

*/ inline VpcEndpoint& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *

The name of the service to which the endpoint is associated.

*/ inline VpcEndpoint& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *

The name of the service to which the endpoint is associated.

*/ inline VpcEndpoint& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *

The state of the VPC endpoint.

*/ inline const State& GetState() const{ return m_state; } /** *

The state of the VPC endpoint.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The state of the VPC endpoint.

*/ inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The state of the VPC endpoint.

*/ inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The state of the VPC endpoint.

*/ inline VpcEndpoint& WithState(const State& value) { SetState(value); return *this;} /** *

The state of the VPC endpoint.

*/ inline VpcEndpoint& WithState(State&& value) { SetState(std::move(value)); return *this;} /** *

The policy document associated with the endpoint, if applicable.

*/ inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; } /** *

The policy document associated with the endpoint, if applicable.

*/ inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; } /** *

The policy document associated with the endpoint, if applicable.

*/ inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; } /** *

The policy document associated with the endpoint, if applicable.

*/ inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); } /** *

The policy document associated with the endpoint, if applicable.

*/ inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); } /** *

The policy document associated with the endpoint, if applicable.

*/ inline VpcEndpoint& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;} /** *

The policy document associated with the endpoint, if applicable.

*/ inline VpcEndpoint& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;} /** *

The policy document associated with the endpoint, if applicable.

*/ inline VpcEndpoint& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;} /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline const Aws::Vector& GetRouteTableIds() const{ return m_routeTableIds; } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline void SetRouteTableIds(const Aws::Vector& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = value; } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline void SetRouteTableIds(Aws::Vector&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::move(value); } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline VpcEndpoint& WithRouteTableIds(const Aws::Vector& value) { SetRouteTableIds(value); return *this;} /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline VpcEndpoint& WithRouteTableIds(Aws::Vector&& value) { SetRouteTableIds(std::move(value)); return *this;} /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline VpcEndpoint& AddRouteTableIds(const Aws::String& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline VpcEndpoint& AddRouteTableIds(Aws::String&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(std::move(value)); return *this; } /** *

(Gateway endpoint) One or more route tables associated with the endpoint.

*/ inline VpcEndpoint& AddRouteTableIds(const char* value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline VpcEndpoint& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline VpcEndpoint& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline VpcEndpoint& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline VpcEndpoint& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

(Interface endpoint) One or more subnets in which the endpoint is * located.

*/ inline VpcEndpoint& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline const Aws::Vector& GetGroups() const{ return m_groups; } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline void SetGroups(const Aws::Vector& value) { m_groupsHasBeenSet = true; m_groups = value; } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline void SetGroups(Aws::Vector&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline VpcEndpoint& WithGroups(const Aws::Vector& value) { SetGroups(value); return *this;} /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline VpcEndpoint& WithGroups(Aws::Vector&& value) { SetGroups(std::move(value)); return *this;} /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline VpcEndpoint& AddGroups(const SecurityGroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *

(Interface endpoint) Information about the security groups that are * associated with the network interface.

*/ inline VpcEndpoint& AddGroups(SecurityGroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *

(Interface endpoint) Indicates whether the VPC is associated with a private * hosted zone.

*/ inline bool GetPrivateDnsEnabled() const{ return m_privateDnsEnabled; } /** *

(Interface endpoint) Indicates whether the VPC is associated with a private * hosted zone.

*/ inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; } /** *

(Interface endpoint) Indicates whether the VPC is associated with a private * hosted zone.

*/ inline void SetPrivateDnsEnabled(bool value) { m_privateDnsEnabledHasBeenSet = true; m_privateDnsEnabled = value; } /** *

(Interface endpoint) Indicates whether the VPC is associated with a private * hosted zone.

*/ inline VpcEndpoint& WithPrivateDnsEnabled(bool value) { SetPrivateDnsEnabled(value); return *this;} /** *

Indicates whether the VPC endpoint is being managed by its service.

*/ inline bool GetRequesterManaged() const{ return m_requesterManaged; } /** *

Indicates whether the VPC endpoint is being managed by its service.

*/ inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; } /** *

Indicates whether the VPC endpoint is being managed by its service.

*/ inline void SetRequesterManaged(bool value) { m_requesterManagedHasBeenSet = true; m_requesterManaged = value; } /** *

Indicates whether the VPC endpoint is being managed by its service.

*/ inline VpcEndpoint& WithRequesterManaged(bool value) { SetRequesterManaged(value); return *this;} /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline const Aws::Vector& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline void SetNetworkInterfaceIds(const Aws::Vector& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline void SetNetworkInterfaceIds(Aws::Vector&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline VpcEndpoint& WithNetworkInterfaceIds(const Aws::Vector& value) { SetNetworkInterfaceIds(value); return *this;} /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline VpcEndpoint& WithNetworkInterfaceIds(Aws::Vector&& value) { SetNetworkInterfaceIds(std::move(value)); return *this;} /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline VpcEndpoint& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline VpcEndpoint& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; } /** *

(Interface endpoint) One or more network interfaces for the endpoint.

*/ inline VpcEndpoint& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline const Aws::Vector& GetDnsEntries() const{ return m_dnsEntries; } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline void SetDnsEntries(const Aws::Vector& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = value; } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline void SetDnsEntries(Aws::Vector&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = std::move(value); } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline VpcEndpoint& WithDnsEntries(const Aws::Vector& value) { SetDnsEntries(value); return *this;} /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline VpcEndpoint& WithDnsEntries(Aws::Vector&& value) { SetDnsEntries(std::move(value)); return *this;} /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline VpcEndpoint& AddDnsEntries(const DnsEntry& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(value); return *this; } /** *

(Interface endpoint) The DNS entries for the endpoint.

*/ inline VpcEndpoint& AddDnsEntries(DnsEntry&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(std::move(value)); return *this; } /** *

The date and time that the VPC endpoint was created.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The date and time that the VPC endpoint was created.

*/ inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } /** *

The date and time that the VPC endpoint was created.

*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; } /** *

The date and time that the VPC endpoint was created.

*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); } /** *

The date and time that the VPC endpoint was created.

*/ inline VpcEndpoint& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The date and time that the VPC endpoint was created.

*/ inline VpcEndpoint& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *

Any tags assigned to the VPC endpoint.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Any tags assigned to the VPC endpoint.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Any tags assigned to the VPC endpoint.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Any tags assigned to the VPC endpoint.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Any tags assigned to the VPC endpoint.

*/ inline VpcEndpoint& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Any tags assigned to the VPC endpoint.

*/ inline VpcEndpoint& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Any tags assigned to the VPC endpoint.

*/ inline VpcEndpoint& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Any tags assigned to the VPC endpoint.

*/ inline VpcEndpoint& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline VpcEndpoint& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline VpcEndpoint& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *

The ID of the AWS account that owns the VPC endpoint.

*/ inline VpcEndpoint& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *

The last error that occurred for VPC endpoint.

*/ inline const LastError& GetLastError() const{ return m_lastError; } /** *

The last error that occurred for VPC endpoint.

*/ inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; } /** *

The last error that occurred for VPC endpoint.

*/ inline void SetLastError(const LastError& value) { m_lastErrorHasBeenSet = true; m_lastError = value; } /** *

The last error that occurred for VPC endpoint.

*/ inline void SetLastError(LastError&& value) { m_lastErrorHasBeenSet = true; m_lastError = std::move(value); } /** *

The last error that occurred for VPC endpoint.

*/ inline VpcEndpoint& WithLastError(const LastError& value) { SetLastError(value); return *this;} /** *

The last error that occurred for VPC endpoint.

*/ inline VpcEndpoint& WithLastError(LastError&& value) { SetLastError(std::move(value)); return *this;} private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet; VpcEndpointType m_vpcEndpointType; bool m_vpcEndpointTypeHasBeenSet; Aws::String m_vpcId; bool m_vpcIdHasBeenSet; Aws::String m_serviceName; bool m_serviceNameHasBeenSet; State m_state; bool m_stateHasBeenSet; Aws::String m_policyDocument; bool m_policyDocumentHasBeenSet; Aws::Vector m_routeTableIds; bool m_routeTableIdsHasBeenSet; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet; Aws::Vector m_groups; bool m_groupsHasBeenSet; bool m_privateDnsEnabled; bool m_privateDnsEnabledHasBeenSet; bool m_requesterManaged; bool m_requesterManagedHasBeenSet; Aws::Vector m_networkInterfaceIds; bool m_networkInterfaceIdsHasBeenSet; Aws::Vector m_dnsEntries; bool m_dnsEntriesHasBeenSet; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet; Aws::Vector m_tags; bool m_tagsHasBeenSet; Aws::String m_ownerId; bool m_ownerIdHasBeenSet; LastError m_lastError; bool m_lastErrorHasBeenSet; }; } // namespace Model } // namespace EC2 } // namespace Aws