/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The dead-letter
* queue for failed asynchronous invocations.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline const Aws::String& GetTargetArn() const{ return m_targetArn; } /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline DeadLetterConfig& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline DeadLetterConfig& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS * topic.
*/ inline DeadLetterConfig& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} private: Aws::String m_targetArn; bool m_targetArnHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws