/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Amazon EventBridge bus data source configuration.See
* Also:
AWS
* API Reference
The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline const Aws::String& GetEventBusArn() const{ return m_eventBusArn; } /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline bool EventBusArnHasBeenSet() const { return m_eventBusArnHasBeenSet; } /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline void SetEventBusArn(const Aws::String& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = value; } /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline void SetEventBusArn(Aws::String&& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = std::move(value); } /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline void SetEventBusArn(const char* value) { m_eventBusArnHasBeenSet = true; m_eventBusArn.assign(value); } /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline EventBridgeDataSourceConfig& WithEventBusArn(const Aws::String& value) { SetEventBusArn(value); return *this;} /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline EventBridgeDataSourceConfig& WithEventBusArn(Aws::String&& value) { SetEventBusArn(std::move(value)); return *this;} /** *The ARN of the event bus. For more information about event buses, see Amazon * EventBridge event buses.
*/ inline EventBridgeDataSourceConfig& WithEventBusArn(const char* value) { SetEventBusArn(value); return *this;} private: Aws::String m_eventBusArn; bool m_eventBusArnHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws