108 lines
2.9 KiB
C
108 lines
2.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/rekognition/Rekognition_EXPORTS.h>
|
|||
|
|
#include <aws/rekognition/model/TechnicalCueType.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Rekognition
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a technical cue segment. For more information, see
|
|||
|
|
* <a>SegmentDetection</a>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/TechnicalCueSegment">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_REKOGNITION_API TechnicalCueSegment
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
TechnicalCueSegment();
|
|||
|
|
TechnicalCueSegment(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
TechnicalCueSegment& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline const TechnicalCueType& GetType() const{ return m_type; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetType(const TechnicalCueType& value) { m_typeHasBeenSet = true; m_type = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetType(TechnicalCueType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline TechnicalCueSegment& WithType(const TechnicalCueType& value) { SetType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The type of the technical cue.</p>
|
|||
|
|
*/
|
|||
|
|
inline TechnicalCueSegment& WithType(TechnicalCueType&& value) { SetType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The confidence that Amazon Rekognition Video has in the accuracy of the
|
|||
|
|
* detected segment.</p>
|
|||
|
|
*/
|
|||
|
|
inline double GetConfidence() const{ return m_confidence; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The confidence that Amazon Rekognition Video has in the accuracy of the
|
|||
|
|
* detected segment.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The confidence that Amazon Rekognition Video has in the accuracy of the
|
|||
|
|
* detected segment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The confidence that Amazon Rekognition Video has in the accuracy of the
|
|||
|
|
* detected segment.</p>
|
|||
|
|
*/
|
|||
|
|
inline TechnicalCueSegment& WithConfidence(double value) { SetConfidence(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
TechnicalCueType m_type;
|
|||
|
|
bool m_typeHasBeenSet;
|
|||
|
|
|
|||
|
|
double m_confidence;
|
|||
|
|
bool m_confidenceHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Rekognition
|
|||
|
|
} // namespace Aws
|