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

The rendering rules of a sheet that uses a free-form layout.

See * Also:

AWS * API Reference

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

The expression of the rendering rules of a sheet.

*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *

The expression of the rendering rules of a sheet.

*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *

The expression of the rendering rules of a sheet.

*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *

The expression of the rendering rules of a sheet.

*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *

The expression of the rendering rules of a sheet.

*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *

The expression of the rendering rules of a sheet.

*/ inline SheetElementRenderingRule& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *

The expression of the rendering rules of a sheet.

*/ inline SheetElementRenderingRule& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *

The expression of the rendering rules of a sheet.

*/ inline SheetElementRenderingRule& WithExpression(const char* value) { SetExpression(value); return *this;} /** *

The override configuration of the rendering rules of a sheet.

*/ inline const SheetElementConfigurationOverrides& GetConfigurationOverrides() const{ return m_configurationOverrides; } /** *

The override configuration of the rendering rules of a sheet.

*/ inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; } /** *

The override configuration of the rendering rules of a sheet.

*/ inline void SetConfigurationOverrides(const SheetElementConfigurationOverrides& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = value; } /** *

The override configuration of the rendering rules of a sheet.

*/ inline void SetConfigurationOverrides(SheetElementConfigurationOverrides&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::move(value); } /** *

The override configuration of the rendering rules of a sheet.

*/ inline SheetElementRenderingRule& WithConfigurationOverrides(const SheetElementConfigurationOverrides& value) { SetConfigurationOverrides(value); return *this;} /** *

The override configuration of the rendering rules of a sheet.

*/ inline SheetElementRenderingRule& WithConfigurationOverrides(SheetElementConfigurationOverrides&& value) { SetConfigurationOverrides(std::move(value)); return *this;} private: Aws::String m_expression; bool m_expressionHasBeenSet = false; SheetElementConfigurationOverrides m_configurationOverrides; bool m_configurationOverridesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws