/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about an Amazon SQS queue that
* EventBridge Scheduler uses as a dead-letter queue for your schedule. If
* specified, EventBridge Scheduler delivers failed events that could not be
* successfully delivered to a target to the queue.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline DeadLetterConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline DeadLetterConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SQS queue specified as the destination * for the dead-letter queue.
*/ inline DeadLetterConfig& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace Scheduler } // namespace Aws