/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace DatabaseMigrationService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class UpdateSubscriptionsToEventBridgeRequest : public DatabaseMigrationServiceRequest { public: AWS_DATABASEMIGRATIONSERVICE_API UpdateSubscriptionsToEventBridgeRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateSubscriptionsToEventBridge"; } AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override; AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

When set to true, this operation migrates DMS subscriptions for Amazon SNS * notifications no matter what your replication instance version is. If not set or * set to false, this operation runs only when all your replication instances are * from DMS version 3.4.6 or higher.

*/ inline bool GetForceMove() const{ return m_forceMove; } /** *

When set to true, this operation migrates DMS subscriptions for Amazon SNS * notifications no matter what your replication instance version is. If not set or * set to false, this operation runs only when all your replication instances are * from DMS version 3.4.6 or higher.

*/ inline bool ForceMoveHasBeenSet() const { return m_forceMoveHasBeenSet; } /** *

When set to true, this operation migrates DMS subscriptions for Amazon SNS * notifications no matter what your replication instance version is. If not set or * set to false, this operation runs only when all your replication instances are * from DMS version 3.4.6 or higher.

*/ inline void SetForceMove(bool value) { m_forceMoveHasBeenSet = true; m_forceMove = value; } /** *

When set to true, this operation migrates DMS subscriptions for Amazon SNS * notifications no matter what your replication instance version is. If not set or * set to false, this operation runs only when all your replication instances are * from DMS version 3.4.6 or higher.

*/ inline UpdateSubscriptionsToEventBridgeRequest& WithForceMove(bool value) { SetForceMove(value); return *this;} private: bool m_forceMove; bool m_forceMoveHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws