/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { class DetectModerationLabelsResult { public: AWS_REKOGNITION_API DetectModerationLabelsResult(); AWS_REKOGNITION_API DetectModerationLabelsResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API DetectModerationLabelsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline const Aws::Vector& GetModerationLabels() const{ return m_moderationLabels; } /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline void SetModerationLabels(const Aws::Vector& value) { m_moderationLabels = value; } /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline void SetModerationLabels(Aws::Vector&& value) { m_moderationLabels = std::move(value); } /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline DetectModerationLabelsResult& WithModerationLabels(const Aws::Vector& value) { SetModerationLabels(value); return *this;} /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline DetectModerationLabelsResult& WithModerationLabels(Aws::Vector&& value) { SetModerationLabels(std::move(value)); return *this;} /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline DetectModerationLabelsResult& AddModerationLabels(const ModerationLabel& value) { m_moderationLabels.push_back(value); return *this; } /** *

Array of detected Moderation labels and the time, in milliseconds from the * start of the video, they were detected.

*/ inline DetectModerationLabelsResult& AddModerationLabels(ModerationLabel&& value) { m_moderationLabels.push_back(std::move(value)); return *this; } /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline const Aws::String& GetModerationModelVersion() const{ return m_moderationModelVersion; } /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline void SetModerationModelVersion(const Aws::String& value) { m_moderationModelVersion = value; } /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline void SetModerationModelVersion(Aws::String&& value) { m_moderationModelVersion = std::move(value); } /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline void SetModerationModelVersion(const char* value) { m_moderationModelVersion.assign(value); } /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline DetectModerationLabelsResult& WithModerationModelVersion(const Aws::String& value) { SetModerationModelVersion(value); return *this;} /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline DetectModerationLabelsResult& WithModerationModelVersion(Aws::String&& value) { SetModerationModelVersion(std::move(value)); return *this;} /** *

Version number of the moderation detection model that was used to detect * unsafe content.

*/ inline DetectModerationLabelsResult& WithModerationModelVersion(const char* value) { SetModerationModelVersion(value); return *this;} /** *

Shows the results of the human in the loop evaluation.

*/ inline const HumanLoopActivationOutput& GetHumanLoopActivationOutput() const{ return m_humanLoopActivationOutput; } /** *

Shows the results of the human in the loop evaluation.

*/ inline void SetHumanLoopActivationOutput(const HumanLoopActivationOutput& value) { m_humanLoopActivationOutput = value; } /** *

Shows the results of the human in the loop evaluation.

*/ inline void SetHumanLoopActivationOutput(HumanLoopActivationOutput&& value) { m_humanLoopActivationOutput = std::move(value); } /** *

Shows the results of the human in the loop evaluation.

*/ inline DetectModerationLabelsResult& WithHumanLoopActivationOutput(const HumanLoopActivationOutput& value) { SetHumanLoopActivationOutput(value); return *this;} /** *

Shows the results of the human in the loop evaluation.

*/ inline DetectModerationLabelsResult& WithHumanLoopActivationOutput(HumanLoopActivationOutput&& value) { SetHumanLoopActivationOutput(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DetectModerationLabelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DetectModerationLabelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DetectModerationLabelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_moderationLabels; Aws::String m_moderationModelVersion; HumanLoopActivationOutput m_humanLoopActivationOutput; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws