/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a shot detection segment detected in a video. For more
* information, see SegmentDetection.See Also:
AWS
* API Reference
An Identifier for a shot detection segment detected in a video.
*/ inline long long GetIndex() const{ return m_index; } /** *An Identifier for a shot detection segment detected in a video.
*/ inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; } /** *An Identifier for a shot detection segment detected in a video.
*/ inline void SetIndex(long long value) { m_indexHasBeenSet = true; m_index = value; } /** *An Identifier for a shot detection segment detected in a video.
*/ inline ShotSegment& WithIndex(long long value) { SetIndex(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 ShotSegment& WithConfidence(double value) { SetConfidence(value); return *this;} private: long long m_index; bool m_indexHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws