AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
QuickResponseContents.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/QuickResponseContentProvider.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QConnect {
20namespace Model {
21
29 public:
30 AWS_QCONNECT_API QuickResponseContents() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const QuickResponseContentProvider& GetPlainText() const { return m_plainText; }
38 inline bool PlainTextHasBeenSet() const { return m_plainTextHasBeenSet; }
39 template <typename PlainTextT = QuickResponseContentProvider>
40 void SetPlainText(PlainTextT&& value) {
41 m_plainTextHasBeenSet = true;
42 m_plainText = std::forward<PlainTextT>(value);
43 }
44 template <typename PlainTextT = QuickResponseContentProvider>
46 SetPlainText(std::forward<PlainTextT>(value));
47 return *this;
48 }
50
52
53 inline const QuickResponseContentProvider& GetMarkdown() const { return m_markdown; }
54 inline bool MarkdownHasBeenSet() const { return m_markdownHasBeenSet; }
55 template <typename MarkdownT = QuickResponseContentProvider>
56 void SetMarkdown(MarkdownT&& value) {
57 m_markdownHasBeenSet = true;
58 m_markdown = std::forward<MarkdownT>(value);
59 }
60 template <typename MarkdownT = QuickResponseContentProvider>
62 SetMarkdown(std::forward<MarkdownT>(value));
63 return *this;
64 }
66 private:
68
70 bool m_plainTextHasBeenSet = false;
71 bool m_markdownHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace QConnect
76} // namespace Aws
const QuickResponseContentProvider & GetPlainText() const
QuickResponseContents & WithMarkdown(MarkdownT &&value)
AWS_QCONNECT_API QuickResponseContents & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API QuickResponseContents()=default
const QuickResponseContentProvider & GetMarkdown() const
QuickResponseContents & WithPlainText(PlainTextT &&value)
AWS_QCONNECT_API QuickResponseContents(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue