/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudWatchEvents { namespace Model { class AWS_CLOUDWATCHEVENTS_API CreateEventBusResult { public: CreateEventBusResult(); CreateEventBusResult(const Aws::AmazonWebServiceResult& result); CreateEventBusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the new event bus.

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

The ARN of the new event bus.

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

The ARN of the new event bus.

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

The ARN of the new event bus.

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

The ARN of the new event bus.

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

The ARN of the new event bus.

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

The ARN of the new event bus.

*/ inline CreateEventBusResult& WithEventBusArn(const char* value) { SetEventBusArn(value); return *this;} private: Aws::String m_eventBusArn; }; } // namespace Model } // namespace CloudWatchEvents } // namespace Aws