7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Checksum.h>
11#include <aws/s3/model/GetObjectAttributesParts.h>
12#include <aws/s3/model/RequestCharged.h>
13#include <aws/s3/model/StorageClass.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
46 m_deleteMarkerHasBeenSet =
true;
47 m_deleteMarker = value;
60 template <
typename LastModifiedT = Aws::Utils::DateTime>
62 m_lastModifiedHasBeenSet =
true;
63 m_lastModified = std::forward<LastModifiedT>(value);
65 template <
typename LastModifiedT = Aws::Utils::DateTime>
78 template <
typename VersionIdT = Aws::String>
80 m_versionIdHasBeenSet =
true;
81 m_versionId = std::forward<VersionIdT>(value);
83 template <
typename VersionIdT = Aws::String>
94 m_requestChargedHasBeenSet =
true;
95 m_requestCharged = value;
109 template <
typename ETagT = Aws::String>
111 m_eTagHasBeenSet =
true;
112 m_eTag = std::forward<ETagT>(value);
114 template <
typename ETagT = Aws::String>
116 SetETag(std::forward<ETagT>(value));
126 template <
typename ChecksumT = Checksum>
128 m_checksumHasBeenSet =
true;
129 m_checksum = std::forward<ChecksumT>(value);
131 template <
typename ChecksumT = Checksum>
143 template <
typename ObjectPartsT = GetObjectAttributesParts>
145 m_objectPartsHasBeenSet =
true;
146 m_objectParts = std::forward<ObjectPartsT>(value);
148 template <
typename ObjectPartsT = GetObjectAttributesParts>
168 m_storageClassHasBeenSet =
true;
169 m_storageClass = value;
183 m_objectSizeHasBeenSet =
true;
184 m_objectSize = value;
195 template <
typename RequestIdT = Aws::String>
197 m_requestIdHasBeenSet =
true;
198 m_requestId = std::forward<RequestIdT>(value);
200 template <
typename RequestIdT = Aws::String>
207 bool m_deleteMarker{
false};
219 GetObjectAttributesParts m_objectParts;
223 long long m_objectSize{0};
226 bool m_deleteMarkerHasBeenSet =
false;
227 bool m_lastModifiedHasBeenSet =
false;
228 bool m_versionIdHasBeenSet =
false;
229 bool m_requestChargedHasBeenSet =
false;
230 bool m_eTagHasBeenSet =
false;
231 bool m_checksumHasBeenSet =
false;
232 bool m_objectPartsHasBeenSet =
false;
233 bool m_storageClassHasBeenSet =
false;
234 bool m_objectSizeHasBeenSet =
false;
235 bool m_requestIdHasBeenSet =
false;
void SetETag(ETagT &&value)
void SetRequestId(RequestIdT &&value)
AWS_S3_API GetObjectAttributesResult()=default
void SetChecksum(ChecksumT &&value)
GetObjectAttributesResult & WithObjectParts(ObjectPartsT &&value)
void SetDeleteMarker(bool value)
GetObjectAttributesResult & WithStorageClass(StorageClass value)
void SetVersionId(VersionIdT &&value)
StorageClass GetStorageClass() const
AWS_S3_API GetObjectAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetObjectAttributesResult & WithChecksum(ChecksumT &&value)
void SetObjectSize(long long value)
GetObjectAttributesResult & WithObjectSize(long long value)
long long GetObjectSize() const
GetObjectAttributesResult & WithRequestId(RequestIdT &&value)
AWS_S3_API GetObjectAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
bool GetDeleteMarker() const
const GetObjectAttributesParts & GetObjectParts() const
const Aws::Utils::DateTime & GetLastModified() const
GetObjectAttributesResult & WithVersionId(VersionIdT &&value)
void SetLastModified(LastModifiedT &&value)
void SetRequestCharged(RequestCharged value)
const Aws::String & GetVersionId() const
void SetStorageClass(StorageClass value)
const Checksum & GetChecksum() const
void SetObjectParts(ObjectPartsT &&value)
GetObjectAttributesResult & WithDeleteMarker(bool value)
GetObjectAttributesResult & WithLastModified(LastModifiedT &&value)
GetObjectAttributesResult & WithETag(ETagT &&value)
GetObjectAttributesResult & WithRequestCharged(RequestCharged value)
RequestCharged GetRequestCharged() const
const Aws::String & GetRequestId() const
const Aws::String & GetETag() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument