/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an unsafe content label detection in a stored
* video.See Also:
AWS
* API Reference
Time, in milliseconds from the beginning of the video, that the unsafe * content label was detected.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *Time, in milliseconds from the beginning of the video, that the unsafe * content label was detected.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *Time, in milliseconds from the beginning of the video, that the unsafe * content label was detected.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *Time, in milliseconds from the beginning of the video, that the unsafe * content label was detected.
*/ inline ContentModerationDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *The unsafe content label detected by in the stored video.
*/ inline const ModerationLabel& GetModerationLabel() const{ return m_moderationLabel; } /** *The unsafe content label detected by in the stored video.
*/ inline bool ModerationLabelHasBeenSet() const { return m_moderationLabelHasBeenSet; } /** *The unsafe content label detected by in the stored video.
*/ inline void SetModerationLabel(const ModerationLabel& value) { m_moderationLabelHasBeenSet = true; m_moderationLabel = value; } /** *The unsafe content label detected by in the stored video.
*/ inline void SetModerationLabel(ModerationLabel&& value) { m_moderationLabelHasBeenSet = true; m_moderationLabel = std::move(value); } /** *The unsafe content label detected by in the stored video.
*/ inline ContentModerationDetection& WithModerationLabel(const ModerationLabel& value) { SetModerationLabel(value); return *this;} /** *The unsafe content label detected by in the stored video.
*/ inline ContentModerationDetection& WithModerationLabel(ModerationLabel&& value) { SetModerationLabel(std::move(value)); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet; ModerationLabel m_moderationLabel; bool m_moderationLabelHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws