/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include In the response to a CreateResolverEndpoint,
* DeleteResolverEndpoint, GetResolverEndpoint,
* ListResolverEndpoints, or UpdateResolverEndpoint request, a
* complex type that contains settings for an existing inbound or outbound resolver
* endpoint.See Also:
AWS
* API Reference
The ID of the resolver endpoint.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the resolver endpoint.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the resolver endpoint.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the resolver endpoint.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the resolver endpoint.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the resolver endpoint.
*/ inline ResolverEndpoint& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the resolver endpoint.
*/ inline ResolverEndpoint& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the resolver endpoint.
*/ inline ResolverEndpoint& WithId(const char* value) { SetId(value); return *this;} /** *A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
A unique string that identifies the request that created the resolver
* endpoint. The CreatorRequestId allows failed requests to be retried
* without the risk of executing the operation twice.
The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline ResolverEndpoint& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline ResolverEndpoint& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) for the resolver endpoint.
*/ inline ResolverEndpoint& WithArn(const char* value) { SetArn(value); return *this;} /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline ResolverEndpoint& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline ResolverEndpoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name that you assigned to the resolver endpoint when you submitted a * CreateResolverEndpoint request.
*/ inline ResolverEndpoint& WithName(const char* value) { SetName(value); return *this;} /** *The ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline const Aws::VectorThe ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline void SetSecurityGroupIds(Aws::VectorThe ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline ResolverEndpoint& WithSecurityGroupIds(const Aws::VectorThe ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline ResolverEndpoint& WithSecurityGroupIds(Aws::VectorThe ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline ResolverEndpoint& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline ResolverEndpoint& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The ID of one or more security groups that control access to this VPC. The * security group must include one or more inbound resolver rules.
*/ inline ResolverEndpoint& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
Indicates whether the resolver endpoint allows inbound or outbound DNS * queries:
INBOUND: allows DNS queries to your VPC
* from your network or another VPC
OUTBOUND:
* allows DNS queries from your VPC to your network or another VPC
The number of IP addresses that the resolver endpoint can use for DNS * queries.
*/ inline int GetIpAddressCount() const{ return m_ipAddressCount; } /** *The number of IP addresses that the resolver endpoint can use for DNS * queries.
*/ inline bool IpAddressCountHasBeenSet() const { return m_ipAddressCountHasBeenSet; } /** *The number of IP addresses that the resolver endpoint can use for DNS * queries.
*/ inline void SetIpAddressCount(int value) { m_ipAddressCountHasBeenSet = true; m_ipAddressCount = value; } /** *The number of IP addresses that the resolver endpoint can use for DNS * queries.
*/ inline ResolverEndpoint& WithIpAddressCount(int value) { SetIpAddressCount(value); return *this;} /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline const Aws::String& GetHostVPCId() const{ return m_hostVPCId; } /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline bool HostVPCIdHasBeenSet() const { return m_hostVPCIdHasBeenSet; } /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline void SetHostVPCId(const Aws::String& value) { m_hostVPCIdHasBeenSet = true; m_hostVPCId = value; } /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline void SetHostVPCId(Aws::String&& value) { m_hostVPCIdHasBeenSet = true; m_hostVPCId = std::move(value); } /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline void SetHostVPCId(const char* value) { m_hostVPCIdHasBeenSet = true; m_hostVPCId.assign(value); } /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline ResolverEndpoint& WithHostVPCId(const Aws::String& value) { SetHostVPCId(value); return *this;} /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline ResolverEndpoint& WithHostVPCId(Aws::String&& value) { SetHostVPCId(std::move(value)); return *this;} /** *The ID of the VPC that you want to create the resolver endpoint in.
*/ inline ResolverEndpoint& WithHostVPCId(const char* value) { SetHostVPCId(value); return *this;} /** *A code that specifies the current status of the resolver endpoint.
*/ inline const ResolverEndpointStatus& GetStatus() const{ return m_status; } /** *A code that specifies the current status of the resolver endpoint.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *A code that specifies the current status of the resolver endpoint.
*/ inline void SetStatus(const ResolverEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *A code that specifies the current status of the resolver endpoint.
*/ inline void SetStatus(ResolverEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *A code that specifies the current status of the resolver endpoint.
*/ inline ResolverEndpoint& WithStatus(const ResolverEndpointStatus& value) { SetStatus(value); return *this;} /** *A code that specifies the current status of the resolver endpoint.
*/ inline ResolverEndpoint& WithStatus(ResolverEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A detailed description of the status of the resolver endpoint.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A detailed description of the status of the resolver endpoint.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A detailed description of the status of the resolver endpoint.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A detailed description of the status of the resolver endpoint.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A detailed description of the status of the resolver endpoint.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A detailed description of the status of the resolver endpoint.
*/ inline ResolverEndpoint& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A detailed description of the status of the resolver endpoint.
*/ inline ResolverEndpoint& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A detailed description of the status of the resolver endpoint.
*/ inline ResolverEndpoint& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time that the endpoint was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetModificationTime() const{ return m_modificationTime; } /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; } /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; } /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); } /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); } /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;} /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;} /** *The date and time that the endpoint was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline ResolverEndpoint& WithModificationTime(const char* value) { SetModificationTime(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet; Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::Vector