/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A ReplayDestination
object that contains details about a
* replay.See Also:
AWS
* API Reference
The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline ReplayDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline ReplayDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the event bus to replay event to. You can replay events only to * the event bus specified to create the archive.
*/ inline ReplayDestination& WithArn(const char* value) { SetArn(value); return *this;} /** *A list of ARNs for rules to replay events to.
*/ inline const Aws::VectorA list of ARNs for rules to replay events to.
*/ inline bool FilterArnsHasBeenSet() const { return m_filterArnsHasBeenSet; } /** *A list of ARNs for rules to replay events to.
*/ inline void SetFilterArns(const Aws::VectorA list of ARNs for rules to replay events to.
*/ inline void SetFilterArns(Aws::VectorA list of ARNs for rules to replay events to.
*/ inline ReplayDestination& WithFilterArns(const Aws::VectorA list of ARNs for rules to replay events to.
*/ inline ReplayDestination& WithFilterArns(Aws::VectorA list of ARNs for rules to replay events to.
*/ inline ReplayDestination& AddFilterArns(const Aws::String& value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(value); return *this; } /** *A list of ARNs for rules to replay events to.
*/ inline ReplayDestination& AddFilterArns(Aws::String&& value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(std::move(value)); return *this; } /** *A list of ARNs for rules to replay events to.
*/ inline ReplayDestination& AddFilterArns(const char* value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector