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

A DeadLetterConfig object that contains information about a * dead-letter queue configuration.

See Also:

AWS * API Reference

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

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline DeadLetterConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the SQS queue specified as the target for the dead-letter * queue.

*/ inline DeadLetterConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the SQS queue specified as the target 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 CloudWatchEvents } // namespace Aws