/**
 * 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/textract/TextractRequest.h>
#include <aws/textract/Textract_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Textract {
namespace Model {

/**
 */
class GetAdapterVersionRequest : public TextractRequest {
 public:
  AWS_TEXTRACT_API GetAdapterVersionRequest() = 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 "GetAdapterVersion"; }

  AWS_TEXTRACT_API Aws::String SerializePayload() const override;

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

  ///@{
  /**
   * <p>A string specifying a unique ID for the adapter version you want to retrieve
   * information for.</p>
   */
  inline const Aws::String& GetAdapterId() const { return m_adapterId; }
  inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
  template <typename AdapterIdT = Aws::String>
  void SetAdapterId(AdapterIdT&& value) {
    m_adapterIdHasBeenSet = true;
    m_adapterId = std::forward<AdapterIdT>(value);
  }
  template <typename AdapterIdT = Aws::String>
  GetAdapterVersionRequest& WithAdapterId(AdapterIdT&& value) {
    SetAdapterId(std::forward<AdapterIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>A string specifying the adapter version you want to retrieve information
   * for.</p>
   */
  inline const Aws::String& GetAdapterVersion() const { return m_adapterVersion; }
  inline bool AdapterVersionHasBeenSet() const { return m_adapterVersionHasBeenSet; }
  template <typename AdapterVersionT = Aws::String>
  void SetAdapterVersion(AdapterVersionT&& value) {
    m_adapterVersionHasBeenSet = true;
    m_adapterVersion = std::forward<AdapterVersionT>(value);
  }
  template <typename AdapterVersionT = Aws::String>
  GetAdapterVersionRequest& WithAdapterVersion(AdapterVersionT&& value) {
    SetAdapterVersion(std::forward<AdapterVersionT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_adapterId;

  Aws::String m_adapterVersion;
  bool m_adapterIdHasBeenSet = false;
  bool m_adapterVersionHasBeenSet = false;
};

}  // namespace Model
}  // namespace Textract
}  // namespace Aws
