/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace DocDB
{
namespace Model
{
/**
* Represents the input to DeleteDBInstance.
See Also:
* AWS
* API Reference
*/
class DeleteDBInstanceRequest : public DocDBRequest
{
public:
AWS_DOCDB_API DeleteDBInstanceRequest();
// 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 "DeleteDBInstance"; }
AWS_DOCDB_API Aws::String SerializePayload() const override;
protected:
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
/**
* The instance identifier for the instance to be deleted. This parameter isn't
* case sensitive.
Constraints:
*/
inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
private:
Aws::String m_dBInstanceIdentifier;
bool m_dBInstanceIdentifierHasBeenSet = false;
};
} // namespace Model
} // namespace DocDB
} // namespace Aws