/**
 * 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/iotevents/IoTEventsRequest.h>
#include <aws/iotevents/IoTEvents_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Http {
class URI;
}  // namespace Http
namespace IoTEvents {
namespace Model {

/**
 */
class DescribeDetectorModelRequest : public IoTEventsRequest {
 public:
  AWS_IOTEVENTS_API DescribeDetectorModelRequest() = 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 "DescribeDetectorModel"; }

  AWS_IOTEVENTS_API Aws::String SerializePayload() const override;

  AWS_IOTEVENTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;

  ///@{
  /**
   * <p>The name of the detector model.</p>
   */
  inline const Aws::String& GetDetectorModelName() const { return m_detectorModelName; }
  inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
  template <typename DetectorModelNameT = Aws::String>
  void SetDetectorModelName(DetectorModelNameT&& value) {
    m_detectorModelNameHasBeenSet = true;
    m_detectorModelName = std::forward<DetectorModelNameT>(value);
  }
  template <typename DetectorModelNameT = Aws::String>
  DescribeDetectorModelRequest& WithDetectorModelName(DetectorModelNameT&& value) {
    SetDetectorModelName(std::forward<DetectorModelNameT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The version of the detector model.</p>
   */
  inline const Aws::String& GetDetectorModelVersion() const { return m_detectorModelVersion; }
  inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
  template <typename DetectorModelVersionT = Aws::String>
  void SetDetectorModelVersion(DetectorModelVersionT&& value) {
    m_detectorModelVersionHasBeenSet = true;
    m_detectorModelVersion = std::forward<DetectorModelVersionT>(value);
  }
  template <typename DetectorModelVersionT = Aws::String>
  DescribeDetectorModelRequest& WithDetectorModelVersion(DetectorModelVersionT&& value) {
    SetDetectorModelVersion(std::forward<DetectorModelVersionT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_detectorModelName;

  Aws::String m_detectorModelVersion;
  bool m_detectorModelNameHasBeenSet = false;
  bool m_detectorModelVersionHasBeenSet = false;
};

}  // namespace Model
}  // namespace IoTEvents
}  // namespace Aws
