AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableCellConditionalFormatting.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/TextConditionalFormat.h>
10#include <aws/quicksight/model/PivotTableConditionalFormattingScope.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
49 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
50 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
51 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
52 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
53 inline PivotTableCellConditionalFormatting& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
54 inline PivotTableCellConditionalFormatting& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
55 inline PivotTableCellConditionalFormatting& WithFieldId(const char* value) { SetFieldId(value); return *this;}
57
59
62 inline const TextConditionalFormat& GetTextFormat() const{ return m_textFormat; }
63 inline bool TextFormatHasBeenSet() const { return m_textFormatHasBeenSet; }
64 inline void SetTextFormat(const TextConditionalFormat& value) { m_textFormatHasBeenSet = true; m_textFormat = value; }
65 inline void SetTextFormat(TextConditionalFormat&& value) { m_textFormatHasBeenSet = true; m_textFormat = std::move(value); }
69
71
74 inline const PivotTableConditionalFormattingScope& GetScope() const{ return m_scope; }
75 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
76 inline void SetScope(const PivotTableConditionalFormattingScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
77 inline void SetScope(PivotTableConditionalFormattingScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
81
83
86 inline const Aws::Vector<PivotTableConditionalFormattingScope>& GetScopes() const{ return m_scopes; }
87 inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
88 inline void SetScopes(const Aws::Vector<PivotTableConditionalFormattingScope>& value) { m_scopesHasBeenSet = true; m_scopes = value; }
89 inline void SetScopes(Aws::Vector<PivotTableConditionalFormattingScope>&& value) { m_scopesHasBeenSet = true; m_scopes = std::move(value); }
92 inline PivotTableCellConditionalFormatting& AddScopes(const PivotTableConditionalFormattingScope& value) { m_scopesHasBeenSet = true; m_scopes.push_back(value); return *this; }
93 inline PivotTableCellConditionalFormatting& AddScopes(PivotTableConditionalFormattingScope&& value) { m_scopesHasBeenSet = true; m_scopes.push_back(std::move(value)); return *this; }
95 private:
96
97 Aws::String m_fieldId;
98 bool m_fieldIdHasBeenSet = false;
99
100 TextConditionalFormat m_textFormat;
101 bool m_textFormatHasBeenSet = false;
102
104 bool m_scopeHasBeenSet = false;
105
107 bool m_scopesHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
AWS_QUICKSIGHT_API PivotTableCellConditionalFormatting(Aws::Utils::Json::JsonView jsonValue)
PivotTableCellConditionalFormatting & WithFieldId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScopes(Aws::Vector< PivotTableConditionalFormattingScope > &&value)
AWS_QUICKSIGHT_API PivotTableCellConditionalFormatting & operator=(Aws::Utils::Json::JsonView jsonValue)
PivotTableCellConditionalFormatting & WithScopes(const Aws::Vector< PivotTableConditionalFormattingScope > &value)
PivotTableCellConditionalFormatting & WithScope(PivotTableConditionalFormattingScope &&value)
PivotTableCellConditionalFormatting & AddScopes(PivotTableConditionalFormattingScope &&value)
PivotTableCellConditionalFormatting & WithTextFormat(TextConditionalFormat &&value)
PivotTableCellConditionalFormatting & WithScopes(Aws::Vector< PivotTableConditionalFormattingScope > &&value)
void SetScope(const PivotTableConditionalFormattingScope &value)
PivotTableCellConditionalFormatting & WithTextFormat(const TextConditionalFormat &value)
PivotTableCellConditionalFormatting & WithFieldId(Aws::String &&value)
const Aws::Vector< PivotTableConditionalFormattingScope > & GetScopes() const
PivotTableCellConditionalFormatting & WithFieldId(const Aws::String &value)
void SetScopes(const Aws::Vector< PivotTableConditionalFormattingScope > &value)
PivotTableCellConditionalFormatting & WithScope(const PivotTableConditionalFormattingScope &value)
PivotTableCellConditionalFormatting & AddScopes(const PivotTableConditionalFormattingScope &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue