AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SheetElementRenderingRule.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/SheetElementConfigurationOverrides.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
34 {
35 public:
36 AWS_QUICKSIGHT_API SheetElementRenderingRule() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExpression() const { return m_expression; }
47 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
48 template<typename ExpressionT = Aws::String>
49 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
50 template<typename ExpressionT = Aws::String>
51 SheetElementRenderingRule& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
53
55
58 inline const SheetElementConfigurationOverrides& GetConfigurationOverrides() const { return m_configurationOverrides; }
59 inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; }
60 template<typename ConfigurationOverridesT = SheetElementConfigurationOverrides>
61 void SetConfigurationOverrides(ConfigurationOverridesT&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::forward<ConfigurationOverridesT>(value); }
62 template<typename ConfigurationOverridesT = SheetElementConfigurationOverrides>
63 SheetElementRenderingRule& WithConfigurationOverrides(ConfigurationOverridesT&& value) { SetConfigurationOverrides(std::forward<ConfigurationOverridesT>(value)); return *this;}
65 private:
66
67 Aws::String m_expression;
68 bool m_expressionHasBeenSet = false;
69
70 SheetElementConfigurationOverrides m_configurationOverrides;
71 bool m_configurationOverridesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
SheetElementRenderingRule & WithConfigurationOverrides(ConfigurationOverridesT &&value)
const SheetElementConfigurationOverrides & GetConfigurationOverrides() const
AWS_QUICKSIGHT_API SheetElementRenderingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SheetElementRenderingRule(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SheetElementRenderingRule()=default
void SetConfigurationOverrides(ConfigurationOverridesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SheetElementRenderingRule & WithExpression(ExpressionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue