/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides text and information about where to highlight the
* text.See Also:
AWS
* API Reference
The text to display to the user.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *The text to display to the user.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *The text to display to the user.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *The text to display to the user.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *The text to display to the user.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *The text to display to the user.
*/ inline TextWithHighlights& WithText(const Aws::String& value) { SetText(value); return *this;} /** *The text to display to the user.
*/ inline TextWithHighlights& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *The text to display to the user.
*/ inline TextWithHighlights& WithText(const char* value) { SetText(value); return *this;} /** *The beginning and end of the text that should be highlighted.
*/ inline const Aws::VectorThe beginning and end of the text that should be highlighted.
*/ inline bool HighlightsHasBeenSet() const { return m_highlightsHasBeenSet; } /** *The beginning and end of the text that should be highlighted.
*/ inline void SetHighlights(const Aws::VectorThe beginning and end of the text that should be highlighted.
*/ inline void SetHighlights(Aws::VectorThe beginning and end of the text that should be highlighted.
*/ inline TextWithHighlights& WithHighlights(const Aws::VectorThe beginning and end of the text that should be highlighted.
*/ inline TextWithHighlights& WithHighlights(Aws::VectorThe beginning and end of the text that should be highlighted.
*/ inline TextWithHighlights& AddHighlights(const Highlight& value) { m_highlightsHasBeenSet = true; m_highlights.push_back(value); return *this; } /** *The beginning and end of the text that should be highlighted.
*/ inline TextWithHighlights& AddHighlights(Highlight&& value) { m_highlightsHasBeenSet = true; m_highlights.push_back(std::move(value)); return *this; } private: Aws::String m_text; bool m_textHasBeenSet = false; Aws::Vector