/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A destination for events that failed processing.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the destination resource.
To retain * records of asynchronous * invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda * function, or Amazon EventBridge event bus as the destination.
To retain * records of failed invocations from Kinesis * and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon * SQS queue as the destination.
To retain records of failed invocations * from self-managed * Kafka or Amazon * MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 * bucket as the destination.
*/ inline const Aws::String& GetDestination() const{ return m_destination; } inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } inline OnFailure& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} inline OnFailure& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} inline OnFailure& WithDestination(const char* value) { SetDestination(value); return *this;} ///@} private: Aws::String m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws