/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Offset specification to describe highlighting of document excerpts for
* rendering search results and recommendations.See Also:
AWS
* API Reference
The offset for the start of the highlight.
*/ inline int GetBeginOffsetInclusive() const{ return m_beginOffsetInclusive; } /** *The offset for the start of the highlight.
*/ inline bool BeginOffsetInclusiveHasBeenSet() const { return m_beginOffsetInclusiveHasBeenSet; } /** *The offset for the start of the highlight.
*/ inline void SetBeginOffsetInclusive(int value) { m_beginOffsetInclusiveHasBeenSet = true; m_beginOffsetInclusive = value; } /** *The offset for the start of the highlight.
*/ inline Highlight& WithBeginOffsetInclusive(int value) { SetBeginOffsetInclusive(value); return *this;} /** *The offset for the end of the highlight.
*/ inline int GetEndOffsetExclusive() const{ return m_endOffsetExclusive; } /** *The offset for the end of the highlight.
*/ inline bool EndOffsetExclusiveHasBeenSet() const { return m_endOffsetExclusiveHasBeenSet; } /** *The offset for the end of the highlight.
*/ inline void SetEndOffsetExclusive(int value) { m_endOffsetExclusiveHasBeenSet = true; m_endOffsetExclusive = value; } /** *The offset for the end of the highlight.
*/ inline Highlight& WithEndOffsetExclusive(int value) { SetEndOffsetExclusive(value); return *this;} private: int m_beginOffsetInclusive; bool m_beginOffsetInclusiveHasBeenSet = false; int m_endOffsetExclusive; bool m_endOffsetExclusiveHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws