/**
 * 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/mediastore-data/MediaStoreDataRequest.h>
#include <aws/mediastore-data/MediaStoreData_EXPORTS.h>

#include <utility>

namespace Aws {
namespace MediaStoreData {
namespace Model {

/**
 */
class DeleteObjectRequest : public MediaStoreDataRequest {
 public:
  AWS_MEDIASTOREDATA_API DeleteObjectRequest() = 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 "DeleteObject"; }

  AWS_MEDIASTOREDATA_API Aws::String SerializePayload() const override;

  ///@{
  /**
   * <p>The path (including the file name) where the object is stored in the
   * container. Format: &lt;folder name&gt;/&lt;folder name&gt;/&lt;file name&gt;</p>
   */
  inline const Aws::String& GetPath() const { return m_path; }
  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
  template <typename PathT = Aws::String>
  void SetPath(PathT&& value) {
    m_pathHasBeenSet = true;
    m_path = std::forward<PathT>(value);
  }
  template <typename PathT = Aws::String>
  DeleteObjectRequest& WithPath(PathT&& value) {
    SetPath(std::forward<PathT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_path;
  bool m_pathHasBeenSet = false;
};

}  // namespace Model
}  // namespace MediaStoreData
}  // namespace Aws
