AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SheetElementRenderingRule.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/SheetElementConfigurationOverrides.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API SheetElementRenderingRule() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetExpression() const { return m_expression; }
41 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
42 template <typename ExpressionT = Aws::String>
43 void SetExpression(ExpressionT&& value) {
44 m_expressionHasBeenSet = true;
45 m_expression = std::forward<ExpressionT>(value);
46 }
47 template <typename ExpressionT = Aws::String>
49 SetExpression(std::forward<ExpressionT>(value));
50 return *this;
51 }
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) {
62 m_configurationOverridesHasBeenSet = true;
63 m_configurationOverrides = std::forward<ConfigurationOverridesT>(value);
64 }
65 template <typename ConfigurationOverridesT = SheetElementConfigurationOverrides>
66 SheetElementRenderingRule& WithConfigurationOverrides(ConfigurationOverridesT&& value) {
67 SetConfigurationOverrides(std::forward<ConfigurationOverridesT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_expression;
73
74 SheetElementConfigurationOverrides m_configurationOverrides;
75 bool m_expressionHasBeenSet = false;
76 bool m_configurationOverridesHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // 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