AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteObjectResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3
25{
26namespace Model
27{
29 {
30 public:
34
35
40 inline bool GetDeleteMarker() const{ return m_deleteMarker; }
41
46 inline void SetDeleteMarker(bool value) { m_deleteMarker = value; }
47
52 inline DeleteObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
53
54
59 inline const Aws::String& GetVersionId() const{ return m_versionId; }
60
65 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
66
71 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
72
77 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
78
83 inline DeleteObjectResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
84
89 inline DeleteObjectResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
90
95 inline DeleteObjectResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
96
97
98
99 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
100
101
102 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
103
104
105 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
106
107
108 inline DeleteObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
109
110
111 inline DeleteObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
112
113 private:
114
115 bool m_deleteMarker;
116
117 Aws::String m_versionId;
118
119 RequestCharged m_requestCharged;
120 };
121
122} // namespace Model
123} // namespace S3
124} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
const Aws::String & GetVersionId() const
DeleteObjectResult & WithDeleteMarker(bool value)
DeleteObjectResult & WithVersionId(Aws::String &&value)
AWS_S3_API DeleteObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestCharged(const RequestCharged &value)
void SetRequestCharged(RequestCharged &&value)
void SetVersionId(const char *value)
DeleteObjectResult & WithRequestCharged(RequestCharged &&value)
DeleteObjectResult & WithVersionId(const char *value)
AWS_S3_API DeleteObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteObjectResult & WithRequestCharged(const RequestCharged &value)
const RequestCharged & GetRequestCharged() const
void SetVersionId(Aws::String &&value)
DeleteObjectResult & WithVersionId(const Aws::String &value)
void SetVersionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String