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

An array of key-value pairs to set for advanced control over Amazon Redshift * Serverless.

See Also:

AWS * API Reference

*/ class ConfigParameter { public: AWS_REDSHIFTSERVERLESS_API ConfigParameter(); AWS_REDSHIFTSERVERLESS_API ConfigParameter(Aws::Utils::Json::JsonView jsonValue); AWS_REDSHIFTSERVERLESS_API ConfigParameter& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline const Aws::String& GetParameterKey() const{ return m_parameterKey; } /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; } /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; } /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::move(value); } /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); } /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline ConfigParameter& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;} /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline ConfigParameter& WithParameterKey(Aws::String&& value) { SetParameterKey(std::move(value)); return *this;} /** *

The key of the parameter. The options are auto_mv, * datestyle, enable_case_sensitivity_identifier, * enable_user_activity_logging, query_group, * search_path, and query monitoring metrics that let you define * performance boundaries. For more information about query monitoring rules and * available metrics, see Query * monitoring metrics for Amazon Redshift Serverless.

*/ inline ConfigParameter& WithParameterKey(const char* value) { SetParameterKey(value); return *this;} /** *

The value of the parameter to set.

*/ inline const Aws::String& GetParameterValue() const{ return m_parameterValue; } /** *

The value of the parameter to set.

*/ inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; } /** *

The value of the parameter to set.

*/ inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; } /** *

The value of the parameter to set.

*/ inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); } /** *

The value of the parameter to set.

*/ inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); } /** *

The value of the parameter to set.

*/ inline ConfigParameter& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;} /** *

The value of the parameter to set.

*/ inline ConfigParameter& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;} /** *

The value of the parameter to set.

*/ inline ConfigParameter& WithParameterValue(const char* value) { SetParameterValue(value); return *this;} private: Aws::String m_parameterKey; bool m_parameterKeyHasBeenSet = false; Aws::String m_parameterValue; bool m_parameterValueHasBeenSet = false; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws