7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/model/Highlight.h>
48 template<
typename TextT = Aws::String>
49 void SetText(
TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
50 template<
typename TextT = Aws::String>
60 template<
typename HighlightsT = Aws::Vector<Highlight>>
62 template<
typename HighlightsT = Aws::Vector<Highlight>>
64 template<
typename HighlightsT = Highlight>
70 bool m_textHasBeenSet =
false;
73 bool m_highlightsHasBeenSet =
false;
bool TextHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetText() const
AWS_QCONNECT_API DocumentText()=default
AWS_QCONNECT_API DocumentText(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API DocumentText & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHighlights(HighlightsT &&value)
void SetText(TextT &&value)
DocumentText & WithText(TextT &&value)
DocumentText & AddHighlights(HighlightsT &&value)
const Aws::Vector< Highlight > & GetHighlights() const
bool HighlightsHasBeenSet() const
DocumentText & WithHighlights(HighlightsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue