/** * 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 { /** *

Custom icon options for an icon set.

See Also:

AWS * API Reference

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

Determines the type of icon.

*/ inline const Icon& GetIcon() const{ return m_icon; } /** *

Determines the type of icon.

*/ inline bool IconHasBeenSet() const { return m_iconHasBeenSet; } /** *

Determines the type of icon.

*/ inline void SetIcon(const Icon& value) { m_iconHasBeenSet = true; m_icon = value; } /** *

Determines the type of icon.

*/ inline void SetIcon(Icon&& value) { m_iconHasBeenSet = true; m_icon = std::move(value); } /** *

Determines the type of icon.

*/ inline ConditionalFormattingCustomIconOptions& WithIcon(const Icon& value) { SetIcon(value); return *this;} /** *

Determines the type of icon.

*/ inline ConditionalFormattingCustomIconOptions& WithIcon(Icon&& value) { SetIcon(std::move(value)); return *this;} /** *

Determines the Unicode icon type.

*/ inline const Aws::String& GetUnicodeIcon() const{ return m_unicodeIcon; } /** *

Determines the Unicode icon type.

*/ inline bool UnicodeIconHasBeenSet() const { return m_unicodeIconHasBeenSet; } /** *

Determines the Unicode icon type.

*/ inline void SetUnicodeIcon(const Aws::String& value) { m_unicodeIconHasBeenSet = true; m_unicodeIcon = value; } /** *

Determines the Unicode icon type.

*/ inline void SetUnicodeIcon(Aws::String&& value) { m_unicodeIconHasBeenSet = true; m_unicodeIcon = std::move(value); } /** *

Determines the Unicode icon type.

*/ inline void SetUnicodeIcon(const char* value) { m_unicodeIconHasBeenSet = true; m_unicodeIcon.assign(value); } /** *

Determines the Unicode icon type.

*/ inline ConditionalFormattingCustomIconOptions& WithUnicodeIcon(const Aws::String& value) { SetUnicodeIcon(value); return *this;} /** *

Determines the Unicode icon type.

*/ inline ConditionalFormattingCustomIconOptions& WithUnicodeIcon(Aws::String&& value) { SetUnicodeIcon(std::move(value)); return *this;} /** *

Determines the Unicode icon type.

*/ inline ConditionalFormattingCustomIconOptions& WithUnicodeIcon(const char* value) { SetUnicodeIcon(value); return *this;} private: Icon m_icon; bool m_iconHasBeenSet = false; Aws::String m_unicodeIcon; bool m_unicodeIconHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws