/**
 * 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/PackageContentType.h>

#include <utility>

namespace Aws {
namespace tnb {
namespace Model {

/**
 */
class GetSolNetworkPackageContentRequest : public TnbRequest {
 public:
  AWS_TNB_API GetSolNetworkPackageContentRequest() = 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 "GetSolNetworkPackageContent"; }

  AWS_TNB_API Aws::String SerializePayload() const override;

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

  ///@{
  /**
   * <p>The format of the package you want to download from the network package.</p>
   */
  inline PackageContentType GetAccept() const { return m_accept; }
  inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
  inline void SetAccept(PackageContentType value) {
    m_acceptHasBeenSet = true;
    m_accept = value;
  }
  inline GetSolNetworkPackageContentRequest& WithAccept(PackageContentType value) {
    SetAccept(value);
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>ID of the network service descriptor in the network package.</p>
   */
  inline const Aws::String& GetNsdInfoId() const { return m_nsdInfoId; }
  inline bool NsdInfoIdHasBeenSet() const { return m_nsdInfoIdHasBeenSet; }
  template <typename NsdInfoIdT = Aws::String>
  void SetNsdInfoId(NsdInfoIdT&& value) {
    m_nsdInfoIdHasBeenSet = true;
    m_nsdInfoId = std::forward<NsdInfoIdT>(value);
  }
  template <typename NsdInfoIdT = Aws::String>
  GetSolNetworkPackageContentRequest& WithNsdInfoId(NsdInfoIdT&& value) {
    SetNsdInfoId(std::forward<NsdInfoIdT>(value));
    return *this;
  }
  ///@}
 private:
  PackageContentType m_accept{PackageContentType::NOT_SET};

  Aws::String m_nsdInfoId;
  bool m_acceptHasBeenSet = false;
  bool m_nsdInfoIdHasBeenSet = false;
};

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