/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

The label detection settings you want to use in your stream processor. This * includes the labels you want the stream processor to detect and the minimum * confidence level allowed to label objects.

See Also:

AWS * API Reference

*/ class ConnectedHomeSettingsForUpdate { public: AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate(); AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline const Aws::Vector& GetLabels() const{ return m_labels; } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline void SetLabels(const Aws::Vector& value) { m_labelsHasBeenSet = true; m_labels = value; } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline void SetLabels(Aws::Vector&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline ConnectedHomeSettingsForUpdate& WithLabels(const Aws::Vector& value) { SetLabels(value); return *this;} /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline ConnectedHomeSettingsForUpdate& WithLabels(Aws::Vector&& value) { SetLabels(std::move(value)); return *this;} /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline ConnectedHomeSettingsForUpdate& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline ConnectedHomeSettingsForUpdate& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; } /** *

Specifies what you want to detect in the video, such as people, packages, or * pets. The current valid labels you can include in this list are: "PERSON", * "PET", "PACKAGE", and "ALL".

*/ inline ConnectedHomeSettingsForUpdate& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; } /** *

The minimum confidence required to label an object in the video.

*/ inline double GetMinConfidence() const{ return m_minConfidence; } /** *

The minimum confidence required to label an object in the video.

*/ inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; } /** *

The minimum confidence required to label an object in the video.

*/ inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; } /** *

The minimum confidence required to label an object in the video.

*/ inline ConnectedHomeSettingsForUpdate& WithMinConfidence(double value) { SetMinConfidence(value); return *this;} private: Aws::Vector m_labels; bool m_labelsHasBeenSet = false; double m_minConfidence; bool m_minConfidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws