/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace drs { namespace Model { /** *

An object representing the Source Network to recover.

See * Also:

AWS * API Reference

*/ class StartSourceNetworkRecoveryRequestNetworkEntry { public: AWS_DRS_API StartSourceNetworkRecoveryRequestNetworkEntry(); AWS_DRS_API StartSourceNetworkRecoveryRequestNetworkEntry(Aws::Utils::Json::JsonView jsonValue); AWS_DRS_API StartSourceNetworkRecoveryRequestNetworkEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

CloudFormation stack name to be used for recovering the network.

*/ inline const Aws::String& GetCfnStackName() const{ return m_cfnStackName; } /** *

CloudFormation stack name to be used for recovering the network.

*/ inline bool CfnStackNameHasBeenSet() const { return m_cfnStackNameHasBeenSet; } /** *

CloudFormation stack name to be used for recovering the network.

*/ inline void SetCfnStackName(const Aws::String& value) { m_cfnStackNameHasBeenSet = true; m_cfnStackName = value; } /** *

CloudFormation stack name to be used for recovering the network.

*/ inline void SetCfnStackName(Aws::String&& value) { m_cfnStackNameHasBeenSet = true; m_cfnStackName = std::move(value); } /** *

CloudFormation stack name to be used for recovering the network.

*/ inline void SetCfnStackName(const char* value) { m_cfnStackNameHasBeenSet = true; m_cfnStackName.assign(value); } /** *

CloudFormation stack name to be used for recovering the network.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithCfnStackName(const Aws::String& value) { SetCfnStackName(value); return *this;} /** *

CloudFormation stack name to be used for recovering the network.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithCfnStackName(Aws::String&& value) { SetCfnStackName(std::move(value)); return *this;} /** *

CloudFormation stack name to be used for recovering the network.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithCfnStackName(const char* value) { SetCfnStackName(value); return *this;} /** *

The ID of the Source Network you want to recover.

*/ inline const Aws::String& GetSourceNetworkID() const{ return m_sourceNetworkID; } /** *

The ID of the Source Network you want to recover.

*/ inline bool SourceNetworkIDHasBeenSet() const { return m_sourceNetworkIDHasBeenSet; } /** *

The ID of the Source Network you want to recover.

*/ inline void SetSourceNetworkID(const Aws::String& value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID = value; } /** *

The ID of the Source Network you want to recover.

*/ inline void SetSourceNetworkID(Aws::String&& value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID = std::move(value); } /** *

The ID of the Source Network you want to recover.

*/ inline void SetSourceNetworkID(const char* value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID.assign(value); } /** *

The ID of the Source Network you want to recover.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithSourceNetworkID(const Aws::String& value) { SetSourceNetworkID(value); return *this;} /** *

The ID of the Source Network you want to recover.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithSourceNetworkID(Aws::String&& value) { SetSourceNetworkID(std::move(value)); return *this;} /** *

The ID of the Source Network you want to recover.

*/ inline StartSourceNetworkRecoveryRequestNetworkEntry& WithSourceNetworkID(const char* value) { SetSourceNetworkID(value); return *this;} private: Aws::String m_cfnStackName; bool m_cfnStackNameHasBeenSet = false; Aws::String m_sourceNetworkID; bool m_sourceNetworkIDHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws