/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon
* Textract publishes the completion status of an asynchronous document operation,
* such as StartDocumentTextDetection. See Also:
AWS
* API Reference
The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; } /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline bool SNSTopicArnHasBeenSet() const { return m_sNSTopicArnHasBeenSet; } /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = value; } /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = std::move(value); } /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline void SetSNSTopicArn(const char* value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn.assign(value); } /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline NotificationChannel& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;} /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline NotificationChannel& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;} /** *The Amazon SNS topic that Amazon Textract posts the completion status to.
*/ inline NotificationChannel& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline NotificationChannel& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * publishing permissions to the Amazon SNS topic.
*/ inline NotificationChannel& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract * 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; Aws::String m_roleArn; bool m_roleArnHasBeenSet; }; } // namespace Model } // namespace Textract } // namespace Aws