/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the location, using character count, in your transcript where a
* match is identified. For example, the location of an issue or a category match
* within a segment.See Also:
AWS
* API Reference
Provides the character count of the first character where a match is * identified. For example, the first character associated with an issue or a * category match in a segment transcript.
*/ inline int GetBegin() const{ return m_begin; } /** *Provides the character count of the first character where a match is * identified. For example, the first character associated with an issue or a * category match in a segment transcript.
*/ inline bool BeginHasBeenSet() const { return m_beginHasBeenSet; } /** *Provides the character count of the first character where a match is * identified. For example, the first character associated with an issue or a * category match in a segment transcript.
*/ inline void SetBegin(int value) { m_beginHasBeenSet = true; m_begin = value; } /** *Provides the character count of the first character where a match is * identified. For example, the first character associated with an issue or a * category match in a segment transcript.
*/ inline CharacterOffsets& WithBegin(int value) { SetBegin(value); return *this;} /** *Provides the character count of the last character where a match is * identified. For example, the last character associated with an issue or a * category match in a segment transcript.
*/ inline int GetEnd() const{ return m_end; } /** *Provides the character count of the last character where a match is * identified. For example, the last character associated with an issue or a * category match in a segment transcript.
*/ inline bool EndHasBeenSet() const { return m_endHasBeenSet; } /** *Provides the character count of the last character where a match is * identified. For example, the last character associated with an issue or a * category match in a segment transcript.
*/ inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; } /** *Provides the character count of the last character where a match is * identified. For example, the last character associated with an issue or a * category match in a segment transcript.
*/ inline CharacterOffsets& WithEnd(int value) { SetEnd(value); return *this;} private: int m_begin; bool m_beginHasBeenSet = false; int m_end; bool m_endHasBeenSet = false; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws