AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
GetExportResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/simpledbv2/SimpleDBv2_EXPORTS.h>
11#include <aws/simpledbv2/model/ExportStatus.h>
12#include <aws/simpledbv2/model/S3SseAlgorithm.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SimpleDBv2 {
26namespace Model {
28 public:
29 AWS_SIMPLEDBV2_API GetExportResult() = default;
32
34
37 inline const Aws::String& GetExportArn() const { return m_exportArn; }
38 template <typename ExportArnT = Aws::String>
39 void SetExportArn(ExportArnT&& value) {
40 m_exportArnHasBeenSet = true;
41 m_exportArn = std::forward<ExportArnT>(value);
42 }
43 template <typename ExportArnT = Aws::String>
44 GetExportResult& WithExportArn(ExportArnT&& value) {
45 SetExportArn(std::forward<ExportArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetClientToken() const { return m_clientToken; }
55 template <typename ClientTokenT = Aws::String>
56 void SetClientToken(ClientTokenT&& value) {
57 m_clientTokenHasBeenSet = true;
58 m_clientToken = std::forward<ClientTokenT>(value);
59 }
60 template <typename ClientTokenT = Aws::String>
61 GetExportResult& WithClientToken(ClientTokenT&& value) {
62 SetClientToken(std::forward<ClientTokenT>(value));
63 return *this;
64 }
66
68
73 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
74 inline void SetExportStatus(ExportStatus value) {
75 m_exportStatusHasBeenSet = true;
76 m_exportStatus = value;
77 }
79 SetExportStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDomainName() const { return m_domainName; }
89 template <typename DomainNameT = Aws::String>
90 void SetDomainName(DomainNameT&& value) {
91 m_domainNameHasBeenSet = true;
92 m_domainName = std::forward<DomainNameT>(value);
93 }
94 template <typename DomainNameT = Aws::String>
95 GetExportResult& WithDomainName(DomainNameT&& value) {
96 SetDomainName(std::forward<DomainNameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetRequestedAt() const { return m_requestedAt; }
106 template <typename RequestedAtT = Aws::Utils::DateTime>
107 void SetRequestedAt(RequestedAtT&& value) {
108 m_requestedAtHasBeenSet = true;
109 m_requestedAt = std::forward<RequestedAtT>(value);
110 }
111 template <typename RequestedAtT = Aws::Utils::DateTime>
112 GetExportResult& WithRequestedAt(RequestedAtT&& value) {
113 SetRequestedAt(std::forward<RequestedAtT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
123 template <typename S3BucketT = Aws::String>
124 void SetS3Bucket(S3BucketT&& value) {
125 m_s3BucketHasBeenSet = true;
126 m_s3Bucket = std::forward<S3BucketT>(value);
127 }
128 template <typename S3BucketT = Aws::String>
129 GetExportResult& WithS3Bucket(S3BucketT&& value) {
130 SetS3Bucket(std::forward<S3BucketT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
141 template <typename S3KeyPrefixT = Aws::String>
142 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
143 m_s3KeyPrefixHasBeenSet = true;
144 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
145 }
146 template <typename S3KeyPrefixT = Aws::String>
147 GetExportResult& WithS3KeyPrefix(S3KeyPrefixT&& value) {
148 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
149 return *this;
150 }
152
154
157 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
159 m_s3SseAlgorithmHasBeenSet = true;
160 m_s3SseAlgorithm = value;
161 }
163 SetS3SseAlgorithm(value);
164 return *this;
165 }
167
169
172 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
173 template <typename S3SseKmsKeyIdT = Aws::String>
174 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
175 m_s3SseKmsKeyIdHasBeenSet = true;
176 m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value);
177 }
178 template <typename S3SseKmsKeyIdT = Aws::String>
179 GetExportResult& WithS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
180 SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
190 template <typename S3BucketOwnerT = Aws::String>
191 void SetS3BucketOwner(S3BucketOwnerT&& value) {
192 m_s3BucketOwnerHasBeenSet = true;
193 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
194 }
195 template <typename S3BucketOwnerT = Aws::String>
196 GetExportResult& WithS3BucketOwner(S3BucketOwnerT&& value) {
197 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
207 template <typename FailureCodeT = Aws::String>
208 void SetFailureCode(FailureCodeT&& value) {
209 m_failureCodeHasBeenSet = true;
210 m_failureCode = std::forward<FailureCodeT>(value);
211 }
212 template <typename FailureCodeT = Aws::String>
213 GetExportResult& WithFailureCode(FailureCodeT&& value) {
214 SetFailureCode(std::forward<FailureCodeT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
224 template <typename FailureMessageT = Aws::String>
225 void SetFailureMessage(FailureMessageT&& value) {
226 m_failureMessageHasBeenSet = true;
227 m_failureMessage = std::forward<FailureMessageT>(value);
228 }
229 template <typename FailureMessageT = Aws::String>
230 GetExportResult& WithFailureMessage(FailureMessageT&& value) {
231 SetFailureMessage(std::forward<FailureMessageT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetExportManifest() const { return m_exportManifest; }
241 template <typename ExportManifestT = Aws::String>
242 void SetExportManifest(ExportManifestT&& value) {
243 m_exportManifestHasBeenSet = true;
244 m_exportManifest = std::forward<ExportManifestT>(value);
245 }
246 template <typename ExportManifestT = Aws::String>
247 GetExportResult& WithExportManifest(ExportManifestT&& value) {
248 SetExportManifest(std::forward<ExportManifestT>(value));
249 return *this;
250 }
252
254
257 inline long long GetItemsCount() const { return m_itemsCount; }
258 inline void SetItemsCount(long long value) {
259 m_itemsCountHasBeenSet = true;
260 m_itemsCount = value;
261 }
262 inline GetExportResult& WithItemsCount(long long value) {
263 SetItemsCount(value);
264 return *this;
265 }
267
269
275 inline const Aws::Utils::DateTime& GetExportDataCutoffTime() const { return m_exportDataCutoffTime; }
276 template <typename ExportDataCutoffTimeT = Aws::Utils::DateTime>
277 void SetExportDataCutoffTime(ExportDataCutoffTimeT&& value) {
278 m_exportDataCutoffTimeHasBeenSet = true;
279 m_exportDataCutoffTime = std::forward<ExportDataCutoffTimeT>(value);
280 }
281 template <typename ExportDataCutoffTimeT = Aws::Utils::DateTime>
282 GetExportResult& WithExportDataCutoffTime(ExportDataCutoffTimeT&& value) {
283 SetExportDataCutoffTime(std::forward<ExportDataCutoffTimeT>(value));
284 return *this;
285 }
287
289
290 inline const Aws::String& GetRequestId() const { return m_requestId; }
291 template <typename RequestIdT = Aws::String>
292 void SetRequestId(RequestIdT&& value) {
293 m_requestIdHasBeenSet = true;
294 m_requestId = std::forward<RequestIdT>(value);
295 }
296 template <typename RequestIdT = Aws::String>
297 GetExportResult& WithRequestId(RequestIdT&& value) {
298 SetRequestId(std::forward<RequestIdT>(value));
299 return *this;
300 }
302 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
303
304 private:
305 Aws::String m_exportArn;
306
307 Aws::String m_clientToken;
308
309 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
310
311 Aws::String m_domainName;
312
313 Aws::Utils::DateTime m_requestedAt{};
314
315 Aws::String m_s3Bucket;
316
317 Aws::String m_s3KeyPrefix;
318
319 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
320
321 Aws::String m_s3SseKmsKeyId;
322
323 Aws::String m_s3BucketOwner;
324
325 Aws::String m_failureCode;
326
327 Aws::String m_failureMessage;
328
329 Aws::String m_exportManifest;
330
331 long long m_itemsCount{0};
332
333 Aws::Utils::DateTime m_exportDataCutoffTime{};
334
335 Aws::String m_requestId;
336 Aws::Http::HttpResponseCode m_HttpResponseCode;
337 bool m_exportArnHasBeenSet = false;
338 bool m_clientTokenHasBeenSet = false;
339 bool m_exportStatusHasBeenSet = false;
340 bool m_domainNameHasBeenSet = false;
341 bool m_requestedAtHasBeenSet = false;
342 bool m_s3BucketHasBeenSet = false;
343 bool m_s3KeyPrefixHasBeenSet = false;
344 bool m_s3SseAlgorithmHasBeenSet = false;
345 bool m_s3SseKmsKeyIdHasBeenSet = false;
346 bool m_s3BucketOwnerHasBeenSet = false;
347 bool m_failureCodeHasBeenSet = false;
348 bool m_failureMessageHasBeenSet = false;
349 bool m_exportManifestHasBeenSet = false;
350 bool m_itemsCountHasBeenSet = false;
351 bool m_exportDataCutoffTimeHasBeenSet = false;
352 bool m_requestIdHasBeenSet = false;
353};
354
355} // namespace Model
356} // namespace SimpleDBv2
357} // namespace Aws
GetExportResult & WithRequestId(RequestIdT &&value)
void SetFailureMessage(FailureMessageT &&value)
void SetS3SseAlgorithm(S3SseAlgorithm value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetExportDataCutoffTime() const
const Aws::Utils::DateTime & GetRequestedAt() const
const Aws::String & GetFailureCode() const
void SetExportDataCutoffTime(ExportDataCutoffTimeT &&value)
GetExportResult & WithExportStatus(ExportStatus value)
GetExportResult & WithClientToken(ClientTokenT &&value)
void SetFailureCode(FailureCodeT &&value)
GetExportResult & WithExportArn(ExportArnT &&value)
void SetDomainName(DomainNameT &&value)
GetExportResult & WithDomainName(DomainNameT &&value)
const Aws::String & GetS3SseKmsKeyId() const
const Aws::String & GetS3Bucket() const
GetExportResult & WithS3KeyPrefix(S3KeyPrefixT &&value)
GetExportResult & WithExportManifest(ExportManifestT &&value)
GetExportResult & WithS3SseAlgorithm(S3SseAlgorithm value)
void SetExportStatus(ExportStatus value)
AWS_SIMPLEDBV2_API GetExportResult()=default
void SetClientToken(ClientTokenT &&value)
GetExportResult & WithS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
AWS_SIMPLEDBV2_API GetExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
GetExportResult & WithS3Bucket(S3BucketT &&value)
const Aws::String & GetExportManifest() const
void SetRequestedAt(RequestedAtT &&value)
const Aws::String & GetRequestId() const
AWS_SIMPLEDBV2_API GetExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportResult & WithRequestedAt(RequestedAtT &&value)
const Aws::String & GetFailureMessage() const
GetExportResult & WithItemsCount(long long value)
void SetExportManifest(ExportManifestT &&value)
GetExportResult & WithExportDataCutoffTime(ExportDataCutoffTimeT &&value)
GetExportResult & WithS3BucketOwner(S3BucketOwnerT &&value)
void SetS3KeyPrefix(S3KeyPrefixT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetDomainName() const
const Aws::String & GetExportArn() const
const Aws::String & GetS3KeyPrefix() const
void SetS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3BucketOwner() const
GetExportResult & WithFailureCode(FailureCodeT &&value)
GetExportResult & WithFailureMessage(FailureMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue