AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QuickResponseContents.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/QuickResponseContentProvider.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 ConnectWisdomService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTWISDOMSERVICE_API QuickResponseContents() = default;
36 AWS_CONNECTWISDOMSERVICE_API QuickResponseContents(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTWISDOMSERVICE_API QuickResponseContents& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const QuickResponseContentProvider& GetMarkdown() const { return m_markdown; }
44 inline bool MarkdownHasBeenSet() const { return m_markdownHasBeenSet; }
45 template<typename MarkdownT = QuickResponseContentProvider>
46 void SetMarkdown(MarkdownT&& value) { m_markdownHasBeenSet = true; m_markdown = std::forward<MarkdownT>(value); }
47 template<typename MarkdownT = QuickResponseContentProvider>
48 QuickResponseContents& WithMarkdown(MarkdownT&& value) { SetMarkdown(std::forward<MarkdownT>(value)); return *this;}
50
52
53 inline const QuickResponseContentProvider& GetPlainText() const { return m_plainText; }
54 inline bool PlainTextHasBeenSet() const { return m_plainTextHasBeenSet; }
55 template<typename PlainTextT = QuickResponseContentProvider>
56 void SetPlainText(PlainTextT&& value) { m_plainTextHasBeenSet = true; m_plainText = std::forward<PlainTextT>(value); }
57 template<typename PlainTextT = QuickResponseContentProvider>
58 QuickResponseContents& WithPlainText(PlainTextT&& value) { SetPlainText(std::forward<PlainTextT>(value)); return *this;}
60 private:
61
63 bool m_markdownHasBeenSet = false;
64
66 bool m_plainTextHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace ConnectWisdomService
71} // namespace Aws
QuickResponseContents & WithPlainText(PlainTextT &&value)
const QuickResponseContentProvider & GetMarkdown() const
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseContents & WithMarkdown(MarkdownT &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents()=default
const QuickResponseContentProvider & GetPlainText() const
Aws::Utils::Json::JsonValue JsonValue