/**
 * 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/simspaceweaver/SimSpaceWeaverRequest.h>
#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>

#include <utility>

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

/**
 */
class DeleteAppRequest : public SimSpaceWeaverRequest {
 public:
  AWS_SIMSPACEWEAVER_API DeleteAppRequest() = 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 "DeleteApp"; }

  AWS_SIMSPACEWEAVER_API Aws::String SerializePayload() const override;

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

  ///@{
  /**
   * <p>The name of the app.</p>
   */
  inline const Aws::String& GetApp() const { return m_app; }
  inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
  template <typename AppT = Aws::String>
  void SetApp(AppT&& value) {
    m_appHasBeenSet = true;
    m_app = std::forward<AppT>(value);
  }
  template <typename AppT = Aws::String>
  DeleteAppRequest& WithApp(AppT&& value) {
    SetApp(std::forward<AppT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The name of the domain of the app.</p>
   */
  inline const Aws::String& GetDomain() const { return m_domain; }
  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
  template <typename DomainT = Aws::String>
  void SetDomain(DomainT&& value) {
    m_domainHasBeenSet = true;
    m_domain = std::forward<DomainT>(value);
  }
  template <typename DomainT = Aws::String>
  DeleteAppRequest& WithDomain(DomainT&& value) {
    SetDomain(std::forward<DomainT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The name of the simulation of the app.</p>
   */
  inline const Aws::String& GetSimulation() const { return m_simulation; }
  inline bool SimulationHasBeenSet() const { return m_simulationHasBeenSet; }
  template <typename SimulationT = Aws::String>
  void SetSimulation(SimulationT&& value) {
    m_simulationHasBeenSet = true;
    m_simulation = std::forward<SimulationT>(value);
  }
  template <typename SimulationT = Aws::String>
  DeleteAppRequest& WithSimulation(SimulationT&& value) {
    SetSimulation(std::forward<SimulationT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_app;

  Aws::String m_domain;

  Aws::String m_simulation;
  bool m_appHasBeenSet = false;
  bool m_domainHasBeenSet = false;
  bool m_simulationHasBeenSet = false;
};

}  // namespace Model
}  // namespace SimSpaceWeaver
}  // namespace Aws
