/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The text highlights for a single query suggestion.See Also:
* AWS
* API Reference
The zero-based location in the response string where the highlight * starts.
*/ inline int GetBeginOffset() const{ return m_beginOffset; } /** *The zero-based location in the response string where the highlight * starts.
*/ inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; } /** *The zero-based location in the response string where the highlight * starts.
*/ inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; } /** *The zero-based location in the response string where the highlight * starts.
*/ inline SuggestionHighlight& WithBeginOffset(int value) { SetBeginOffset(value); return *this;} /** *The zero-based location in the response string where the highlight ends.
*/ inline int GetEndOffset() const{ return m_endOffset; } /** *The zero-based location in the response string where the highlight ends.
*/ inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; } /** *The zero-based location in the response string where the highlight ends.
*/ inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; } /** *The zero-based location in the response string where the highlight ends.
*/ inline SuggestionHighlight& WithEndOffset(int value) { SetEndOffset(value); return *this;} private: int m_beginOffset; bool m_beginOffsetHasBeenSet = false; int m_endOffset; bool m_endOffsetHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws