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

Lists the issues that were identified in your audio segment.

See * Also:

AWS * API Reference

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

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline const CharacterOffsets& GetCharacterOffsets() const{ return m_characterOffsets; } /** *

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline bool CharacterOffsetsHasBeenSet() const { return m_characterOffsetsHasBeenSet; } /** *

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline void SetCharacterOffsets(const CharacterOffsets& value) { m_characterOffsetsHasBeenSet = true; m_characterOffsets = value; } /** *

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline void SetCharacterOffsets(CharacterOffsets&& value) { m_characterOffsetsHasBeenSet = true; m_characterOffsets = std::move(value); } /** *

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline IssueDetected& WithCharacterOffsets(const CharacterOffsets& value) { SetCharacterOffsets(value); return *this;} /** *

Provides the timestamps that identify when in an audio segment the specified * issue occurs.

*/ inline IssueDetected& WithCharacterOffsets(CharacterOffsets&& value) { SetCharacterOffsets(std::move(value)); return *this;} private: CharacterOffsets m_characterOffsets; bool m_characterOffsetsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeStreamingService } // namespace Aws