AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SheetTextBox.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/TextBoxInteractionOptions.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
33 {
34 public:
35 AWS_QUICKSIGHT_API SheetTextBox() = default;
36 AWS_QUICKSIGHT_API SheetTextBox(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API SheetTextBox& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetSheetTextBoxId() const { return m_sheetTextBoxId; }
48 inline bool SheetTextBoxIdHasBeenSet() const { return m_sheetTextBoxIdHasBeenSet; }
49 template<typename SheetTextBoxIdT = Aws::String>
50 void SetSheetTextBoxId(SheetTextBoxIdT&& value) { m_sheetTextBoxIdHasBeenSet = true; m_sheetTextBoxId = std::forward<SheetTextBoxIdT>(value); }
51 template<typename SheetTextBoxIdT = Aws::String>
52 SheetTextBox& WithSheetTextBoxId(SheetTextBoxIdT&& value) { SetSheetTextBoxId(std::forward<SheetTextBoxIdT>(value)); return *this;}
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) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
63 template<typename ContentT = Aws::String>
64 SheetTextBox& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
66
68
71 inline const TextBoxInteractionOptions& GetInteractions() const { return m_interactions; }
72 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
73 template<typename InteractionsT = TextBoxInteractionOptions>
74 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
75 template<typename InteractionsT = TextBoxInteractionOptions>
76 SheetTextBox& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
78 private:
79
80 Aws::String m_sheetTextBoxId;
81 bool m_sheetTextBoxIdHasBeenSet = false;
82
83 Aws::String m_content;
84 bool m_contentHasBeenSet = false;
85
86 TextBoxInteractionOptions m_interactions;
87 bool m_interactionsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // 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