AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteObjectsResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/model/RequestCharged.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/model/DeletedObject.h>
12#include <aws/s3/model/Error.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace S3
28{
29namespace Model
30{
32 {
33 public:
34 AWS_S3_API DeleteObjectsResult();
37
38
40
44 inline const Aws::Vector<DeletedObject>& GetDeleted() const{ return m_deleted; }
45 inline void SetDeleted(const Aws::Vector<DeletedObject>& value) { m_deleted = value; }
46 inline void SetDeleted(Aws::Vector<DeletedObject>&& value) { m_deleted = std::move(value); }
47 inline DeleteObjectsResult& WithDeleted(const Aws::Vector<DeletedObject>& value) { SetDeleted(value); return *this;}
48 inline DeleteObjectsResult& WithDeleted(Aws::Vector<DeletedObject>&& value) { SetDeleted(std::move(value)); return *this;}
49 inline DeleteObjectsResult& AddDeleted(const DeletedObject& value) { m_deleted.push_back(value); return *this; }
50 inline DeleteObjectsResult& AddDeleted(DeletedObject&& value) { m_deleted.push_back(std::move(value)); return *this; }
52
54
55 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
56 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
57 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
58 inline DeleteObjectsResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
59 inline DeleteObjectsResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
61
63
67 inline const Aws::Vector<Error>& GetErrors() const{ return m_errors; }
68 inline void SetErrors(const Aws::Vector<Error>& value) { m_errors = value; }
69 inline void SetErrors(Aws::Vector<Error>&& value) { m_errors = std::move(value); }
70 inline DeleteObjectsResult& WithErrors(const Aws::Vector<Error>& value) { SetErrors(value); return *this;}
71 inline DeleteObjectsResult& WithErrors(Aws::Vector<Error>&& value) { SetErrors(std::move(value)); return *this;}
72 inline DeleteObjectsResult& AddErrors(const Error& value) { m_errors.push_back(value); return *this; }
73 inline DeleteObjectsResult& AddErrors(Error&& value) { m_errors.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DeleteObjectsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DeleteObjectsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DeleteObjectsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
89
90 RequestCharged m_requestCharged;
91
92 Aws::Vector<Error> m_errors;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace S3
99} // namespace Aws
const RequestCharged & GetRequestCharged() const
void SetRequestId(Aws::String &&value)
DeleteObjectsResult & WithRequestCharged(const RequestCharged &value)
DeleteObjectsResult & AddDeleted(const DeletedObject &value)
void SetErrors(const Aws::Vector< Error > &value)
AWS_S3_API DeleteObjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteObjectsResult & AddErrors(const Error &value)
DeleteObjectsResult & WithDeleted(Aws::Vector< DeletedObject > &&value)
DeleteObjectsResult & WithRequestId(Aws::String &&value)
DeleteObjectsResult & WithDeleted(const Aws::Vector< DeletedObject > &value)
void SetDeleted(const Aws::Vector< DeletedObject > &value)
void SetRequestCharged(const RequestCharged &value)
AWS_S3_API DeleteObjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteObjectsResult & WithRequestCharged(RequestCharged &&value)
void SetRequestCharged(RequestCharged &&value)
DeleteObjectsResult & WithErrors(Aws::Vector< Error > &&value)
DeleteObjectsResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
DeleteObjectsResult & WithRequestId(const char *value)
const Aws::Vector< DeletedObject > & GetDeleted() const
const Aws::Vector< Error > & GetErrors() const
DeleteObjectsResult & AddDeleted(DeletedObject &&value)
void SetErrors(Aws::Vector< Error > &&value)
void SetDeleted(Aws::Vector< DeletedObject > &&value)
DeleteObjectsResult & WithErrors(const Aws::Vector< Error > &value)
DeleteObjectsResult & AddErrors(Error &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument