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/ResourcePendingMaintenanceActions.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/ApplyPendingMaintenanceActionResponse">AWS
30    * API Reference</a></p>
31    */
32   class AWS_DATABASEMIGRATIONSERVICE_API ApplyPendingMaintenanceActionResult
33   {
34   public:
35     ApplyPendingMaintenanceActionResult();
36     ApplyPendingMaintenanceActionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
37     ApplyPendingMaintenanceActionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38 
39 
40     /**
41      * <p>The DMS resource that the pending maintenance action will be applied to.</p>
42      */
GetResourcePendingMaintenanceActions()43     inline const ResourcePendingMaintenanceActions& GetResourcePendingMaintenanceActions() const{ return m_resourcePendingMaintenanceActions; }
44 
45     /**
46      * <p>The DMS resource that the pending maintenance action will be applied to.</p>
47      */
SetResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions & value)48     inline void SetResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions& value) { m_resourcePendingMaintenanceActions = value; }
49 
50     /**
51      * <p>The DMS resource that the pending maintenance action will be applied to.</p>
52      */
SetResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions && value)53     inline void SetResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions&& value) { m_resourcePendingMaintenanceActions = std::move(value); }
54 
55     /**
56      * <p>The DMS resource that the pending maintenance action will be applied to.</p>
57      */
WithResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions & value)58     inline ApplyPendingMaintenanceActionResult& WithResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions& value) { SetResourcePendingMaintenanceActions(value); return *this;}
59 
60     /**
61      * <p>The DMS resource that the pending maintenance action will be applied to.</p>
62      */
WithResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions && value)63     inline ApplyPendingMaintenanceActionResult& WithResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions&& value) { SetResourcePendingMaintenanceActions(std::move(value)); return *this;}
64 
65   private:
66 
67     ResourcePendingMaintenanceActions m_resourcePendingMaintenanceActions;
68   };
69 
70 } // namespace Model
71 } // namespace DatabaseMigrationService
72 } // namespace Aws
73