/** * 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 conditional formatting that determines the shape of the filled * map.

See Also:

AWS * API Reference

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

The field ID of the filled map shape.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field ID of the filled map shape.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field ID of the filled map shape.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field ID of the filled map shape.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field ID of the filled map shape.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field ID of the filled map shape.

*/ inline FilledMapShapeConditionalFormatting& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field ID of the filled map shape.

*/ inline FilledMapShapeConditionalFormatting& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field ID of the filled map shape.

*/ inline FilledMapShapeConditionalFormatting& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline const ShapeConditionalFormat& GetFormat() const{ return m_format; } /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline void SetFormat(const ShapeConditionalFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline void SetFormat(ShapeConditionalFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline FilledMapShapeConditionalFormatting& WithFormat(const ShapeConditionalFormat& value) { SetFormat(value); return *this;} /** *

The conditional formatting that determines the background color of a filled * map's shape.

*/ inline FilledMapShapeConditionalFormatting& WithFormat(ShapeConditionalFormat&& value) { SetFormat(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; ShapeConditionalFormat m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws