/** * 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 { namespace Neptune { namespace Model { /** */ class ModifyDBClusterEndpointRequest : public NeptuneRequest { public: AWS_NEPTUNE_API ModifyDBClusterEndpointRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ModifyDBClusterEndpoint"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; } /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; } /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; } /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); } /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); } /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;} /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;} /** *

The identifier of the endpoint to modify. This parameter is stored as a * lowercase string.

*/ inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;} /** *

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

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

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

*/ inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline ModifyDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(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 bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

*/ inline ModifyDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; } /** *

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

*/ inline ModifyDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; } /** *

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

*/ inline ModifyDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; 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 bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; } /** *

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_excludedMembersHasBeenSet = true; 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_excludedMembersHasBeenSet = true; 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 ModifyDBClusterEndpointRequest& 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 ModifyDBClusterEndpointRequest& 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 ModifyDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; 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 ModifyDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; 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 ModifyDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; } private: Aws::String m_dBClusterEndpointIdentifier; bool m_dBClusterEndpointIdentifierHasBeenSet = false; Aws::String m_endpointType; bool m_endpointTypeHasBeenSet = false; Aws::Vector m_staticMembers; bool m_staticMembersHasBeenSet = false; Aws::Vector m_excludedMembers; bool m_excludedMembersHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws