AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyPartResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_S3_API CopyPartResult();
35 AWS_S3_API CopyPartResult(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetETag() const{ return m_eTag; }
46 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
47 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
48 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
49 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
50 inline CopyPartResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
51 inline CopyPartResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
52 inline CopyPartResult& WithETag(const char* value) { SetETag(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
60 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
61 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
62 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
63 inline CopyPartResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
64 inline CopyPartResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
66
68
78 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
79 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
80 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; }
81 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); }
82 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); }
83 inline CopyPartResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
84 inline CopyPartResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
85 inline CopyPartResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
87
89
99 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
100 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
101 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; }
102 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); }
103 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); }
104 inline CopyPartResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
105 inline CopyPartResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
106 inline CopyPartResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
108
110
120 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
121 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
122 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; }
123 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); }
124 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); }
125 inline CopyPartResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
126 inline CopyPartResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
127 inline CopyPartResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
129
131
141 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
142 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
143 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; }
144 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); }
145 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); }
146 inline CopyPartResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
147 inline CopyPartResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
148 inline CopyPartResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
150 private:
151
152 Aws::String m_eTag;
153 bool m_eTagHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastModified;
156 bool m_lastModifiedHasBeenSet = false;
157
158 Aws::String m_checksumCRC32;
159 bool m_checksumCRC32HasBeenSet = false;
160
161 Aws::String m_checksumCRC32C;
162 bool m_checksumCRC32CHasBeenSet = false;
163
164 Aws::String m_checksumSHA1;
165 bool m_checksumSHA1HasBeenSet = false;
166
167 Aws::String m_checksumSHA256;
168 bool m_checksumSHA256HasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace S3
173} // namespace Aws
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetChecksumCRC32C(Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
CopyPartResult & WithChecksumSHA256(const char *value)
CopyPartResult & WithChecksumCRC32(const char *value)
CopyPartResult & WithChecksumSHA1(const Aws::String &value)
CopyPartResult & WithChecksumCRC32C(const char *value)
AWS_S3_API CopyPartResult(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetChecksumCRC32(const Aws::String &value)
void SetChecksumSHA256(Aws::String &&value)
CopyPartResult & WithETag(const Aws::String &value)
CopyPartResult & WithChecksumCRC32C(Aws::String &&value)
const Aws::String & GetChecksumSHA1() const
const Aws::String & GetETag() const
const Aws::Utils::DateTime & GetLastModified() const
void SetLastModified(const Aws::Utils::DateTime &value)
CopyPartResult & WithChecksumCRC32(Aws::String &&value)
CopyPartResult & WithChecksumCRC32C(const Aws::String &value)
void SetChecksumSHA1(Aws::String &&value)
const Aws::String & GetChecksumCRC32C() const
void SetChecksumCRC32C(const Aws::String &value)
CopyPartResult & WithETag(const char *value)
void SetChecksumSHA1(const char *value)
CopyPartResult & WithChecksumSHA1(const char *value)
void SetChecksumCRC32(Aws::String &&value)
CopyPartResult & WithChecksumSHA256(Aws::String &&value)
void SetChecksumCRC32C(const char *value)
void SetETag(const char *value)
CopyPartResult & WithLastModified(Aws::Utils::DateTime &&value)
CopyPartResult & WithChecksumCRC32(const Aws::String &value)
void SetETag(const Aws::String &value)
CopyPartResult & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetChecksumSHA256() const
void SetChecksumSHA256(const char *value)
CopyPartResult & WithETag(Aws::String &&value)
CopyPartResult & WithChecksumSHA256(const Aws::String &value)
void SetChecksumSHA1(const Aws::String &value)
void SetChecksumSHA256(const Aws::String &value)
void SetChecksumCRC32(const char *value)
CopyPartResult & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::String & GetChecksumCRC32() const
AWS_S3_API CopyPartResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetETag(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String