AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadPartCopyResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/CopyPartResult.h>
10#include <aws/s3/model/ServerSideEncryption.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace S3
27{
28namespace Model
29{
31 {
32 public:
36
37
39
44 inline const Aws::String& GetCopySourceVersionId() const{ return m_copySourceVersionId; }
45 inline void SetCopySourceVersionId(const Aws::String& value) { m_copySourceVersionId = value; }
46 inline void SetCopySourceVersionId(Aws::String&& value) { m_copySourceVersionId = std::move(value); }
47 inline void SetCopySourceVersionId(const char* value) { m_copySourceVersionId.assign(value); }
49 inline UploadPartCopyResult& WithCopySourceVersionId(Aws::String&& value) { SetCopySourceVersionId(std::move(value)); return *this;}
50 inline UploadPartCopyResult& WithCopySourceVersionId(const char* value) { SetCopySourceVersionId(value); return *this;}
52
54
57 inline const CopyPartResult& GetCopyPartResult() const{ return m_copyPartResult; }
58 inline void SetCopyPartResult(const CopyPartResult& value) { m_copyPartResult = value; }
59 inline void SetCopyPartResult(CopyPartResult&& value) { m_copyPartResult = std::move(value); }
60 inline UploadPartCopyResult& WithCopyPartResult(const CopyPartResult& value) { SetCopyPartResult(value); return *this;}
61 inline UploadPartCopyResult& WithCopyPartResult(CopyPartResult&& value) { SetCopyPartResult(std::move(value)); return *this;}
63
65
69 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
70 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
71 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
75
77
83 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
84 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; }
85 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); }
86 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); }
88 inline UploadPartCopyResult& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
89 inline UploadPartCopyResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
91
93
99 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
100 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; }
101 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); }
102 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); }
103 inline UploadPartCopyResult& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
104 inline UploadPartCopyResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
105 inline UploadPartCopyResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
107
109
113 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
114 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
115 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
116 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
117 inline UploadPartCopyResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
118 inline UploadPartCopyResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
119 inline UploadPartCopyResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
121
123
127 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
128 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
129 inline UploadPartCopyResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
131
133
134 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
135 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
136 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
137 inline UploadPartCopyResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
138 inline UploadPartCopyResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const{ return m_requestId; }
144 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
145 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
146 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
147 inline UploadPartCopyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
148 inline UploadPartCopyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
149 inline UploadPartCopyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
151 private:
152
153 Aws::String m_copySourceVersionId;
154
155 CopyPartResult m_copyPartResult;
156
157 ServerSideEncryption m_serverSideEncryption;
158
159 Aws::String m_sSECustomerAlgorithm;
160
161 Aws::String m_sSECustomerKeyMD5;
162
163 Aws::String m_sSEKMSKeyId;
164
165 bool m_bucketKeyEnabled;
166
167 RequestCharged m_requestCharged;
168
169 Aws::String m_requestId;
170 };
171
172} // namespace Model
173} // namespace S3
174} // namespace Aws
UploadPartCopyResult & WithCopyPartResult(CopyPartResult &&value)
void SetRequestId(const Aws::String &value)
const RequestCharged & GetRequestCharged() const
UploadPartCopyResult & WithSSEKMSKeyId(const char *value)
UploadPartCopyResult & WithCopySourceVersionId(const Aws::String &value)
void SetRequestCharged(RequestCharged &&value)
UploadPartCopyResult & WithSSECustomerAlgorithm(const char *value)
AWS_S3_API UploadPartCopyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UploadPartCopyResult & WithRequestCharged(RequestCharged &&value)
const Aws::String & GetSSECustomerAlgorithm() const
UploadPartCopyResult & WithSSECustomerAlgorithm(const Aws::String &value)
const CopyPartResult & GetCopyPartResult() const
void SetSSECustomerKeyMD5(const Aws::String &value)
void SetCopyPartResult(CopyPartResult &&value)
UploadPartCopyResult & WithSSECustomerKeyMD5(const char *value)
UploadPartCopyResult & WithCopySourceVersionId(Aws::String &&value)
UploadPartCopyResult & WithCopyPartResult(const CopyPartResult &value)
const Aws::String & GetCopySourceVersionId() const
UploadPartCopyResult & WithCopySourceVersionId(const char *value)
void SetSSECustomerKeyMD5(Aws::String &&value)
void SetRequestCharged(const RequestCharged &value)
void SetSSECustomerAlgorithm(Aws::String &&value)
UploadPartCopyResult & WithSSECustomerKeyMD5(Aws::String &&value)
const Aws::String & GetSSECustomerKeyMD5() const
UploadPartCopyResult & WithRequestCharged(const RequestCharged &value)
UploadPartCopyResult & WithServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetRequestId() const
UploadPartCopyResult & WithRequestId(const char *value)
UploadPartCopyResult & WithSSECustomerKeyMD5(const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
const Aws::String & GetSSEKMSKeyId() const
UploadPartCopyResult & WithRequestId(Aws::String &&value)
void SetSSECustomerAlgorithm(const char *value)
void SetCopySourceVersionId(const Aws::String &value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetServerSideEncryption(ServerSideEncryption &&value)
const ServerSideEncryption & GetServerSideEncryption() const
AWS_S3_API UploadPartCopyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UploadPartCopyResult & WithSSEKMSKeyId(const Aws::String &value)
UploadPartCopyResult & WithServerSideEncryption(const ServerSideEncryption &value)
UploadPartCopyResult & WithRequestId(const Aws::String &value)
void SetSSECustomerAlgorithm(const Aws::String &value)
UploadPartCopyResult & WithBucketKeyEnabled(bool value)
void SetCopySourceVersionId(const char *value)
void SetCopyPartResult(const CopyPartResult &value)
void SetCopySourceVersionId(Aws::String &&value)
UploadPartCopyResult & WithSSEKMSKeyId(Aws::String &&value)
UploadPartCopyResult & WithSSECustomerAlgorithm(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument