/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { /** *

Describes the default cluster parameters for a parameter group * family.

See Also:

AWS * API Reference

*/ class DefaultClusterParameters { public: AWS_REDSHIFT_API DefaultClusterParameters(); AWS_REDSHIFT_API DefaultClusterParameters(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_REDSHIFT_API DefaultClusterParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; } /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; } /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; } /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); } /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); } /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline DefaultClusterParameters& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;} /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline DefaultClusterParameters& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;} /** *

The name of the cluster parameter group family to which the engine default * parameters apply.

*/ inline DefaultClusterParameters& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;} /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline DefaultClusterParameters& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline DefaultClusterParameters& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

A value that indicates the starting point for the next set of response * records in a subsequent request. If a value is returned in a response, you can * retrieve the next set of records by providing this returned marker value in the * Marker parameter and retrying the command. If the * Marker field is empty, all response records have been retrieved for * the request.

*/ inline DefaultClusterParameters& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The list of cluster default parameters.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

The list of cluster default parameters.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

The list of cluster default parameters.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

The list of cluster default parameters.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

The list of cluster default parameters.

*/ inline DefaultClusterParameters& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

The list of cluster default parameters.

*/ inline DefaultClusterParameters& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

The list of cluster default parameters.

*/ inline DefaultClusterParameters& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

The list of cluster default parameters.

*/ inline DefaultClusterParameters& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } private: Aws::String m_parameterGroupFamily; bool m_parameterGroupFamilyHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws