/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Simple Notification Service topic to which Amazon Rekognition
* publishes the completion status of a video analysis operation. For more
* information, see Calling
* Amazon Rekognition Video operations. Note that the Amazon SNS topic must
* have a topic name that begins with AmazonRekognition if you are using the
* AmazonRekognitionServiceRole permissions policy to access the topic. For more
* information, see Giving
* access to multiple Amazon SNS topics.See Also:
AWS
* API Reference
The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; } /** *The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline bool SNSTopicArnHasBeenSet() const { return m_sNSTopicArnHasBeenSet; } /** *The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = value; } /** *The Amazon SNS 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 SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline void SetSNSTopicArn(const char* value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn.assign(value); } /** *The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline NotificationChannel& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;} /** *The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline NotificationChannel& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;} /** *The Amazon SNS topic to which Amazon Rekognition posts the completion * status.
*/ inline NotificationChannel& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;} /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline NotificationChannel& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline NotificationChannel& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of an IAM role that gives Amazon Rekognition publishing permissions * to the Amazon SNS topic.
*/ inline NotificationChannel& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_sNSTopicArn; bool m_sNSTopicArnHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws