AWS SDK for C++  1.9.17
AWS SDK for C++
DeleteObjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaStoreData
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteObject"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetPath() const{ return m_path; }
40 
45  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
46 
51  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
52 
57  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
58 
63  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
64 
69  inline DeleteObjectRequest& WithPath(const Aws::String& value) { SetPath(value); return *this;}
70 
75  inline DeleteObjectRequest& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
76 
81  inline DeleteObjectRequest& WithPath(const char* value) { SetPath(value); return *this;}
82 
83  private:
84 
85  Aws::String m_path;
86  bool m_pathHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace MediaStoreData
91 } // namespace Aws
Aws::MediaStoreData::Model::DeleteObjectRequest::WithPath
DeleteObjectRequest & WithPath(const char *value)
Definition: DeleteObjectRequest.h:81
MediaStoreData_EXPORTS.h
Aws::MediaStoreData::Model::DeleteObjectRequest::SetPath
void SetPath(const Aws::String &value)
Definition: DeleteObjectRequest.h:51
Aws::MediaStoreData::Model::DeleteObjectRequest::PathHasBeenSet
bool PathHasBeenSet() const
Definition: DeleteObjectRequest.h:45
Aws::MediaStoreData::Model::DeleteObjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteObjectRequest.h:30
AWS_MEDIASTOREDATA_API
#define AWS_MEDIASTOREDATA_API
Definition: MediaStoreData_EXPORTS.h:28
Aws::MediaStoreData::MediaStoreDataRequest
Definition: MediaStoreDataRequest.h:18
MediaStoreDataRequest.h
AWSString.h
Aws::MediaStoreData::Model::DeleteObjectRequest::DeleteObjectRequest
DeleteObjectRequest()
Aws::MediaStoreData::Model::DeleteObjectRequest::SetPath
void SetPath(const char *value)
Definition: DeleteObjectRequest.h:63
Aws::MediaStoreData::Model::DeleteObjectRequest
Definition: DeleteObjectRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaStoreData::Model::DeleteObjectRequest::GetPath
const Aws::String & GetPath() const
Definition: DeleteObjectRequest.h:39
Aws::MediaStoreData::Model::DeleteObjectRequest::WithPath
DeleteObjectRequest & WithPath(const Aws::String &value)
Definition: DeleteObjectRequest.h:69
Aws::MediaStoreData::Model::DeleteObjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaStoreData::Model::DeleteObjectRequest::SetPath
void SetPath(Aws::String &&value)
Definition: DeleteObjectRequest.h:57
Aws::MediaStoreData::Model::DeleteObjectRequest::WithPath
DeleteObjectRequest & WithPath(Aws::String &&value)
Definition: DeleteObjectRequest.h:75