/** * 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 tnb { namespace Model { /** */ class GetSolNetworkInstanceRequest : public TnbRequest { public: AWS_TNB_API GetSolNetworkInstanceRequest(); // 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 "GetSolNetworkInstance"; } AWS_TNB_API Aws::String SerializePayload() const override; /** *

ID of the network instance.

*/ inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; } /** *

ID of the network instance.

*/ inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); } /** *

ID of the network instance.

*/ inline GetSolNetworkInstanceRequest& WithNsInstanceId(const Aws::String& value) { SetNsInstanceId(value); return *this;} /** *

ID of the network instance.

*/ inline GetSolNetworkInstanceRequest& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;} /** *

ID of the network instance.

*/ inline GetSolNetworkInstanceRequest& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;} private: Aws::String m_nsInstanceId; bool m_nsInstanceIdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws