AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/DocumentText.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 QConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QCONNECT_API TextData();
35 AWS_QCONNECT_API TextData(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QCONNECT_API TextData& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const DocumentText& GetExcerpt() const{ return m_excerpt; }
43 inline bool ExcerptHasBeenSet() const { return m_excerptHasBeenSet; }
44 inline void SetExcerpt(const DocumentText& value) { m_excerptHasBeenSet = true; m_excerpt = value; }
45 inline void SetExcerpt(DocumentText&& value) { m_excerptHasBeenSet = true; m_excerpt = std::move(value); }
46 inline TextData& WithExcerpt(const DocumentText& value) { SetExcerpt(value); return *this;}
47 inline TextData& WithExcerpt(DocumentText&& value) { SetExcerpt(std::move(value)); return *this;}
49
51
52 inline const DocumentText& GetTitle() const{ return m_title; }
53 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
54 inline void SetTitle(const DocumentText& value) { m_titleHasBeenSet = true; m_title = value; }
55 inline void SetTitle(DocumentText&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
56 inline TextData& WithTitle(const DocumentText& value) { SetTitle(value); return *this;}
57 inline TextData& WithTitle(DocumentText&& value) { SetTitle(std::move(value)); return *this;}
59 private:
60
61 DocumentText m_excerpt;
62 bool m_excerptHasBeenSet = false;
63
64 DocumentText m_title;
65 bool m_titleHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace QConnect
70} // namespace Aws
const DocumentText & GetTitle() const
Definition TextData.h:52
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TextData & WithTitle(const DocumentText &value)
Definition TextData.h:56
void SetExcerpt(const DocumentText &value)
Definition TextData.h:44
void SetExcerpt(DocumentText &&value)
Definition TextData.h:45
TextData & WithExcerpt(DocumentText &&value)
Definition TextData.h:47
TextData & WithTitle(DocumentText &&value)
Definition TextData.h:57
const DocumentText & GetExcerpt() const
Definition TextData.h:42
AWS_QCONNECT_API TextData(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const DocumentText &value)
Definition TextData.h:54
AWS_QCONNECT_API TextData & operator=(Aws::Utils::Json::JsonView jsonValue)
TextData & WithExcerpt(const DocumentText &value)
Definition TextData.h:46
AWS_QCONNECT_API TextData()
void SetTitle(DocumentText &&value)
Definition TextData.h:55
Aws::Utils::Json::JsonValue JsonValue