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

The Amazon Simple Notification Service topic to which Amazon Rekognition * publishes the object detection results and completion status of a video analysis * operation.

Amazon Rekognition publishes a notification the first time an * object of interest or a person is detected in the video stream. For example, if * Amazon Rekognition detects a person at second 2, a pet at second 4, and a person * again at second 5, Amazon Rekognition sends 2 object class detected * notifications, one for a person at second 2 and one for a pet at second 4.

*

Amazon Rekognition also publishes an an end-of-session notification with a * summary when the stream processing session is complete.

See Also:

* AWS * API Reference

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

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; } /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline bool SNSTopicArnHasBeenSet() const { return m_sNSTopicArnHasBeenSet; } /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = value; } /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = std::move(value); } /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline void SetSNSTopicArn(const char* value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn.assign(value); } /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline StreamProcessorNotificationChannel& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;} /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline StreamProcessorNotificationChannel& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;} /** *

The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification * Service topic to which Amazon Rekognition posts the completion status.

*/ inline StreamProcessorNotificationChannel& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;} private: Aws::String m_sNSTopicArn; bool m_sNSTopicArnHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws