AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConditionalFormattingCustomIconOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Icon.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API ConditionalFormattingCustomIconOptions() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline Icon GetIcon() const { return m_icon; }
46 inline bool IconHasBeenSet() const { return m_iconHasBeenSet; }
47 inline void SetIcon(Icon value) { m_iconHasBeenSet = true; m_icon = value; }
48 inline ConditionalFormattingCustomIconOptions& WithIcon(Icon value) { SetIcon(value); return *this;}
50
52
55 inline const Aws::String& GetUnicodeIcon() const { return m_unicodeIcon; }
56 inline bool UnicodeIconHasBeenSet() const { return m_unicodeIconHasBeenSet; }
57 template<typename UnicodeIconT = Aws::String>
58 void SetUnicodeIcon(UnicodeIconT&& value) { m_unicodeIconHasBeenSet = true; m_unicodeIcon = std::forward<UnicodeIconT>(value); }
59 template<typename UnicodeIconT = Aws::String>
60 ConditionalFormattingCustomIconOptions& WithUnicodeIcon(UnicodeIconT&& value) { SetUnicodeIcon(std::forward<UnicodeIconT>(value)); return *this;}
62 private:
63
64 Icon m_icon{Icon::NOT_SET};
65 bool m_iconHasBeenSet = false;
66
67 Aws::String m_unicodeIcon;
68 bool m_unicodeIconHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
AWS_QUICKSIGHT_API ConditionalFormattingCustomIconOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ConditionalFormattingCustomIconOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionalFormattingCustomIconOptions & WithUnicodeIcon(UnicodeIconT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue