AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPlainText(const Aws::String& value) { m_plainTextHasBeenSet = true; m_plainText = value; }
49 inline void SetPlainText(Aws::String&& value) { m_plainTextHasBeenSet = true; m_plainText = std::move(value); }
50 inline void SetPlainText(const char* value) { m_plainTextHasBeenSet = true; m_plainText.assign(value); }
51 inline ShortFormatText& WithPlainText(const Aws::String& value) { SetPlainText(value); return *this;}
52 inline ShortFormatText& WithPlainText(Aws::String&& value) { SetPlainText(std::move(value)); return *this;}
53 inline ShortFormatText& WithPlainText(const char* value) { SetPlainText(value); return *this;}
55
57
60 inline const Aws::String& GetRichText() const{ return m_richText; }
61 inline bool RichTextHasBeenSet() const { return m_richTextHasBeenSet; }
62 inline void SetRichText(const Aws::String& value) { m_richTextHasBeenSet = true; m_richText = value; }
63 inline void SetRichText(Aws::String&& value) { m_richTextHasBeenSet = true; m_richText = std::move(value); }
64 inline void SetRichText(const char* value) { m_richTextHasBeenSet = true; m_richText.assign(value); }
65 inline ShortFormatText& WithRichText(const Aws::String& value) { SetRichText(value); return *this;}
66 inline ShortFormatText& WithRichText(Aws::String&& value) { SetRichText(std::move(value)); return *this;}
67 inline ShortFormatText& WithRichText(const char* value) { SetRichText(value); return *this;}
69 private:
70
71 Aws::String m_plainText;
72 bool m_plainTextHasBeenSet = false;
73
74 Aws::String m_richText;
75 bool m_richTextHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API ShortFormatText(Aws::Utils::Json::JsonView jsonValue)
void SetPlainText(const Aws::String &value)
void SetRichText(const Aws::String &value)
const Aws::String & GetPlainText() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ShortFormatText & WithRichText(const char *value)
AWS_QUICKSIGHT_API ShortFormatText & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRichText() const
ShortFormatText & WithPlainText(const char *value)
ShortFormatText & WithRichText(const Aws::String &value)
void SetPlainText(Aws::String &&value)
void SetRichText(Aws::String &&value)
ShortFormatText & WithPlainText(Aws::String &&value)
ShortFormatText & WithPlainText(const Aws::String &value)
ShortFormatText & WithRichText(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue