/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the Source Server to recover.See Also:
* AWS
* API Reference
The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline const Aws::String& GetRecoverySnapshotID() const{ return m_recoverySnapshotID; } /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline bool RecoverySnapshotIDHasBeenSet() const { return m_recoverySnapshotIDHasBeenSet; } /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline void SetRecoverySnapshotID(const Aws::String& value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID = value; } /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline void SetRecoverySnapshotID(Aws::String&& value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID = std::move(value); } /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline void SetRecoverySnapshotID(const char* value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID.assign(value); } /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline StartRecoveryRequestSourceServer& WithRecoverySnapshotID(const Aws::String& value) { SetRecoverySnapshotID(value); return *this;} /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline StartRecoveryRequestSourceServer& WithRecoverySnapshotID(Aws::String&& value) { SetRecoverySnapshotID(std::move(value)); return *this;} /** *The ID of a Recovery Snapshot we want to recover from. Omit this field to * launch from the latest data by taking an on-demand snapshot.
*/ inline StartRecoveryRequestSourceServer& WithRecoverySnapshotID(const char* value) { SetRecoverySnapshotID(value); return *this;} /** *The ID of the Source Server you want to recover.
*/ inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; } /** *The ID of the Source Server you want to recover.
*/ inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; } /** *The ID of the Source Server you want to recover.
*/ inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; } /** *The ID of the Source Server you want to recover.
*/ inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); } /** *The ID of the Source Server you want to recover.
*/ inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); } /** *The ID of the Source Server you want to recover.
*/ inline StartRecoveryRequestSourceServer& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;} /** *The ID of the Source Server you want to recover.
*/ inline StartRecoveryRequestSourceServer& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;} /** *The ID of the Source Server you want to recover.
*/ inline StartRecoveryRequestSourceServer& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;} private: Aws::String m_recoverySnapshotID; bool m_recoverySnapshotIDHasBeenSet = false; Aws::String m_sourceServerID; bool m_sourceServerIDHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws