/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; } /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; } /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; } /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); } /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); } /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;} /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;} /** *The name of the cluster parameter group.
Constraints:
Must be 1 to 255 alphanumeric characters or hyphens
First * character must be a letter.
Cannot end with a hyphen or * contain two consecutive hyphens.
Must be unique withing your * Amazon Web Services account.
This value is stored as a * lower-case string.
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;} /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; } /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; } /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; } /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); } /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); } /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;} /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;} /** *The Amazon Redshift engine version to which the cluster parameter group * applies. The cluster engine version determines the set of parameters.
To * get a list of valid parameter group family names, you can call * DescribeClusterParameterGroups. By default, Amazon Redshift returns a * list of all the parameter groups that are owned by your Amazon Web Services * account, including the default parameter groups for each Amazon Redshift engine * version. The parameter group family names associated with the default parameter * groups provide you the valid values. For example, a valid family name is * "redshift-1.0".
*/ inline CreateClusterParameterGroupRequest& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;} /** *A description of the parameter group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the parameter group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the parameter group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the parameter group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the parameter group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the parameter group.
*/ inline CreateClusterParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the parameter group.
*/ inline CreateClusterParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the parameter group.
*/ inline CreateClusterParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of tag instances.
*/ inline const Aws::VectorA list of tag instances.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tag instances.
*/ inline void SetTags(const Aws::VectorA list of tag instances.
*/ inline void SetTags(Aws::VectorA list of tag instances.
*/ inline CreateClusterParameterGroupRequest& WithTags(const Aws::VectorA list of tag instances.
*/ inline CreateClusterParameterGroupRequest& WithTags(Aws::VectorA list of tag instances.
*/ inline CreateClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tag instances.
*/ inline CreateClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_parameterGroupName; bool m_parameterGroupNameHasBeenSet = false; Aws::String m_parameterGroupFamily; bool m_parameterGroupFamilyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector