96 lines
3.4 KiB
C
96 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* 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 <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace RDS
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_RDS_API StopDBClusterRequest : public RDSRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
StopDBClusterRequest();
|
|||
|
|
|
|||
|
|
// 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 "StopDBCluster"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This
|
|||
|
|
* parameter is stored as a lowercase string.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_dBClusterIdentifier;
|
|||
|
|
bool m_dBClusterIdentifierHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace RDS
|
|||
|
|
} // namespace Aws
|