/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a RevisionTarget
.See Also:
AWS
* API Reference
A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline const Aws::String& GetDatabaseRevision() const{ return m_databaseRevision; } /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline bool DatabaseRevisionHasBeenSet() const { return m_databaseRevisionHasBeenSet; } /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline void SetDatabaseRevision(const Aws::String& value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision = value; } /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline void SetDatabaseRevision(Aws::String&& value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision = std::move(value); } /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline void SetDatabaseRevision(const char* value) { m_databaseRevisionHasBeenSet = true; m_databaseRevision.assign(value); } /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline RevisionTarget& WithDatabaseRevision(const Aws::String& value) { SetDatabaseRevision(value); return *this;} /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline RevisionTarget& WithDatabaseRevision(Aws::String&& value) { SetDatabaseRevision(std::move(value)); return *this;} /** *A unique string that identifies the version to update the cluster to. You can * use this value in ModifyClusterDbRevision.
*/ inline RevisionTarget& WithDatabaseRevision(const char* value) { SetDatabaseRevision(value); return *this;} /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline RevisionTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline RevisionTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A string that describes the changes and features that will be applied to the * cluster when it is updated to the corresponding ClusterDbRevision.
*/ inline RevisionTarget& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The date on which the database revision was released.
*/ inline const Aws::Utils::DateTime& GetDatabaseRevisionReleaseDate() const{ return m_databaseRevisionReleaseDate; } /** *The date on which the database revision was released.
*/ inline bool DatabaseRevisionReleaseDateHasBeenSet() const { return m_databaseRevisionReleaseDateHasBeenSet; } /** *The date on which the database revision was released.
*/ inline void SetDatabaseRevisionReleaseDate(const Aws::Utils::DateTime& value) { m_databaseRevisionReleaseDateHasBeenSet = true; m_databaseRevisionReleaseDate = value; } /** *The date on which the database revision was released.
*/ inline void SetDatabaseRevisionReleaseDate(Aws::Utils::DateTime&& value) { m_databaseRevisionReleaseDateHasBeenSet = true; m_databaseRevisionReleaseDate = std::move(value); } /** *The date on which the database revision was released.
*/ inline RevisionTarget& WithDatabaseRevisionReleaseDate(const Aws::Utils::DateTime& value) { SetDatabaseRevisionReleaseDate(value); return *this;} /** *The date on which the database revision was released.
*/ inline RevisionTarget& WithDatabaseRevisionReleaseDate(Aws::Utils::DateTime&& value) { SetDatabaseRevisionReleaseDate(std::move(value)); return *this;} private: Aws::String m_databaseRevision; bool m_databaseRevisionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_databaseRevisionReleaseDate; bool m_databaseRevisionReleaseDateHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws