This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-rds/include/aws/rds/model/ModifyDBClusterEndpointRequest.h

274 lines
11 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rds/RDS_EXPORTS.h>
#include <aws/rds/RDSRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace RDS
{
namespace Model
{
/**
*/
class AWS_RDS_API ModifyDBClusterEndpointRequest : public RDSRequest
{
public:
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::String SerializePayload() const override;
protected:
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;}
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;}
/**
* <p>The identifier of the endpoint to modify. This parameter is stored as a
* lowercase string.</p>
*/
inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline ModifyDBClusterEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline ModifyDBClusterEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
/**
* <p>The type of the endpoint. One of: <code>READER</code>, <code>WRITER</code>,
* <code>ANY</code>.</p>
*/
inline ModifyDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline ModifyDBClusterEndpointRequest& WithStaticMembers(const Aws::Vector<Aws::String>& value) { SetStaticMembers(value); return *this;}
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline ModifyDBClusterEndpointRequest& WithStaticMembers(Aws::Vector<Aws::String>&& value) { SetStaticMembers(std::move(value)); return *this;}
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline ModifyDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline ModifyDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
/**
* <p>List of DB instance identifiers that are part of the custom endpoint
* group.</p>
*/
inline ModifyDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
/**
* <p>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.</p>
*/
inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
/**
* <p>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.</p>
*/
inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
/**
* <p>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.</p>
*/
inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
/**
* <p>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.</p>
*/
inline ModifyDBClusterEndpointRequest& WithExcludedMembers(const Aws::Vector<Aws::String>& value) { SetExcludedMembers(value); return *this;}
/**
* <p>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.</p>
*/
inline ModifyDBClusterEndpointRequest& WithExcludedMembers(Aws::Vector<Aws::String>&& value) { SetExcludedMembers(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
/**
* <p>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.</p>
*/
inline ModifyDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
/**
* <p>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.</p>
*/
inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
private:
Aws::String m_dBClusterEndpointIdentifier;
bool m_dBClusterEndpointIdentifierHasBeenSet;
Aws::String m_endpointType;
bool m_endpointTypeHasBeenSet;
Aws::Vector<Aws::String> m_staticMembers;
bool m_staticMembersHasBeenSet;
Aws::Vector<Aws::String> m_excludedMembers;
bool m_excludedMembersHasBeenSet;
};
} // namespace Model
} // namespace RDS
} // namespace Aws