AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConditionalFormattingCustomIconCondition.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ConditionalFormattingCustomIconOptions.h>
10#include <aws/quicksight/model/ConditionalFormattingIconDisplayConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetExpression() const{ return m_expression; }
48 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
49 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
50 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
51 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
53 inline ConditionalFormattingCustomIconCondition& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
54 inline ConditionalFormattingCustomIconCondition& WithExpression(const char* value) { SetExpression(value); return *this;}
56
58
61 inline const ConditionalFormattingCustomIconOptions& GetIconOptions() const{ return m_iconOptions; }
62 inline bool IconOptionsHasBeenSet() const { return m_iconOptionsHasBeenSet; }
63 inline void SetIconOptions(const ConditionalFormattingCustomIconOptions& value) { m_iconOptionsHasBeenSet = true; m_iconOptions = value; }
64 inline void SetIconOptions(ConditionalFormattingCustomIconOptions&& value) { m_iconOptionsHasBeenSet = true; m_iconOptions = std::move(value); }
68
70
73 inline const Aws::String& GetColor() const{ return m_color; }
74 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
75 inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; }
76 inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); }
77 inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); }
78 inline ConditionalFormattingCustomIconCondition& WithColor(const Aws::String& value) { SetColor(value); return *this;}
79 inline ConditionalFormattingCustomIconCondition& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;}
80 inline ConditionalFormattingCustomIconCondition& WithColor(const char* value) { SetColor(value); return *this;}
82
84
87 inline const ConditionalFormattingIconDisplayConfiguration& GetDisplayConfiguration() const{ return m_displayConfiguration; }
88 inline bool DisplayConfigurationHasBeenSet() const { return m_displayConfigurationHasBeenSet; }
89 inline void SetDisplayConfiguration(const ConditionalFormattingIconDisplayConfiguration& value) { m_displayConfigurationHasBeenSet = true; m_displayConfiguration = value; }
90 inline void SetDisplayConfiguration(ConditionalFormattingIconDisplayConfiguration&& value) { m_displayConfigurationHasBeenSet = true; m_displayConfiguration = std::move(value); }
94 private:
95
96 Aws::String m_expression;
97 bool m_expressionHasBeenSet = false;
98
100 bool m_iconOptionsHasBeenSet = false;
101
102 Aws::String m_color;
103 bool m_colorHasBeenSet = false;
104
106 bool m_displayConfigurationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
ConditionalFormattingCustomIconCondition & WithDisplayConfiguration(ConditionalFormattingIconDisplayConfiguration &&value)
ConditionalFormattingCustomIconCondition & WithExpression(Aws::String &&value)
ConditionalFormattingCustomIconCondition & WithColor(Aws::String &&value)
ConditionalFormattingCustomIconCondition & WithIconOptions(const ConditionalFormattingCustomIconOptions &value)
ConditionalFormattingCustomIconCondition & WithColor(const char *value)
AWS_QUICKSIGHT_API ConditionalFormattingCustomIconCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionalFormattingCustomIconCondition & WithIconOptions(ConditionalFormattingCustomIconOptions &&value)
ConditionalFormattingCustomIconCondition & WithDisplayConfiguration(const ConditionalFormattingIconDisplayConfiguration &value)
ConditionalFormattingCustomIconCondition & WithColor(const Aws::String &value)
void SetDisplayConfiguration(const ConditionalFormattingIconDisplayConfiguration &value)
void SetDisplayConfiguration(ConditionalFormattingIconDisplayConfiguration &&value)
ConditionalFormattingCustomIconCondition & WithExpression(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ConditionalFormattingCustomIconCondition & WithExpression(const char *value)
AWS_QUICKSIGHT_API ConditionalFormattingCustomIconCondition(Aws::Utils::Json::JsonView jsonValue)
const ConditionalFormattingIconDisplayConfiguration & GetDisplayConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue