/** * 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 { /** *

Properties of Source Network related to a job event.

See Also:

* AWS * API Reference

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

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

Source Network ID.

*/ inline SourceNetworkData& WithSourceNetworkID(const char* value) { SetSourceNetworkID(value); return *this;} /** *

VPC ID protected by the Source Network.

*/ inline const Aws::String& GetSourceVpc() const{ return m_sourceVpc; } /** *

VPC ID protected by the Source Network.

*/ inline bool SourceVpcHasBeenSet() const { return m_sourceVpcHasBeenSet; } /** *

VPC ID protected by the Source Network.

*/ inline void SetSourceVpc(const Aws::String& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = value; } /** *

VPC ID protected by the Source Network.

*/ inline void SetSourceVpc(Aws::String&& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = std::move(value); } /** *

VPC ID protected by the Source Network.

*/ inline void SetSourceVpc(const char* value) { m_sourceVpcHasBeenSet = true; m_sourceVpc.assign(value); } /** *

VPC ID protected by the Source Network.

*/ inline SourceNetworkData& WithSourceVpc(const Aws::String& value) { SetSourceVpc(value); return *this;} /** *

VPC ID protected by the Source Network.

*/ inline SourceNetworkData& WithSourceVpc(Aws::String&& value) { SetSourceVpc(std::move(value)); return *this;} /** *

VPC ID protected by the Source Network.

*/ inline SourceNetworkData& WithSourceVpc(const char* value) { SetSourceVpc(value); return *this;} /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline SourceNetworkData& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline SourceNetworkData& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

CloudFormation stack name that was deployed for recovering the Source * Network.

*/ inline SourceNetworkData& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

ID of the recovered VPC following Source Network recovery.

*/ inline const Aws::String& GetTargetVpc() const{ return m_targetVpc; } /** *

ID of the recovered VPC following Source Network recovery.

*/ inline bool TargetVpcHasBeenSet() const { return m_targetVpcHasBeenSet; } /** *

ID of the recovered VPC following Source Network recovery.

*/ inline void SetTargetVpc(const Aws::String& value) { m_targetVpcHasBeenSet = true; m_targetVpc = value; } /** *

ID of the recovered VPC following Source Network recovery.

*/ inline void SetTargetVpc(Aws::String&& value) { m_targetVpcHasBeenSet = true; m_targetVpc = std::move(value); } /** *

ID of the recovered VPC following Source Network recovery.

*/ inline void SetTargetVpc(const char* value) { m_targetVpcHasBeenSet = true; m_targetVpc.assign(value); } /** *

ID of the recovered VPC following Source Network recovery.

*/ inline SourceNetworkData& WithTargetVpc(const Aws::String& value) { SetTargetVpc(value); return *this;} /** *

ID of the recovered VPC following Source Network recovery.

*/ inline SourceNetworkData& WithTargetVpc(Aws::String&& value) { SetTargetVpc(std::move(value)); return *this;} /** *

ID of the recovered VPC following Source Network recovery.

*/ inline SourceNetworkData& WithTargetVpc(const char* value) { SetTargetVpc(value); return *this;} private: Aws::String m_sourceNetworkID; bool m_sourceNetworkIDHasBeenSet = false; Aws::String m_sourceVpc; bool m_sourceVpcHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_targetVpc; bool m_targetVpcHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws