/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Amazon Redshift Serverless VPC endpoint.See
* Also:
AWS
* API Reference
The DNS address of the endpoint.
*/ inline const Aws::String& GetAddress() const{ return m_address; } /** *The DNS address of the endpoint.
*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *The DNS address of the endpoint.
*/ inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; } /** *The DNS address of the endpoint.
*/ inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *The DNS address of the endpoint.
*/ inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); } /** *The DNS address of the endpoint.
*/ inline EndpointAccess& WithAddress(const Aws::String& value) { SetAddress(value); return *this;} /** *The DNS address of the endpoint.
*/ inline EndpointAccess& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;} /** *The DNS address of the endpoint.
*/ inline EndpointAccess& WithAddress(const char* value) { SetAddress(value); return *this;} /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; } /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; } /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); } /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;} /** *The time that the endpoint was created.
*/ inline const Aws::Utils::DateTime& GetEndpointCreateTime() const{ return m_endpointCreateTime; } /** *The time that the endpoint was created.
*/ inline bool EndpointCreateTimeHasBeenSet() const { return m_endpointCreateTimeHasBeenSet; } /** *The time that the endpoint was created.
*/ inline void SetEndpointCreateTime(const Aws::Utils::DateTime& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = value; } /** *The time that the endpoint was created.
*/ inline void SetEndpointCreateTime(Aws::Utils::DateTime&& value) { m_endpointCreateTimeHasBeenSet = true; m_endpointCreateTime = std::move(value); } /** *The time that the endpoint was created.
*/ inline EndpointAccess& WithEndpointCreateTime(const Aws::Utils::DateTime& value) { SetEndpointCreateTime(value); return *this;} /** *The time that the endpoint was created.
*/ inline EndpointAccess& WithEndpointCreateTime(Aws::Utils::DateTime&& value) { SetEndpointCreateTime(std::move(value)); return *this;} /** *The name of the VPC endpoint.
*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *The name of the VPC endpoint.
*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *The name of the VPC endpoint.
*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *The name of the VPC endpoint.
*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *The name of the VPC endpoint.
*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *The name of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *The name of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *The name of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *The status of the VPC endpoint.
*/ inline const Aws::String& GetEndpointStatus() const{ return m_endpointStatus; } /** *The status of the VPC endpoint.
*/ inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; } /** *The status of the VPC endpoint.
*/ inline void SetEndpointStatus(const Aws::String& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; } /** *The status of the VPC endpoint.
*/ inline void SetEndpointStatus(Aws::String&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); } /** *The status of the VPC endpoint.
*/ inline void SetEndpointStatus(const char* value) { m_endpointStatusHasBeenSet = true; m_endpointStatus.assign(value); } /** *The status of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointStatus(const Aws::String& value) { SetEndpointStatus(value); return *this;} /** *The status of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointStatus(Aws::String&& value) { SetEndpointStatus(std::move(value)); return *this;} /** *The status of the VPC endpoint.
*/ inline EndpointAccess& WithEndpointStatus(const char* value) { SetEndpointStatus(value); return *this;} /** *The port number on which Amazon Redshift Serverless accepts incoming * connections.
*/ inline int GetPort() const{ return m_port; } /** *The port number on which Amazon Redshift Serverless accepts incoming * connections.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port number on which Amazon Redshift Serverless accepts incoming * connections.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port number on which Amazon Redshift Serverless accepts incoming * connections.
*/ inline EndpointAccess& WithPort(int value) { SetPort(value); return *this;} /** *The unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline const Aws::VectorThe unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline void SetSubnetIds(const Aws::VectorThe unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline void SetSubnetIds(Aws::VectorThe unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline EndpointAccess& WithSubnetIds(const Aws::VectorThe unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline EndpointAccess& WithSubnetIds(Aws::VectorThe unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline EndpointAccess& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline EndpointAccess& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The unique identifier of subnets where Amazon Redshift Serverless choose to * deploy the VPC endpoint.
*/ inline EndpointAccess& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; } /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; } /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = value; } /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::move(value); } /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline EndpointAccess& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;} /** *The connection endpoint for connecting to Amazon Redshift Serverless.
*/ inline EndpointAccess& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(std::move(value)); return *this;} /** *The security groups associated with the endpoint.
*/ inline const Aws::VectorThe security groups associated with the endpoint.
*/ inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; } /** *The security groups associated with the endpoint.
*/ inline void SetVpcSecurityGroups(const Aws::VectorThe security groups associated with the endpoint.
*/ inline void SetVpcSecurityGroups(Aws::VectorThe security groups associated with the endpoint.
*/ inline EndpointAccess& WithVpcSecurityGroups(const Aws::VectorThe security groups associated with the endpoint.
*/ inline EndpointAccess& WithVpcSecurityGroups(Aws::VectorThe security groups associated with the endpoint.
*/ inline EndpointAccess& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; } /** *The security groups associated with the endpoint.
*/ inline EndpointAccess& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; } /** *The name of the workgroup associated with the endpoint.
*/ inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } /** *The name of the workgroup associated with the endpoint.
*/ inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } /** *The name of the workgroup associated with the endpoint.
*/ inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } /** *The name of the workgroup associated with the endpoint.
*/ inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } /** *The name of the workgroup associated with the endpoint.
*/ inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } /** *The name of the workgroup associated with the endpoint.
*/ inline EndpointAccess& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} /** *The name of the workgroup associated with the endpoint.
*/ inline EndpointAccess& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} /** *The name of the workgroup associated with the endpoint.
*/ inline EndpointAccess& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} private: Aws::String m_address; bool m_addressHasBeenSet = false; Aws::String m_endpointArn; bool m_endpointArnHasBeenSet = false; Aws::Utils::DateTime m_endpointCreateTime; bool m_endpointCreateTimeHasBeenSet = false; Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; Aws::String m_endpointStatus; bool m_endpointStatusHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::Vector