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

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:

  • CreateDBClusterEndpoint

    *
  • DescribeDBClusterEndpoints

  • * ModifyDBClusterEndpoint

  • * DeleteDBClusterEndpoint

For the data structure * that represents Amazon RDS DB instance endpoints, see * Endpoint.

See Also:

AWS * API Reference

*/ class DeleteDBClusterEndpointResult { public: AWS_NEPTUNE_API DeleteDBClusterEndpointResult(); AWS_NEPTUNE_API DeleteDBClusterEndpointResult(const Aws::AmazonWebServiceResult& result); AWS_NEPTUNE_API DeleteDBClusterEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 DeleteDBClusterEndpointResult& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;} /** *

The identifier associated with the endpoint. This parameter is stored as a * lowercase string.

*/ inline DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The DNS address of the endpoint.

*/ inline DeleteDBClusterEndpointResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The DNS address of the endpoint.

*/ inline DeleteDBClusterEndpointResult& 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.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

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.

*/ inline void SetStatus(const Aws::String& value) { m_status = value; } /** *

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.

*/ inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } /** *

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.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

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.

*/ inline DeleteDBClusterEndpointResult& WithStatus(const Aws::String& value) { SetStatus(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.

*/ inline DeleteDBClusterEndpointResult& WithStatus(Aws::String&& value) { SetStatus(std::move(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.

*/ inline DeleteDBClusterEndpointResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline const Aws::String& GetEndpointType() const{ return m_endpointType; } /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline void SetEndpointType(const Aws::String& value) { m_endpointType = value; } /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline void SetEndpointType(Aws::String&& value) { m_endpointType = std::move(value); } /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline void SetEndpointType(const char* value) { m_endpointType.assign(value); } /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline DeleteDBClusterEndpointResult& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;} /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline DeleteDBClusterEndpointResult& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;} /** *

The type of the endpoint. One of: READER, WRITER, * CUSTOM.

*/ inline DeleteDBClusterEndpointResult& WithEndpointType(const char* value) { SetEndpointType(value); return *this;} /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline const Aws::String& GetCustomEndpointType() const{ return m_customEndpointType; } /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline void SetCustomEndpointType(const Aws::String& value) { m_customEndpointType = value; } /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline void SetCustomEndpointType(Aws::String&& value) { m_customEndpointType = std::move(value); } /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline void SetCustomEndpointType(const char* value) { m_customEndpointType.assign(value); } /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline DeleteDBClusterEndpointResult& WithCustomEndpointType(const Aws::String& value) { SetCustomEndpointType(value); return *this;} /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline DeleteDBClusterEndpointResult& WithCustomEndpointType(Aws::String&& value) { SetCustomEndpointType(std::move(value)); return *this;} /** *

The type associated with a custom endpoint. One of: READER, * WRITER, ANY.

*/ inline DeleteDBClusterEndpointResult& WithCustomEndpointType(const char* value) { SetCustomEndpointType(value); return *this;} /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline const Aws::Vector& GetStaticMembers() const{ return m_staticMembers; } /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline void SetStaticMembers(const Aws::Vector& value) { m_staticMembers = value; } /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline void SetStaticMembers(Aws::Vector&& value) { m_staticMembers = std::move(value); } /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline DeleteDBClusterEndpointResult& WithStaticMembers(const Aws::Vector& value) { SetStaticMembers(value); return *this;} /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline DeleteDBClusterEndpointResult& WithStaticMembers(Aws::Vector&& value) { SetStaticMembers(std::move(value)); return *this;} /** *

List of DB instance identifiers that are part of the custom endpoint * group.

*/ inline DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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::Vector& GetExcludedMembers() const{ return m_excludedMembers; } /** *

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 void SetExcludedMembers(const Aws::Vector& value) { m_excludedMembers = value; } /** *

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 void SetExcludedMembers(Aws::Vector&& value) { m_excludedMembers = std::move(value); } /** *

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 DeleteDBClusterEndpointResult& WithExcludedMembers(const Aws::Vector& value) { SetExcludedMembers(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 DeleteDBClusterEndpointResult& WithExcludedMembers(Aws::Vector&& value) { SetExcludedMembers(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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& WithDBClusterEndpointArn(const Aws::String& value) { SetDBClusterEndpointArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the endpoint.

*/ inline DeleteDBClusterEndpointResult& WithDBClusterEndpointArn(Aws::String&& value) { SetDBClusterEndpointArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the endpoint.

*/ inline DeleteDBClusterEndpointResult& 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 DeleteDBClusterEndpointResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteDBClusterEndpointResult& 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 m_staticMembers; Aws::Vector m_excludedMembers; Aws::String m_dBClusterEndpointArn; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Neptune } // namespace Aws