/** * 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 { /** *

An object that recognizes faces or labels in a streaming video. An Amazon * Rekognition stream processor is created by a call to * CreateStreamProcessor. The request parameters for * CreateStreamProcessor describe the Kinesis video stream source for * the streaming video, face recognition parameters, and where to stream the * analysis resullts.

See Also:

AWS * API Reference

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

Name of the Amazon Rekognition stream processor.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name of the Amazon Rekognition stream processor.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of the Amazon Rekognition stream processor.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of the Amazon Rekognition stream processor.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of the Amazon Rekognition stream processor.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name of the Amazon Rekognition stream processor.

*/ inline StreamProcessor& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Name of the Amazon Rekognition stream processor.

*/ inline StreamProcessor& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Name of the Amazon Rekognition stream processor.

*/ inline StreamProcessor& WithName(const char* value) { SetName(value); return *this;} /** *

Current status of the Amazon Rekognition stream processor.

*/ inline const StreamProcessorStatus& GetStatus() const{ return m_status; } /** *

Current status of the Amazon Rekognition stream processor.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Current status of the Amazon Rekognition stream processor.

*/ inline void SetStatus(const StreamProcessorStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Current status of the Amazon Rekognition stream processor.

*/ inline void SetStatus(StreamProcessorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Current status of the Amazon Rekognition stream processor.

*/ inline StreamProcessor& WithStatus(const StreamProcessorStatus& value) { SetStatus(value); return *this;} /** *

Current status of the Amazon Rekognition stream processor.

*/ inline StreamProcessor& WithStatus(StreamProcessorStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; StreamProcessorStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws