/** * 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 ConnectContactLens { namespace Model { /** *

Potential issues that are detected based on an artificial intelligence * analysis of each turn in the conversation.

See Also:

AWS * API Reference

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

The offset for when the issue was detected in the segment.

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

The offset for when the issue was detected in the segment.

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

The offset for when the issue was detected in the segment.

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

The offset for when the issue was detected in the segment.

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

The offset for when the issue was detected in the segment.

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

The offset for when the issue was detected in the segment.

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