AWS SDK for C++  1.9.4
AWS SDK for C++
Public Member Functions | List of all members
Aws::kendra::Model::TextWithHighlights Class Reference

#include <TextWithHighlights.h>

Public Member Functions

 TextWithHighlights ()
 
 TextWithHighlights (Aws::Utils::Json::JsonView jsonValue)
 
TextWithHighlightsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetText () const
 
bool TextHasBeenSet () const
 
void SetText (const Aws::String &value)
 
void SetText (Aws::String &&value)
 
void SetText (const char *value)
 
TextWithHighlightsWithText (const Aws::String &value)
 
TextWithHighlightsWithText (Aws::String &&value)
 
TextWithHighlightsWithText (const char *value)
 
const Aws::Vector< Highlight > & GetHighlights () const
 
bool HighlightsHasBeenSet () const
 
void SetHighlights (const Aws::Vector< Highlight > &value)
 
void SetHighlights (Aws::Vector< Highlight > &&value)
 
TextWithHighlightsWithHighlights (const Aws::Vector< Highlight > &value)
 
TextWithHighlightsWithHighlights (Aws::Vector< Highlight > &&value)
 
TextWithHighlightsAddHighlights (const Highlight &value)
 
TextWithHighlightsAddHighlights (Highlight &&value)
 

Detailed Description

Provides text and information about where to highlight the text.

See Also:

AWS API Reference

Definition at line 34 of file TextWithHighlights.h.

Constructor & Destructor Documentation

◆ TextWithHighlights() [1/2]

Aws::kendra::Model::TextWithHighlights::TextWithHighlights ( )

◆ TextWithHighlights() [2/2]

Aws::kendra::Model::TextWithHighlights::TextWithHighlights ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddHighlights() [1/2]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::AddHighlights ( const Highlight value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 117 of file TextWithHighlights.h.

◆ AddHighlights() [2/2]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::AddHighlights ( Highlight &&  value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 122 of file TextWithHighlights.h.

◆ GetHighlights()

const Aws::Vector<Highlight>& Aws::kendra::Model::TextWithHighlights::GetHighlights ( ) const
inline

The beginning and end of the text that should be highlighted.

Definition at line 87 of file TextWithHighlights.h.

◆ GetText()

const Aws::String& Aws::kendra::Model::TextWithHighlights::GetText ( ) const
inline

The text to display to the user.

Definition at line 46 of file TextWithHighlights.h.

◆ HighlightsHasBeenSet()

bool Aws::kendra::Model::TextWithHighlights::HighlightsHasBeenSet ( ) const
inline

The beginning and end of the text that should be highlighted.

Definition at line 92 of file TextWithHighlights.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::kendra::Model::TextWithHighlights::Jsonize ( ) const

◆ operator=()

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetHighlights() [1/2]

void Aws::kendra::Model::TextWithHighlights::SetHighlights ( Aws::Vector< Highlight > &&  value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 102 of file TextWithHighlights.h.

◆ SetHighlights() [2/2]

void Aws::kendra::Model::TextWithHighlights::SetHighlights ( const Aws::Vector< Highlight > &  value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 97 of file TextWithHighlights.h.

◆ SetText() [1/3]

void Aws::kendra::Model::TextWithHighlights::SetText ( Aws::String &&  value)
inline

The text to display to the user.

Definition at line 61 of file TextWithHighlights.h.

◆ SetText() [2/3]

void Aws::kendra::Model::TextWithHighlights::SetText ( const Aws::String value)
inline

The text to display to the user.

Definition at line 56 of file TextWithHighlights.h.

◆ SetText() [3/3]

void Aws::kendra::Model::TextWithHighlights::SetText ( const char *  value)
inline

The text to display to the user.

Definition at line 66 of file TextWithHighlights.h.

◆ TextHasBeenSet()

bool Aws::kendra::Model::TextWithHighlights::TextHasBeenSet ( ) const
inline

The text to display to the user.

Definition at line 51 of file TextWithHighlights.h.

◆ WithHighlights() [1/2]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::WithHighlights ( Aws::Vector< Highlight > &&  value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 112 of file TextWithHighlights.h.

◆ WithHighlights() [2/2]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::WithHighlights ( const Aws::Vector< Highlight > &  value)
inline

The beginning and end of the text that should be highlighted.

Definition at line 107 of file TextWithHighlights.h.

◆ WithText() [1/3]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::WithText ( Aws::String &&  value)
inline

The text to display to the user.

Definition at line 76 of file TextWithHighlights.h.

◆ WithText() [2/3]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::WithText ( const Aws::String value)
inline

The text to display to the user.

Definition at line 71 of file TextWithHighlights.h.

◆ WithText() [3/3]

TextWithHighlights& Aws::kendra::Model::TextWithHighlights::WithText ( const char *  value)
inline

The text to display to the user.

Definition at line 81 of file TextWithHighlights.h.


The documentation for this class was generated from the following file: