/** * 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 RDS { namespace Model { /** */ class ModifyCustomDBEngineVersionRequest : public RDSRequest { public: AWS_RDS_API ModifyCustomDBEngineVersionRequest(); // 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 "ModifyCustomDBEngineVersion"; } AWS_RDS_API Aws::String SerializePayload() const override; protected: AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The DB engine. The only supported values are custom-oracle-ee * and custom-oracle-ee-cdb.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The custom engine version (CEV) that you want to modify. This option is * required for RDS Custom for Oracle, but optional for Amazon RDS. The combination * of Engine and EngineVersion is unique per customer per * Amazon Web Services Region.

*/ inline ModifyCustomDBEngineVersionRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

An optional description of your CEV.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

An optional description of your CEV.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

An optional description of your CEV.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

An optional description of your CEV.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

An optional description of your CEV.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

An optional description of your CEV.

*/ inline ModifyCustomDBEngineVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

An optional description of your CEV.

*/ inline ModifyCustomDBEngineVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

An optional description of your CEV.

*/ inline ModifyCustomDBEngineVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline const CustomEngineVersionStatus& GetStatus() const{ return m_status; } /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline void SetStatus(const CustomEngineVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline void SetStatus(CustomEngineVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline ModifyCustomDBEngineVersionRequest& WithStatus(const CustomEngineVersionStatus& value) { SetStatus(value); return *this;} /** *

The availability status to be assigned to the CEV. Valid values are as * follows:

available

You can use this CEV to create a * new RDS Custom DB instance.

inactive

You can create a * new RDS Custom instance by restoring a DB snapshot with this CEV. You can't * patch or create new instances with this CEV.

You can change * any status to any status. A typical reason to change status is to prevent the * accidental use of a CEV, or to make a deprecated CEV eligible for use again. For * example, you might change the status of your CEV from available to * inactive, and from inactive back to * available. To change the availability status of the CEV, it must * not currently be in use by an RDS Custom instance, snapshot, or automated * backup.

*/ inline ModifyCustomDBEngineVersionRequest& WithStatus(CustomEngineVersionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; CustomEngineVersionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws