/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a cluster version, including the parameter group family and
* description of the version.See Also:
AWS
* API Reference
The version number used by the cluster.
*/ inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; } /** *The version number used by the cluster.
*/ inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; } /** *The version number used by the cluster.
*/ inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; } /** *The version number used by the cluster.
*/ inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); } /** *The version number used by the cluster.
*/ inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); } /** *The version number used by the cluster.
*/ inline ClusterVersion& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;} /** *The version number used by the cluster.
*/ inline ClusterVersion& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;} /** *The version number used by the cluster.
*/ inline ClusterVersion& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;} /** *The name of the cluster parameter group family for the cluster.
*/ inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; } /** *The name of the cluster parameter group family for the cluster.
*/ inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; } /** *The name of the cluster parameter group family for the cluster.
*/ inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; } /** *The name of the cluster parameter group family for the cluster.
*/ inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::move(value); } /** *The name of the cluster parameter group family for the cluster.
*/ inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); } /** *The name of the cluster parameter group family for the cluster.
*/ inline ClusterVersion& WithClusterParameterGroupFamily(const Aws::String& value) { SetClusterParameterGroupFamily(value); return *this;} /** *The name of the cluster parameter group family for the cluster.
*/ inline ClusterVersion& WithClusterParameterGroupFamily(Aws::String&& value) { SetClusterParameterGroupFamily(std::move(value)); return *this;} /** *The name of the cluster parameter group family for the cluster.
*/ inline ClusterVersion& WithClusterParameterGroupFamily(const char* value) { SetClusterParameterGroupFamily(value); return *this;} /** *The description of the cluster version.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the cluster version.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the cluster version.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the cluster version.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the cluster version.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the cluster version.
*/ inline ClusterVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the cluster version.
*/ inline ClusterVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the cluster version.
*/ inline ClusterVersion& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_clusterVersion; bool m_clusterVersionHasBeenSet; Aws::String m_clusterParameterGroupFamily; bool m_clusterParameterGroupFamilyHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; }; } // namespace Model } // namespace Redshift } // namespace Aws