/** * 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 DeleteRecoveryInstanceRequest : public DrsRequest { public: AWS_DRS_API DeleteRecoveryInstanceRequest(); // 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 "DeleteRecoveryInstance"; } AWS_DRS_API Aws::String SerializePayload() const override; /** *

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

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

The ID of the Recovery Instance to be deleted.

*/ inline DeleteRecoveryInstanceRequest& WithRecoveryInstanceID(const char* value) { SetRecoveryInstanceID(value); return *this;} private: Aws::String m_recoveryInstanceID; bool m_recoveryInstanceIDHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws