/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a label detected in a video analysis request and the time
* the label was detected in the video. See Also:
AWS
* API Reference
Time, in milliseconds from the start of the video, that the label was * detected.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *Time, in milliseconds from the start of the video, that the label was * detected.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *Time, in milliseconds from the start of the video, that the label was * detected.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *Time, in milliseconds from the start of the video, that the label was * detected.
*/ inline LabelDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *Details about the detected label.
*/ inline const Label& GetLabel() const{ return m_label; } /** *Details about the detected label.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *Details about the detected label.
*/ inline void SetLabel(const Label& value) { m_labelHasBeenSet = true; m_label = value; } /** *Details about the detected label.
*/ inline void SetLabel(Label&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *Details about the detected label.
*/ inline LabelDetection& WithLabel(const Label& value) { SetLabel(value); return *this;} /** *Details about the detected label.
*/ inline LabelDetection& WithLabel(Label&& value) { SetLabel(std::move(value)); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet; Label m_label; bool m_labelHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws