1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/dms/DatabaseMigrationService_EXPORTS.h> 8 #include <aws/dms/model/EventSubscription.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace DatabaseMigrationService 24 { 25 namespace Model 26 { 27 /** 28 * <p/><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_DATABASEMIGRATIONSERVICE_API DeleteEventSubscriptionResult 33 { 34 public: 35 DeleteEventSubscriptionResult(); 36 DeleteEventSubscriptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 37 DeleteEventSubscriptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 39 40 /** 41 * <p>The event subscription that was deleted.</p> 42 */ GetEventSubscription()43 inline const EventSubscription& GetEventSubscription() const{ return m_eventSubscription; } 44 45 /** 46 * <p>The event subscription that was deleted.</p> 47 */ SetEventSubscription(const EventSubscription & value)48 inline void SetEventSubscription(const EventSubscription& value) { m_eventSubscription = value; } 49 50 /** 51 * <p>The event subscription that was deleted.</p> 52 */ SetEventSubscription(EventSubscription && value)53 inline void SetEventSubscription(EventSubscription&& value) { m_eventSubscription = std::move(value); } 54 55 /** 56 * <p>The event subscription that was deleted.</p> 57 */ WithEventSubscription(const EventSubscription & value)58 inline DeleteEventSubscriptionResult& WithEventSubscription(const EventSubscription& value) { SetEventSubscription(value); return *this;} 59 60 /** 61 * <p>The event subscription that was deleted.</p> 62 */ WithEventSubscription(EventSubscription && value)63 inline DeleteEventSubscriptionResult& WithEventSubscription(EventSubscription&& value) { SetEventSubscription(std::move(value)); return *this;} 64 65 private: 66 67 EventSubscription m_eventSubscription; 68 }; 69 70 } // namespace Model 71 } // namespace DatabaseMigrationService 72 } // namespace Aws 73