AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMarkdown(const QuickResponseContentProvider& value) { m_markdownHasBeenSet = true; m_markdown = value; }
46 inline void SetMarkdown(QuickResponseContentProvider&& value) { m_markdownHasBeenSet = true; m_markdown = std::move(value); }
47 inline QuickResponseContents& WithMarkdown(const QuickResponseContentProvider& value) { SetMarkdown(value); return *this;}
48 inline QuickResponseContents& WithMarkdown(QuickResponseContentProvider&& value) { SetMarkdown(std::move(value)); return *this;}
50
52
53 inline const QuickResponseContentProvider& GetPlainText() const{ return m_plainText; }
54 inline bool PlainTextHasBeenSet() const { return m_plainTextHasBeenSet; }
55 inline void SetPlainText(const QuickResponseContentProvider& value) { m_plainTextHasBeenSet = true; m_plainText = value; }
56 inline void SetPlainText(QuickResponseContentProvider&& value) { m_plainTextHasBeenSet = true; m_plainText = std::move(value); }
58 inline QuickResponseContents& WithPlainText(QuickResponseContentProvider&& value) { SetPlainText(std::move(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 & WithMarkdown(QuickResponseContentProvider &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents()
const QuickResponseContentProvider & GetMarkdown() const
QuickResponseContents & WithPlainText(QuickResponseContentProvider &&value)
void SetPlainText(const QuickResponseContentProvider &value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickResponseContents & WithPlainText(const QuickResponseContentProvider &value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseContents & WithMarkdown(const QuickResponseContentProvider &value)
void SetMarkdown(const QuickResponseContentProvider &value)
void SetPlainText(QuickResponseContentProvider &&value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseContents(Aws::Utils::Json::JsonView jsonValue)
void SetMarkdown(QuickResponseContentProvider &&value)
const QuickResponseContentProvider & GetPlainText() const
Aws::Utils::Json::JsonValue JsonValue