/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 ApplyPendingMaintenanceActionResult { public: AWS_DATABASEMIGRATIONSERVICE_API ApplyPendingMaintenanceActionResult(); AWS_DATABASEMIGRATIONSERVICE_API ApplyPendingMaintenanceActionResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API ApplyPendingMaintenanceActionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The DMS resource that the pending maintenance action will be applied to.

*/ inline const ResourcePendingMaintenanceActions& GetResourcePendingMaintenanceActions() const{ return m_resourcePendingMaintenanceActions; } /** *

The DMS resource that the pending maintenance action will be applied to.

*/ inline void SetResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions& value) { m_resourcePendingMaintenanceActions = value; } /** *

The DMS resource that the pending maintenance action will be applied to.

*/ inline void SetResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions&& value) { m_resourcePendingMaintenanceActions = std::move(value); } /** *

The DMS resource that the pending maintenance action will be applied to.

*/ inline ApplyPendingMaintenanceActionResult& WithResourcePendingMaintenanceActions(const ResourcePendingMaintenanceActions& value) { SetResourcePendingMaintenanceActions(value); return *this;} /** *

The DMS resource that the pending maintenance action will be applied to.

*/ inline ApplyPendingMaintenanceActionResult& WithResourcePendingMaintenanceActions(ResourcePendingMaintenanceActions&& value) { SetResourcePendingMaintenanceActions(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ApplyPendingMaintenanceActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ApplyPendingMaintenanceActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ApplyPendingMaintenanceActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ResourcePendingMaintenanceActions m_resourcePendingMaintenanceActions; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws