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

See Also:

AWS * API Reference

*/ class AWS_DATABASEMIGRATIONSERVICE_API CreateEventSubscriptionResult { public: CreateEventSubscriptionResult(); CreateEventSubscriptionResult(const Aws::AmazonWebServiceResult& result); CreateEventSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The event subscription that was created.

*/ inline const EventSubscription& GetEventSubscription() const{ return m_eventSubscription; } /** *

The event subscription that was created.

*/ inline void SetEventSubscription(const EventSubscription& value) { m_eventSubscription = value; } /** *

The event subscription that was created.

*/ inline void SetEventSubscription(EventSubscription&& value) { m_eventSubscription = std::move(value); } /** *

The event subscription that was created.

*/ inline CreateEventSubscriptionResult& WithEventSubscription(const EventSubscription& value) { SetEventSubscription(value); return *this;} /** *

The event subscription that was created.

*/ inline CreateEventSubscriptionResult& WithEventSubscription(EventSubscription&& value) { SetEventSubscription(std::move(value)); return *this;} private: EventSubscription m_eventSubscription; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws