/** * 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 DeleteEventSubscriptionResult { public: DeleteEventSubscriptionResult(); DeleteEventSubscriptionResult(const Aws::AmazonWebServiceResult& result); DeleteEventSubscriptionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The event subscription that was deleted.

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

The event subscription that was deleted.

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

The event subscription that was deleted.

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

The event subscription that was deleted.

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

The event subscription that was deleted.

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