/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type represents the information you need to connect to an Amazon
* Neptune DB cluster. This data type is used as a response element in the
* following actions:
*
* For the data structure
* that represents Amazon RDS DB instance endpoints, see
*
CreateDBClusterEndpoint
DescribeDBClusterEndpoints
ModifyDBClusterEndpoint
DeleteDBClusterEndpoint
Endpoint
.See Also:
AWS
* API Reference
The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; } /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifier = value; } /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifier = std::move(value); } /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifier.assign(value); } /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;} /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;} /** *The identifier associated with the endpoint. This parameter is stored as a * lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;} /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifier = value; } /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifier = std::move(value); } /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifier.assign(value); } /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *The DB cluster identifier of the DB cluster associated with the endpoint. * This parameter is stored as a lowercase string.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline const Aws::String& GetDBClusterEndpointResourceIdentifier() const{ return m_dBClusterEndpointResourceIdentifier; } /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline void SetDBClusterEndpointResourceIdentifier(const Aws::String& value) { m_dBClusterEndpointResourceIdentifier = value; } /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline void SetDBClusterEndpointResourceIdentifier(Aws::String&& value) { m_dBClusterEndpointResourceIdentifier = std::move(value); } /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline void SetDBClusterEndpointResourceIdentifier(const char* value) { m_dBClusterEndpointResourceIdentifier.assign(value); } /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointResourceIdentifier(const Aws::String& value) { SetDBClusterEndpointResourceIdentifier(value); return *this;} /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointResourceIdentifier(Aws::String&& value) { SetDBClusterEndpointResourceIdentifier(std::move(value)); return *this;} /** *A unique system-generated identifier for an endpoint. It remains the same for * the whole life of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointResourceIdentifier(const char* value) { SetDBClusterEndpointResourceIdentifier(value); return *this;} /** *The DNS address of the endpoint.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *The DNS address of the endpoint.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; } /** *The DNS address of the endpoint.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); } /** *The DNS address of the endpoint.
*/ inline void SetEndpoint(const char* value) { m_endpoint.assign(value); } /** *The DNS address of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *The DNS address of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *The DNS address of the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The current status of the endpoint. One of: creating
,
* available
, deleting
, inactive
,
* modifying
. The inactive
state applies to an endpoint
* that cannot be used for a certain kind of cluster, such as a writer
* endpoint for a read-only secondary cluster in a global database.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type of the endpoint. One of: READER
, WRITER
,
* CUSTOM
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
The type associated with a custom endpoint. One of: READER
,
* WRITER
, ANY
.
List of DB instance identifiers that are part of the custom endpoint * group.
*/ inline const Aws::VectorList of DB instance identifiers that are part of the custom endpoint * group.
*/ inline void SetStaticMembers(const Aws::VectorList of DB instance identifiers that are part of the custom endpoint * group.
*/ inline void SetStaticMembers(Aws::VectorList of DB instance identifiers that are part of the custom endpoint * group.
*/ inline ModifyDBClusterEndpointResult& WithStaticMembers(const Aws::VectorList of DB instance identifiers that are part of the custom endpoint * group.
*/ inline ModifyDBClusterEndpointResult& WithStaticMembers(Aws::VectorList of DB instance identifiers that are part of the custom endpoint * group.
*/ inline ModifyDBClusterEndpointResult& AddStaticMembers(const Aws::String& value) { m_staticMembers.push_back(value); return *this; } /** *List of DB instance identifiers that are part of the custom endpoint * group.
*/ inline ModifyDBClusterEndpointResult& AddStaticMembers(Aws::String&& value) { m_staticMembers.push_back(std::move(value)); return *this; } /** *List of DB instance identifiers that are part of the custom endpoint * group.
*/ inline ModifyDBClusterEndpointResult& AddStaticMembers(const char* value) { m_staticMembers.push_back(value); return *this; } /** *List of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline const Aws::VectorList of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline void SetExcludedMembers(const Aws::VectorList of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline void SetExcludedMembers(Aws::VectorList of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline ModifyDBClusterEndpointResult& WithExcludedMembers(const Aws::VectorList of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline ModifyDBClusterEndpointResult& WithExcludedMembers(Aws::VectorList of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline ModifyDBClusterEndpointResult& AddExcludedMembers(const Aws::String& value) { m_excludedMembers.push_back(value); return *this; } /** *List of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline ModifyDBClusterEndpointResult& AddExcludedMembers(Aws::String&& value) { m_excludedMembers.push_back(std::move(value)); return *this; } /** *List of DB instance identifiers that aren't part of the custom endpoint * group. All other eligible instances are reachable through the custom endpoint. * Only relevant if the list of static members is empty.
*/ inline ModifyDBClusterEndpointResult& AddExcludedMembers(const char* value) { m_excludedMembers.push_back(value); return *this; } /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline const Aws::String& GetDBClusterEndpointArn() const{ return m_dBClusterEndpointArn; } /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline void SetDBClusterEndpointArn(const Aws::String& value) { m_dBClusterEndpointArn = value; } /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline void SetDBClusterEndpointArn(Aws::String&& value) { m_dBClusterEndpointArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline void SetDBClusterEndpointArn(const char* value) { m_dBClusterEndpointArn.assign(value); } /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointArn(const Aws::String& value) { SetDBClusterEndpointArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointArn(Aws::String&& value) { SetDBClusterEndpointArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the endpoint.
*/ inline ModifyDBClusterEndpointResult& WithDBClusterEndpointArn(const char* value) { SetDBClusterEndpointArn(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyDBClusterEndpointResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyDBClusterEndpointResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_dBClusterEndpointIdentifier; Aws::String m_dBClusterIdentifier; Aws::String m_dBClusterEndpointResourceIdentifier; Aws::String m_endpoint; Aws::String m_status; Aws::String m_endpointType; Aws::String m_customEndpointType; Aws::Vector