AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteObjectResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/RequestCharged.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 S3Crt
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CRT_API DeleteObjectResult();
34
35
37
44 inline bool GetDeleteMarker() const{ return m_deleteMarker; }
45 inline void SetDeleteMarker(bool value) { m_deleteMarker = value; }
46 inline DeleteObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
48
50
55 inline const Aws::String& GetVersionId() const{ return m_versionId; }
56 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
57 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
58 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
59 inline DeleteObjectResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
60 inline DeleteObjectResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
61 inline DeleteObjectResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
63
65
66 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
67 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
68 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
69 inline DeleteObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
70 inline DeleteObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DeleteObjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DeleteObjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DeleteObjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 bool m_deleteMarker;
86
87 Aws::String m_versionId;
88
89 RequestCharged m_requestCharged;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace S3Crt
96} // namespace Aws
const Aws::String & GetVersionId() const
DeleteObjectResult & WithRequestCharged(RequestCharged &&value)
DeleteObjectResult & WithRequestId(Aws::String &&value)
DeleteObjectResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
DeleteObjectResult & WithDeleteMarker(bool value)
AWS_S3CRT_API DeleteObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestId(const Aws::String &value)
DeleteObjectResult & WithVersionId(const char *value)
DeleteObjectResult & WithVersionId(const Aws::String &value)
void SetRequestCharged(RequestCharged &&value)
void SetVersionId(const Aws::String &value)
DeleteObjectResult & WithRequestId(const Aws::String &value)
DeleteObjectResult & WithVersionId(Aws::String &&value)
const RequestCharged & GetRequestCharged() const
DeleteObjectResult & WithRequestCharged(const RequestCharged &value)
void SetRequestCharged(const RequestCharged &value)
AWS_S3CRT_API DeleteObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument