AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
TableCellConditionalFormatting.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/TextConditionalFormat.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 TableCellConditionalFormatting() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldId() const { return m_fieldId; }
41 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
42 template <typename FieldIdT = Aws::String>
43 void SetFieldId(FieldIdT&& value) {
44 m_fieldIdHasBeenSet = true;
45 m_fieldId = std::forward<FieldIdT>(value);
46 }
47 template <typename FieldIdT = Aws::String>
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
58 inline const TextConditionalFormat& GetTextFormat() const { return m_textFormat; }
59 inline bool TextFormatHasBeenSet() const { return m_textFormatHasBeenSet; }
60 template <typename TextFormatT = TextConditionalFormat>
61 void SetTextFormat(TextFormatT&& value) {
62 m_textFormatHasBeenSet = true;
63 m_textFormat = std::forward<TextFormatT>(value);
64 }
65 template <typename TextFormatT = TextConditionalFormat>
67 SetTextFormat(std::forward<TextFormatT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_fieldId;
73
74 TextConditionalFormat m_textFormat;
75 bool m_fieldIdHasBeenSet = false;
76 bool m_textFormatHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API TableCellConditionalFormatting()=default
AWS_QUICKSIGHT_API TableCellConditionalFormatting(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableCellConditionalFormatting & WithTextFormat(TextFormatT &&value)
AWS_QUICKSIGHT_API TableCellConditionalFormatting & operator=(Aws::Utils::Json::JsonView jsonValue)
TableCellConditionalFormatting & WithFieldId(FieldIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue