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

#pragma once
#include <aws/config/ConfigServiceRequest.h>
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>

#include <utility>

namespace Aws {
namespace ConfigService {
namespace Model {

/**
 */
class DeleteOrganizationConformancePackRequest : public ConfigServiceRequest {
 public:
  AWS_CONFIGSERVICE_API DeleteOrganizationConformancePackRequest() = 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 "DeleteOrganizationConformancePack"; }

  AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;

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

  ///@{
  /**
   * <p>The name of organization conformance pack that you want to delete.</p>
   */
  inline const Aws::String& GetOrganizationConformancePackName() const { return m_organizationConformancePackName; }
  inline bool OrganizationConformancePackNameHasBeenSet() const { return m_organizationConformancePackNameHasBeenSet; }
  template <typename OrganizationConformancePackNameT = Aws::String>
  void SetOrganizationConformancePackName(OrganizationConformancePackNameT&& value) {
    m_organizationConformancePackNameHasBeenSet = true;
    m_organizationConformancePackName = std::forward<OrganizationConformancePackNameT>(value);
  }
  template <typename OrganizationConformancePackNameT = Aws::String>
  DeleteOrganizationConformancePackRequest& WithOrganizationConformancePackName(OrganizationConformancePackNameT&& value) {
    SetOrganizationConformancePackName(std::forward<OrganizationConformancePackNameT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_organizationConformancePackName;
  bool m_organizationConformancePackNameHasBeenSet = false;
};

}  // namespace Model
}  // namespace ConfigService
}  // namespace Aws
