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

Information about a technical cue segment. For more information, see * SegmentDetection.

See Also:

AWS * API Reference

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

The type of the technical cue.

*/ inline const TechnicalCueType& GetType() const{ return m_type; } /** *

The type of the technical cue.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the technical cue.

*/ inline void SetType(const TechnicalCueType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the technical cue.

*/ inline void SetType(TechnicalCueType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the technical cue.

*/ inline TechnicalCueSegment& WithType(const TechnicalCueType& value) { SetType(value); return *this;} /** *

The type of the technical cue.

*/ inline TechnicalCueSegment& WithType(TechnicalCueType&& value) { SetType(std::move(value)); return *this;} /** *

The confidence that Amazon Rekognition Video has in the accuracy of the * detected segment.

*/ inline double GetConfidence() const{ return m_confidence; } /** *

The confidence that Amazon Rekognition Video has in the accuracy of the * detected segment.

*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *

The confidence that Amazon Rekognition Video has in the accuracy of the * detected segment.

*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *

The confidence that Amazon Rekognition Video has in the accuracy of the * detected segment.

*/ inline TechnicalCueSegment& WithConfidence(double value) { SetConfidence(value); return *this;} private: TechnicalCueType m_type; bool m_typeHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws