7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/Highlight.h>
23namespace ConnectWisdomService
48 template<
typename HighlightsT = Aws::Vector<Highlight>>
49 void SetHighlights(HighlightsT&& value) { m_highlightsHasBeenSet =
true; m_highlights = std::forward<HighlightsT>(value); }
50 template<
typename HighlightsT = Aws::Vector<Highlight>>
52 template<
typename HighlightsT = Highlight>
53 DocumentText&
AddHighlights(HighlightsT&& value) { m_highlightsHasBeenSet =
true; m_highlights.emplace_back(std::forward<HighlightsT>(value));
return *
this; }
62 template<
typename TextT = Aws::String>
63 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
64 template<
typename TextT = Aws::String>
70 bool m_highlightsHasBeenSet =
false;
73 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