7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/DeletedObject.h>
12#include <aws/s3-crt/model/Error.h>
13#include <aws/s3-crt/model/RequestCharged.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 template <
typename DeletedT = Aws::Vector<DeletedObject>>
42 m_deletedHasBeenSet =
true;
43 m_deleted = std::forward<DeletedT>(value);
45 template <
typename DeletedT = Aws::Vector<DeletedObject>>
50 template <
typename DeletedT = DeletedObject>
52 m_deletedHasBeenSet =
true;
53 m_deleted.emplace_back(std::forward<DeletedT>(value));
62 m_requestChargedHasBeenSet =
true;
63 m_requestCharged = value;
77 template <
typename ErrorsT = Aws::Vector<Error>>
79 m_errorsHasBeenSet =
true;
80 m_errors = std::forward<ErrorsT>(value);
82 template <
typename ErrorsT = Aws::Vector<Error>>
87 template <
typename ErrorsT = Error>
89 m_errorsHasBeenSet =
true;
90 m_errors.emplace_back(std::forward<ErrorsT>(value));
98 template <
typename RequestIdT = Aws::String>
100 m_requestIdHasBeenSet =
true;
101 m_requestId = std::forward<RequestIdT>(value);
103 template <
typename RequestIdT = Aws::String>
120 bool m_deletedHasBeenSet =
false;
121 bool m_requestChargedHasBeenSet =
false;
122 bool m_errorsHasBeenSet =
false;
123 bool m_requestIdHasBeenSet =
false;
AWS_S3CRT_API DeleteObjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CRT_API DeleteObjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteObjectsResult & AddDeleted(DeletedT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< DeletedObject > & GetDeleted() const
const Aws::String & GetRequestId() const
const Aws::Vector< Error > & GetErrors() const
AWS_S3CRT_API DeleteObjectsResult()=default
void SetErrors(ErrorsT &&value)
DeleteObjectsResult & WithErrors(ErrorsT &&value)
DeleteObjectsResult & WithDeleted(DeletedT &&value)
RequestCharged GetRequestCharged() const
void SetRequestCharged(RequestCharged value)
void SetDeleted(DeletedT &&value)
DeleteObjectsResult & WithRequestId(RequestIdT &&value)
DeleteObjectsResult & WithRequestCharged(RequestCharged value)
void SetRequestId(RequestIdT &&value)
DeleteObjectsResult & AddErrors(ErrorsT &&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