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
64 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
72 bool m_highlightsHasBeenSet =
false;
75 bool m_textHasBeenSet =
false;
DocumentText & AddHighlights(Highlight &&value)
AWS_CONNECTWISDOMSERVICE_API DocumentText()
void SetText(Aws::String &&value)
const Aws::Vector< Highlight > & GetHighlights() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentText & WithText(const Aws::String &value)
DocumentText & WithHighlights(Aws::Vector< Highlight > &&value)
bool HighlightsHasBeenSet() const
void SetText(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API DocumentText & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TextHasBeenSet() const
void SetText(const char *value)
const Aws::String & GetText() const
AWS_CONNECTWISDOMSERVICE_API DocumentText(Aws::Utils::Json::JsonView jsonValue)
void SetHighlights(const Aws::Vector< Highlight > &value)
DocumentText & WithText(Aws::String &&value)
void SetHighlights(Aws::Vector< Highlight > &&value)
DocumentText & WithHighlights(const Aws::Vector< Highlight > &value)
DocumentText & AddHighlights(const Highlight &value)
DocumentText & WithText(const char *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