/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MediaStoreData { namespace Model { /** */ class DeleteObjectRequest : public MediaStoreDataRequest { public: AWS_MEDIASTOREDATA_API DeleteObjectRequest(); // 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; /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline DeleteObjectRequest& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline DeleteObjectRequest& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

The path (including the file name) where the object is stored in the * container. Format: <folder name>/<folder name>/<file name>

*/ inline DeleteObjectRequest& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace MediaStoreData } // namespace Aws