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

The identifier of the DB snapshot to modify.

*/ inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; } /** *

The identifier of the DB snapshot to modify.

*/ inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; } /** *

The identifier of the DB snapshot to modify.

*/ inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; } /** *

The identifier of the DB snapshot to modify.

*/ inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); } /** *

The identifier of the DB snapshot to modify.

*/ inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); } /** *

The identifier of the DB snapshot to modify.

*/ inline ModifyDBSnapshotRequest& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;} /** *

The identifier of the DB snapshot to modify.

*/ inline ModifyDBSnapshotRequest& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;} /** *

The identifier of the DB snapshot to modify.

*/ inline ModifyDBSnapshotRequest& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;} /** *

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The engine version to upgrade the DB snapshot to.

The following are * the database engines and engine versions that are available when you upgrade a * DB snapshot.

MySQL

  • 5.5.46 * (supported for 5.1 DB snapshots)

Oracle

    *
  • 19.0.0.0.ru-2022-01.rur-2022-01.r1 (supported for 12.2.0.1 * DB snapshots)

  • 19.0.0.0.ru-2022-07.rur-2022-07.r1 * (supported for 12.1.0.2 DB snapshots)

  • * 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • *

    11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • *
  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

    *

PostgreSQL

For the list of engine versions that * are available for upgrading a DB snapshot, see * Upgrading the PostgreSQL DB Engine for Amazon RDS.

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

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline ModifyDBSnapshotRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline ModifyDBSnapshotRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *

The option group to identify with the upgraded DB snapshot.

You can * specify this parameter when you upgrade an Oracle DB snapshot. The same option * group considerations apply when upgrading a DB snapshot as when upgrading a DB * instance. For more information, see Option * group considerations in the Amazon RDS User Guide.

*/ inline ModifyDBSnapshotRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} private: Aws::String m_dBSnapshotIdentifier; bool m_dBSnapshotIdentifierHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws