/** * 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 GetSolNetworkPackageContentRequest : public TnbRequest { public: AWS_TNB_API GetSolNetworkPackageContentRequest(); // 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 "GetSolNetworkPackageContent"; } AWS_TNB_API Aws::String SerializePayload() const override; AWS_TNB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The format of the package you want to download from the network package.

*/ inline const PackageContentType& GetAccept() const{ return m_accept; } /** *

The format of the package you want to download from the network package.

*/ inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; } /** *

The format of the package you want to download from the network package.

*/ inline void SetAccept(const PackageContentType& value) { m_acceptHasBeenSet = true; m_accept = value; } /** *

The format of the package you want to download from the network package.

*/ inline void SetAccept(PackageContentType&& value) { m_acceptHasBeenSet = true; m_accept = std::move(value); } /** *

The format of the package you want to download from the network package.

*/ inline GetSolNetworkPackageContentRequest& WithAccept(const PackageContentType& value) { SetAccept(value); return *this;} /** *

The format of the package you want to download from the network package.

*/ inline GetSolNetworkPackageContentRequest& WithAccept(PackageContentType&& value) { SetAccept(std::move(value)); return *this;} /** *

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 GetSolNetworkPackageContentRequest& WithNsdInfoId(const Aws::String& value) { SetNsdInfoId(value); return *this;} /** *

ID of the network service descriptor in the network package.

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

ID of the network service descriptor in the network package.

*/ inline GetSolNetworkPackageContentRequest& WithNsdInfoId(const char* value) { SetNsdInfoId(value); return *this;} private: PackageContentType m_accept; bool m_acceptHasBeenSet = false; Aws::String m_nsdInfoId; bool m_nsdInfoIdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws