/** * 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 SecurityHub { namespace Model { /** *

The dead-letter queue for failed asynchronous invocations.

See * Also:

AWS * API Reference

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

The ARN of an SQS queue or SNS topic.

*/ inline const Aws::String& GetTargetArn() const{ return m_targetArn; } /** *

The ARN of an SQS queue or SNS topic.

*/ inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } /** *

The ARN of an SQS queue or SNS topic.

*/ inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } /** *

The ARN of an SQS queue or SNS topic.

*/ inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } /** *

The ARN of an SQS queue or SNS topic.

*/ inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } /** *

The ARN of an SQS queue or SNS topic.

*/ inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} /** *

The ARN of an SQS queue or SNS topic.

*/ inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} /** *

The ARN of an SQS queue or SNS topic.

*/ inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} private: Aws::String m_targetArn; bool m_targetArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws