7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
10#include <aws/wisdom/model/Highlight.h>
21namespace ConnectWisdomService {
42 template <
typename HighlightsT = Aws::Vector<Highlight>>
44 m_highlightsHasBeenSet =
true;
45 m_highlights = std::forward<HighlightsT>(value);
47 template <
typename HighlightsT = Aws::Vector<Highlight>>
52 template <
typename HighlightsT = Highlight>
54 m_highlightsHasBeenSet =
true;
55 m_highlights.emplace_back(std::forward<HighlightsT>(value));
66 template <
typename TextT = Aws::String>
68 m_textHasBeenSet =
true;
69 m_text = std::forward<TextT>(value);
71 template <
typename TextT = Aws::String>
73 SetText(std::forward<TextT>(value));
81 bool m_highlightsHasBeenSet =
false;
82 bool m_textHasBeenSet =
false;
const Aws::Vector< Highlight > & GetHighlights() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool HighlightsHasBeenSet() const
void SetHighlights(HighlightsT &&value)
AWS_CONNECTWISDOMSERVICE_API DocumentText & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TextHasBeenSet() const
const Aws::String & GetText() const
AWS_CONNECTWISDOMSERVICE_API DocumentText(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API DocumentText()=default
DocumentText & AddHighlights(HighlightsT &&value)
DocumentText & WithText(TextT &&value)
DocumentText & WithHighlights(HighlightsT &&value)
void SetText(TextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue