/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a maintenance track that determines which Amazon Redshift version to
* apply during a maintenance window. If the value for
* MaintenanceTrack
is current
, the cluster is updated to
* the most recently certified maintenance release. If the value is
* trailing
, the cluster is updated to the previously certified
* maintenance release. See Also:
AWS
* API Reference
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The name of the maintenance track. Possible values are current
* and trailing
.
The version number for the cluster release.
*/ inline const Aws::String& GetDatabaseVersion() const{ return m_databaseVersion; } /** *The version number for the cluster release.
*/ inline bool DatabaseVersionHasBeenSet() const { return m_databaseVersionHasBeenSet; } /** *The version number for the cluster release.
*/ inline void SetDatabaseVersion(const Aws::String& value) { m_databaseVersionHasBeenSet = true; m_databaseVersion = value; } /** *The version number for the cluster release.
*/ inline void SetDatabaseVersion(Aws::String&& value) { m_databaseVersionHasBeenSet = true; m_databaseVersion = std::move(value); } /** *The version number for the cluster release.
*/ inline void SetDatabaseVersion(const char* value) { m_databaseVersionHasBeenSet = true; m_databaseVersion.assign(value); } /** *The version number for the cluster release.
*/ inline MaintenanceTrack& WithDatabaseVersion(const Aws::String& value) { SetDatabaseVersion(value); return *this;} /** *The version number for the cluster release.
*/ inline MaintenanceTrack& WithDatabaseVersion(Aws::String&& value) { SetDatabaseVersion(std::move(value)); return *this;} /** *The version number for the cluster release.
*/ inline MaintenanceTrack& WithDatabaseVersion(const char* value) { SetDatabaseVersion(value); return *this;} /** *An array of UpdateTarget objects to update with the maintenance track. *
*/ inline const Aws::VectorAn array of UpdateTarget objects to update with the maintenance track. *
*/ inline bool UpdateTargetsHasBeenSet() const { return m_updateTargetsHasBeenSet; } /** *An array of UpdateTarget objects to update with the maintenance track. *
*/ inline void SetUpdateTargets(const Aws::VectorAn array of UpdateTarget objects to update with the maintenance track. *
*/ inline void SetUpdateTargets(Aws::VectorAn array of UpdateTarget objects to update with the maintenance track. *
*/ inline MaintenanceTrack& WithUpdateTargets(const Aws::VectorAn array of UpdateTarget objects to update with the maintenance track. *
*/ inline MaintenanceTrack& WithUpdateTargets(Aws::VectorAn array of UpdateTarget objects to update with the maintenance track. *
*/ inline MaintenanceTrack& AddUpdateTargets(const UpdateTarget& value) { m_updateTargetsHasBeenSet = true; m_updateTargets.push_back(value); return *this; } /** *An array of UpdateTarget objects to update with the maintenance track. *
*/ inline MaintenanceTrack& AddUpdateTargets(UpdateTarget&& value) { m_updateTargetsHasBeenSet = true; m_updateTargets.push_back(std::move(value)); return *this; } private: Aws::String m_maintenanceTrackName; bool m_maintenanceTrackNameHasBeenSet = false; Aws::String m_databaseVersion; bool m_databaseVersionHasBeenSet = false; Aws::Vector