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

The format of the package that you want to download from the function * packages.

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

The format of the package that you want to download from the function * packages.

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

The format of the package that you want to download from the function * packages.

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

The format of the package that you want to download from the function * packages.

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

The format of the package that you want to download from the function * packages.

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

The format of the package that you want to download from the function * packages.

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

ID of the function package.

*/ inline const Aws::String& GetVnfPkgId() const{ return m_vnfPkgId; } /** *

ID of the function package.

*/ inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; } /** *

ID of the function package.

*/ inline void SetVnfPkgId(const Aws::String& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = value; } /** *

ID of the function package.

*/ inline void SetVnfPkgId(Aws::String&& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = std::move(value); } /** *

ID of the function package.

*/ inline void SetVnfPkgId(const char* value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId.assign(value); } /** *

ID of the function package.

*/ inline GetSolFunctionPackageContentRequest& WithVnfPkgId(const Aws::String& value) { SetVnfPkgId(value); return *this;} /** *

ID of the function package.

*/ inline GetSolFunctionPackageContentRequest& WithVnfPkgId(Aws::String&& value) { SetVnfPkgId(std::move(value)); return *this;} /** *

ID of the function package.

*/ inline GetSolFunctionPackageContentRequest& WithVnfPkgId(const char* value) { SetVnfPkgId(value); return *this;} private: PackageContentType m_accept; bool m_acceptHasBeenSet = false; Aws::String m_vnfPkgId; bool m_vnfPkgIdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws