/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/tnb/TnbRequest.h>
#include <aws/tnb/Tnb_EXPORTS.h>
#include <aws/tnb/model/DescriptorContentType.h>

#include <utility>

namespace Aws {
namespace tnb {
namespace Model {

/**
 */
class GetSolFunctionPackageDescriptorRequest : public TnbRequest {
 public:
  AWS_TNB_API GetSolFunctionPackageDescriptorRequest() = default;

  // 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 "GetSolFunctionPackageDescriptor"; }

  AWS_TNB_API Aws::String SerializePayload() const override;

  AWS_TNB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;

  ///@{
  /**
   * <p>Indicates which content types, expressed as MIME types, the client is able to
   * understand.</p>
   */
  inline DescriptorContentType GetAccept() const { return m_accept; }
  inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
  inline void SetAccept(DescriptorContentType value) {
    m_acceptHasBeenSet = true;
    m_accept = value;
  }
  inline GetSolFunctionPackageDescriptorRequest& WithAccept(DescriptorContentType value) {
    SetAccept(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>ID of the function package.</p>
   */
  inline const Aws::String& GetVnfPkgId() const { return m_vnfPkgId; }
  inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; }
  template <typename VnfPkgIdT = Aws::String>
  void SetVnfPkgId(VnfPkgIdT&& value) {
    m_vnfPkgIdHasBeenSet = true;
    m_vnfPkgId = std::forward<VnfPkgIdT>(value);
  }
  template <typename VnfPkgIdT = Aws::String>
  GetSolFunctionPackageDescriptorRequest& WithVnfPkgId(VnfPkgIdT&& value) {
    SetVnfPkgId(std::forward<VnfPkgIdT>(value));
    return *this;
  }
  ///@}
 private:
  DescriptorContentType m_accept{DescriptorContentType::NOT_SET};

  Aws::String m_vnfPkgId;
  bool m_acceptHasBeenSet = false;
  bool m_vnfPkgIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace tnb
}  // namespace Aws
