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

ID of a resource participating in an asynchronous Job.

See * Also:

AWS * API Reference

*/ class ParticipatingResourceID { public: AWS_DRS_API ParticipatingResourceID(); AWS_DRS_API ParticipatingResourceID(Aws::Utils::Json::JsonView jsonValue); AWS_DRS_API ParticipatingResourceID& 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 ParticipatingResourceID& WithSourceNetworkID(const Aws::String& value) { SetSourceNetworkID(value); return *this;} /** *

Source Network ID.

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

Source Network ID.

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