/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace drs { namespace Model { /** */ class UpdateFailbackReplicationConfigurationRequest : public DrsRequest { public: AWS_DRS_API UpdateFailbackReplicationConfigurationRequest(); // 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 "UpdateFailbackReplicationConfiguration"; } AWS_DRS_API Aws::String SerializePayload() const override; /** *

Configure bandwidth throttling for the outbound data transfer rate of the * Recovery Instance in Mbps.

*/ inline long long GetBandwidthThrottling() const{ return m_bandwidthThrottling; } /** *

Configure bandwidth throttling for the outbound data transfer rate of the * Recovery Instance in Mbps.

*/ inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; } /** *

Configure bandwidth throttling for the outbound data transfer rate of the * Recovery Instance in Mbps.

*/ inline void SetBandwidthThrottling(long long value) { m_bandwidthThrottlingHasBeenSet = true; m_bandwidthThrottling = value; } /** *

Configure bandwidth throttling for the outbound data transfer rate of the * Recovery Instance in Mbps.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithBandwidthThrottling(long long value) { SetBandwidthThrottling(value); return *this;} /** *

The name of the Failback Replication Configuration.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the Failback Replication Configuration.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the Failback Replication Configuration.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the Failback Replication Configuration.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the Failback Replication Configuration.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the Failback Replication Configuration.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the Failback Replication Configuration.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the Failback Replication Configuration.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The ID of the Recovery Instance.

*/ inline const Aws::String& GetRecoveryInstanceID() const{ return m_recoveryInstanceID; } /** *

The ID of the Recovery Instance.

*/ inline bool RecoveryInstanceIDHasBeenSet() const { return m_recoveryInstanceIDHasBeenSet; } /** *

The ID of the Recovery Instance.

*/ inline void SetRecoveryInstanceID(const Aws::String& value) { m_recoveryInstanceIDHasBeenSet = true; m_recoveryInstanceID = value; } /** *

The ID of the Recovery Instance.

*/ inline void SetRecoveryInstanceID(Aws::String&& value) { m_recoveryInstanceIDHasBeenSet = true; m_recoveryInstanceID = std::move(value); } /** *

The ID of the Recovery Instance.

*/ inline void SetRecoveryInstanceID(const char* value) { m_recoveryInstanceIDHasBeenSet = true; m_recoveryInstanceID.assign(value); } /** *

The ID of the Recovery Instance.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithRecoveryInstanceID(const Aws::String& value) { SetRecoveryInstanceID(value); return *this;} /** *

The ID of the Recovery Instance.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithRecoveryInstanceID(Aws::String&& value) { SetRecoveryInstanceID(std::move(value)); return *this;} /** *

The ID of the Recovery Instance.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithRecoveryInstanceID(const char* value) { SetRecoveryInstanceID(value); return *this;} /** *

Whether to use Private IP for the failback replication of the Recovery * Instance.

*/ inline bool GetUsePrivateIP() const{ return m_usePrivateIP; } /** *

Whether to use Private IP for the failback replication of the Recovery * Instance.

*/ inline bool UsePrivateIPHasBeenSet() const { return m_usePrivateIPHasBeenSet; } /** *

Whether to use Private IP for the failback replication of the Recovery * Instance.

*/ inline void SetUsePrivateIP(bool value) { m_usePrivateIPHasBeenSet = true; m_usePrivateIP = value; } /** *

Whether to use Private IP for the failback replication of the Recovery * Instance.

*/ inline UpdateFailbackReplicationConfigurationRequest& WithUsePrivateIP(bool value) { SetUsePrivateIP(value); return *this;} private: long long m_bandwidthThrottling; bool m_bandwidthThrottlingHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_recoveryInstanceID; bool m_recoveryInstanceIDHasBeenSet = false; bool m_usePrivateIP; bool m_usePrivateIPHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws