/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Label detection settings to use on a streaming video. Defining the settings
* is required in the request parameter for CreateStreamProcessor. Including
* this setting in the CreateStreamProcessor
request enables you to
* use the stream processor for label detection. You can then select what you want
* the stream processor to detect, such as people or pets. When the stream
* processor has started, one notification is sent for each object class specified.
* For example, if packages and pets are selected, one SNS notification is
* published the first time a package is detected and one SNS notification is
* published the first time a pet is detected, as well as an end-of-session
* summary. See Also:
AWS
* API Reference
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::VectorSpecifies 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::VectorSpecifies 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::VectorSpecifies 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 ConnectedHomeSettings& WithLabels(const Aws::VectorSpecifies 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 ConnectedHomeSettings& WithLabels(Aws::VectorSpecifies 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 ConnectedHomeSettings& 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 ConnectedHomeSettings& 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 ConnectedHomeSettings& 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 ConnectedHomeSettings& WithMinConfidence(double value) { SetMinConfidence(value); return *this;} private: Aws::Vector