AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyObjectResultDetails.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_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 S3Crt
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_S3CRT_API CopyObjectResultDetails();
37
38 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetETag() const{ return m_eTag; }
47 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
48 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
49 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
50 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
51 inline CopyObjectResultDetails& WithETag(const Aws::String& value) { SetETag(value); return *this;}
52 inline CopyObjectResultDetails& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
53 inline CopyObjectResultDetails& WithETag(const char* value) { SetETag(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
61 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
62 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
63 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
65 inline CopyObjectResultDetails& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
67
69
75 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
76 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
77 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; }
78 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); }
79 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); }
80 inline CopyObjectResultDetails& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
81 inline CopyObjectResultDetails& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
82 inline CopyObjectResultDetails& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
84
86
92 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
93 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
94 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; }
95 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); }
96 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); }
97 inline CopyObjectResultDetails& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
98 inline CopyObjectResultDetails& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
99 inline CopyObjectResultDetails& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
101
103
109 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
110 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
111 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; }
112 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); }
113 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); }
114 inline CopyObjectResultDetails& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
115 inline CopyObjectResultDetails& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
116 inline CopyObjectResultDetails& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
118
120
126 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
127 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
128 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; }
129 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); }
130 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); }
131 inline CopyObjectResultDetails& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
132 inline CopyObjectResultDetails& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
133 inline CopyObjectResultDetails& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
135 private:
136
137 Aws::String m_eTag;
138 bool m_eTagHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastModified;
141 bool m_lastModifiedHasBeenSet = false;
142
143 Aws::String m_checksumCRC32;
144 bool m_checksumCRC32HasBeenSet = false;
145
146 Aws::String m_checksumCRC32C;
147 bool m_checksumCRC32CHasBeenSet = false;
148
149 Aws::String m_checksumSHA1;
150 bool m_checksumSHA1HasBeenSet = false;
151
152 Aws::String m_checksumSHA256;
153 bool m_checksumSHA256HasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace S3Crt
158} // namespace Aws
AWS_S3CRT_API CopyObjectResultDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
CopyObjectResultDetails & WithChecksumSHA1(Aws::String &&value)
CopyObjectResultDetails & WithLastModified(Aws::Utils::DateTime &&value)
CopyObjectResultDetails & WithChecksumSHA1(const Aws::String &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CopyObjectResultDetails & WithLastModified(const Aws::Utils::DateTime &value)
CopyObjectResultDetails & WithChecksumCRC32(Aws::String &&value)
CopyObjectResultDetails & WithETag(const char *value)
CopyObjectResultDetails & WithChecksumCRC32C(const Aws::String &value)
CopyObjectResultDetails & WithChecksumCRC32C(const char *value)
CopyObjectResultDetails & WithChecksumSHA1(const char *value)
CopyObjectResultDetails & WithChecksumSHA256(const char *value)
CopyObjectResultDetails & WithChecksumSHA256(Aws::String &&value)
CopyObjectResultDetails & WithChecksumCRC32(const Aws::String &value)
void SetLastModified(Aws::Utils::DateTime &&value)
CopyObjectResultDetails & WithChecksumCRC32(const char *value)
CopyObjectResultDetails & WithETag(const Aws::String &value)
CopyObjectResultDetails & WithETag(Aws::String &&value)
CopyObjectResultDetails & WithChecksumSHA256(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModified() const
CopyObjectResultDetails & WithChecksumCRC32C(Aws::String &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
AWS_S3CRT_API CopyObjectResultDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String