AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SheetTextBox.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/TextBoxInteractionOptions.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
29 public:
30 AWS_QUICKSIGHT_API SheetTextBox() = default;
31 AWS_QUICKSIGHT_API SheetTextBox(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API SheetTextBox& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetSheetTextBoxId() const { return m_sheetTextBoxId; }
42 inline bool SheetTextBoxIdHasBeenSet() const { return m_sheetTextBoxIdHasBeenSet; }
43 template <typename SheetTextBoxIdT = Aws::String>
44 void SetSheetTextBoxId(SheetTextBoxIdT&& value) {
45 m_sheetTextBoxIdHasBeenSet = true;
46 m_sheetTextBoxId = std::forward<SheetTextBoxIdT>(value);
47 }
48 template <typename SheetTextBoxIdT = Aws::String>
49 SheetTextBox& WithSheetTextBoxId(SheetTextBoxIdT&& value) {
50 SetSheetTextBoxId(std::forward<SheetTextBoxIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetContent() const { return m_content; }
60 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
61 template <typename ContentT = Aws::String>
62 void SetContent(ContentT&& value) {
63 m_contentHasBeenSet = true;
64 m_content = std::forward<ContentT>(value);
65 }
66 template <typename ContentT = Aws::String>
67 SheetTextBox& WithContent(ContentT&& value) {
68 SetContent(std::forward<ContentT>(value));
69 return *this;
70 }
72
74
77 inline const TextBoxInteractionOptions& GetInteractions() const { return m_interactions; }
78 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
79 template <typename InteractionsT = TextBoxInteractionOptions>
80 void SetInteractions(InteractionsT&& value) {
81 m_interactionsHasBeenSet = true;
82 m_interactions = std::forward<InteractionsT>(value);
83 }
84 template <typename InteractionsT = TextBoxInteractionOptions>
85 SheetTextBox& WithInteractions(InteractionsT&& value) {
86 SetInteractions(std::forward<InteractionsT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_sheetTextBoxId;
92
93 Aws::String m_content;
94
95 TextBoxInteractionOptions m_interactions;
96 bool m_sheetTextBoxIdHasBeenSet = false;
97 bool m_contentHasBeenSet = false;
98 bool m_interactionsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
void SetContent(ContentT &&value)
void SetInteractions(InteractionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SheetTextBox()=default
AWS_QUICKSIGHT_API SheetTextBox(Aws::Utils::Json::JsonView jsonValue)
void SetSheetTextBoxId(SheetTextBoxIdT &&value)
AWS_QUICKSIGHT_API SheetTextBox & operator=(Aws::Utils::Json::JsonView jsonValue)
SheetTextBox & WithSheetTextBoxId(SheetTextBoxIdT &&value)
SheetTextBox & WithContent(ContentT &&value)
const TextBoxInteractionOptions & GetInteractions() const
const Aws::String & GetSheetTextBoxId() const
SheetTextBox & WithInteractions(InteractionsT &&value)
const Aws::String & GetContent() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue