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

The event buses the endpoint is associated with.

See Also:

* AWS * API Reference

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

The ARN of the event bus the endpoint is associated with.

*/ inline const Aws::String& GetEventBusArn() const{ return m_eventBusArn; } /** *

The ARN of the event bus the endpoint is associated with.

*/ inline bool EventBusArnHasBeenSet() const { return m_eventBusArnHasBeenSet; } /** *

The ARN of the event bus the endpoint is associated with.

*/ inline void SetEventBusArn(const Aws::String& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = value; } /** *

The ARN of the event bus the endpoint is associated with.

*/ inline void SetEventBusArn(Aws::String&& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = std::move(value); } /** *

The ARN of the event bus the endpoint is associated with.

*/ inline void SetEventBusArn(const char* value) { m_eventBusArnHasBeenSet = true; m_eventBusArn.assign(value); } /** *

The ARN of the event bus the endpoint is associated with.

*/ inline EndpointEventBus& WithEventBusArn(const Aws::String& value) { SetEventBusArn(value); return *this;} /** *

The ARN of the event bus the endpoint is associated with.

*/ inline EndpointEventBus& WithEventBusArn(Aws::String&& value) { SetEventBusArn(std::move(value)); return *this;} /** *

The ARN of the event bus the endpoint is associated with.

*/ inline EndpointEventBus& WithEventBusArn(const char* value) { SetEventBusArn(value); return *this;} private: Aws::String m_eventBusArn; bool m_eventBusArnHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws