7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
72 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
82 inline long long GetSize()
const{
return m_size; }
84 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
101 inline void SetChecksumCRC32(
const char* value) { m_checksumCRC32HasBeenSet =
true; m_checksumCRC32.assign(value); }
122 inline void SetChecksumCRC32C(
const char* value) { m_checksumCRC32CHasBeenSet =
true; m_checksumCRC32C.assign(value); }
143 inline void SetChecksumSHA1(
const char* value) { m_checksumSHA1HasBeenSet =
true; m_checksumSHA1.assign(value); }
162 inline void SetChecksumSHA256(
const char* value) { m_checksumSHA256HasBeenSet =
true; m_checksumSHA256.assign(value); }
170 bool m_partNumberHasBeenSet =
false;
173 bool m_lastModifiedHasBeenSet =
false;
176 bool m_eTagHasBeenSet =
false;
179 bool m_sizeHasBeenSet =
false;
182 bool m_checksumCRC32HasBeenSet =
false;
185 bool m_checksumCRC32CHasBeenSet =
false;
188 bool m_checksumSHA1HasBeenSet =
false;
191 bool m_checksumSHA256HasBeenSet =
false;
void SetLastModified(Aws::Utils::DateTime &&value)
void SetChecksumSHA1(const Aws::String &value)
Part & WithChecksumCRC32C(const Aws::String &value)
Part & WithETag(const char *value)
const Aws::String & GetChecksumCRC32() const
void SetChecksumCRC32(Aws::String &&value)
bool PartNumberHasBeenSet() const
Part & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::String & GetChecksumSHA256() const
Part & WithChecksumCRC32(Aws::String &&value)
void SetChecksumCRC32(const Aws::String &value)
long long GetSize() const
bool ChecksumSHA1HasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Part & WithPartNumber(int value)
Part & WithChecksumCRC32C(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetChecksumSHA1(const char *value)
Part & WithChecksumSHA1(Aws::String &&value)
int GetPartNumber() const
Part & WithChecksumSHA256(Aws::String &&value)
bool LastModifiedHasBeenSet() const
AWS_S3_API Part & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ChecksumCRC32CHasBeenSet() const
Part & WithETag(Aws::String &&value)
bool ChecksumCRC32HasBeenSet() const
Part & WithLastModified(Aws::Utils::DateTime &&value)
void SetETag(const char *value)
void SetChecksumCRC32(const char *value)
Part & WithChecksumSHA1(const Aws::String &value)
AWS_S3_API Part(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SizeHasBeenSet() const
void SetChecksumSHA256(const char *value)
Part & WithETag(const Aws::String &value)
void SetChecksumSHA1(Aws::String &&value)
void SetChecksumCRC32C(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
void SetChecksumCRC32C(Aws::String &&value)
void SetPartNumber(int value)
Part & WithChecksumSHA256(const Aws::String &value)
void SetChecksumSHA256(Aws::String &&value)
Part & WithChecksumCRC32(const char *value)
Part & WithChecksumCRC32C(const char *value)
void SetSize(long long value)
void SetETag(Aws::String &&value)
Part & WithChecksumSHA256(const char *value)
const Aws::String & GetChecksumSHA1() const
bool ETagHasBeenSet() const
bool ChecksumSHA256HasBeenSet() const
Part & WithChecksumSHA1(const char *value)
void SetChecksumSHA256(const Aws::String &value)
const Aws::String & GetChecksumCRC32C() const
const Aws::String & GetETag() const
void SetChecksumCRC32C(const Aws::String &value)
Part & WithChecksumCRC32(const Aws::String &value)
Part & WithSize(long long value)
void SetETag(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String