AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ShortFormatText.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_QUICKSIGHT_API ShortFormatText() = default;
37 AWS_QUICKSIGHT_API ShortFormatText(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPlainText() const { return m_plainText; }
47 inline bool PlainTextHasBeenSet() const { return m_plainTextHasBeenSet; }
48 template<typename PlainTextT = Aws::String>
49 void SetPlainText(PlainTextT&& value) { m_plainTextHasBeenSet = true; m_plainText = std::forward<PlainTextT>(value); }
50 template<typename PlainTextT = Aws::String>
51 ShortFormatText& WithPlainText(PlainTextT&& value) { SetPlainText(std::forward<PlainTextT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRichText() const { return m_richText; }
59 inline bool RichTextHasBeenSet() const { return m_richTextHasBeenSet; }
60 template<typename RichTextT = Aws::String>
61 void SetRichText(RichTextT&& value) { m_richTextHasBeenSet = true; m_richText = std::forward<RichTextT>(value); }
62 template<typename RichTextT = Aws::String>
63 ShortFormatText& WithRichText(RichTextT&& value) { SetRichText(std::forward<RichTextT>(value)); return *this;}
65 private:
66
67 Aws::String m_plainText;
68 bool m_plainTextHasBeenSet = false;
69
70 Aws::String m_richText;
71 bool m_richTextHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
AWS_QUICKSIGHT_API ShortFormatText(Aws::Utils::Json::JsonView jsonValue)
ShortFormatText & WithPlainText(PlainTextT &&value)
ShortFormatText & WithRichText(RichTextT &&value)
AWS_QUICKSIGHT_API ShortFormatText()=default
const Aws::String & GetPlainText() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ShortFormatText & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRichText() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue