/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace tnb { namespace Model { /** */ class UpdateSolNetworkPackageRequest : public TnbRequest { public: AWS_TNB_API UpdateSolNetworkPackageRequest(); // 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 "UpdateSolNetworkPackage"; } AWS_TNB_API Aws::String SerializePayload() const override; /** *

ID of the network service descriptor in the network package.

*/ inline const Aws::String& GetNsdInfoId() const{ return m_nsdInfoId; } /** *

ID of the network service descriptor in the network package.

*/ inline bool NsdInfoIdHasBeenSet() const { return m_nsdInfoIdHasBeenSet; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(const Aws::String& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = value; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(Aws::String&& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = std::move(value); } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(const char* value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId.assign(value); } /** *

ID of the network service descriptor in the network package.

*/ inline UpdateSolNetworkPackageRequest& WithNsdInfoId(const Aws::String& value) { SetNsdInfoId(value); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline UpdateSolNetworkPackageRequest& WithNsdInfoId(Aws::String&& value) { SetNsdInfoId(std::move(value)); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline UpdateSolNetworkPackageRequest& WithNsdInfoId(const char* value) { SetNsdInfoId(value); return *this;} /** *

Operational state of the network service descriptor in the network * package.

*/ inline const NsdOperationalState& GetNsdOperationalState() const{ return m_nsdOperationalState; } /** *

Operational state of the network service descriptor in the network * package.

*/ inline bool NsdOperationalStateHasBeenSet() const { return m_nsdOperationalStateHasBeenSet; } /** *

Operational state of the network service descriptor in the network * package.

*/ inline void SetNsdOperationalState(const NsdOperationalState& value) { m_nsdOperationalStateHasBeenSet = true; m_nsdOperationalState = value; } /** *

Operational state of the network service descriptor in the network * package.

*/ inline void SetNsdOperationalState(NsdOperationalState&& value) { m_nsdOperationalStateHasBeenSet = true; m_nsdOperationalState = std::move(value); } /** *

Operational state of the network service descriptor in the network * package.

*/ inline UpdateSolNetworkPackageRequest& WithNsdOperationalState(const NsdOperationalState& value) { SetNsdOperationalState(value); return *this;} /** *

Operational state of the network service descriptor in the network * package.

*/ inline UpdateSolNetworkPackageRequest& WithNsdOperationalState(NsdOperationalState&& value) { SetNsdOperationalState(std::move(value)); return *this;} private: Aws::String m_nsdInfoId; bool m_nsdInfoIdHasBeenSet = false; NsdOperationalState m_nsdOperationalState; bool m_nsdOperationalStateHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws