/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConnectContactLens { namespace Model { /** *

For characters that were detected as issues, where they occur in the * transcript.

See Also:

AWS * API Reference

*/ class CharacterOffsets { public: AWS_CONNECTCONTACTLENS_API CharacterOffsets(); AWS_CONNECTCONTACTLENS_API CharacterOffsets(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCONTACTLENS_API CharacterOffsets& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The beginning of the issue.

*/ inline int GetBeginOffsetChar() const{ return m_beginOffsetChar; } /** *

The beginning of the issue.

*/ inline bool BeginOffsetCharHasBeenSet() const { return m_beginOffsetCharHasBeenSet; } /** *

The beginning of the issue.

*/ inline void SetBeginOffsetChar(int value) { m_beginOffsetCharHasBeenSet = true; m_beginOffsetChar = value; } /** *

The beginning of the issue.

*/ inline CharacterOffsets& WithBeginOffsetChar(int value) { SetBeginOffsetChar(value); return *this;} /** *

The end of the issue.

*/ inline int GetEndOffsetChar() const{ return m_endOffsetChar; } /** *

The end of the issue.

*/ inline bool EndOffsetCharHasBeenSet() const { return m_endOffsetCharHasBeenSet; } /** *

The end of the issue.

*/ inline void SetEndOffsetChar(int value) { m_endOffsetCharHasBeenSet = true; m_endOffsetChar = value; } /** *

The end of the issue.

*/ inline CharacterOffsets& WithEndOffsetChar(int value) { SetEndOffsetChar(value); return *this;} private: int m_beginOffsetChar; bool m_beginOffsetCharHasBeenSet = false; int m_endOffsetChar; bool m_endOffsetCharHasBeenSet = false; }; } // namespace Model } // namespace ConnectContactLens } // namespace Aws