AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateMultipartUploadResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace S3
28{
29namespace Model
30{
32 {
33 public:
37
38
51 inline const Aws::Utils::DateTime& GetAbortDate() const{ return m_abortDate; }
52
65 inline void SetAbortDate(const Aws::Utils::DateTime& value) { m_abortDate = value; }
66
79 inline void SetAbortDate(Aws::Utils::DateTime&& value) { m_abortDate = std::move(value); }
80
93 inline CreateMultipartUploadResult& WithAbortDate(const Aws::Utils::DateTime& value) { SetAbortDate(value); return *this;}
94
107 inline CreateMultipartUploadResult& WithAbortDate(Aws::Utils::DateTime&& value) { SetAbortDate(std::move(value)); return *this;}
108
109
115 inline const Aws::String& GetAbortRuleId() const{ return m_abortRuleId; }
116
122 inline void SetAbortRuleId(const Aws::String& value) { m_abortRuleId = value; }
123
129 inline void SetAbortRuleId(Aws::String&& value) { m_abortRuleId = std::move(value); }
130
136 inline void SetAbortRuleId(const char* value) { m_abortRuleId.assign(value); }
137
143 inline CreateMultipartUploadResult& WithAbortRuleId(const Aws::String& value) { SetAbortRuleId(value); return *this;}
144
150 inline CreateMultipartUploadResult& WithAbortRuleId(Aws::String&& value) { SetAbortRuleId(std::move(value)); return *this;}
151
157 inline CreateMultipartUploadResult& WithAbortRuleId(const char* value) { SetAbortRuleId(value); return *this;}
158
159
180 inline const Aws::String& GetBucket() const{ return m_bucket; }
181
202 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
203
224 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
225
246 inline void SetBucket(const char* value) { m_bucket.assign(value); }
247
268 inline CreateMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
269
290 inline CreateMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
291
312 inline CreateMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;}
313
314
318 inline const Aws::String& GetKey() const{ return m_key; }
319
323 inline void SetKey(const Aws::String& value) { m_key = value; }
324
328 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
329
333 inline void SetKey(const char* value) { m_key.assign(value); }
334
338 inline CreateMultipartUploadResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
339
343 inline CreateMultipartUploadResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
344
348 inline CreateMultipartUploadResult& WithKey(const char* value) { SetKey(value); return *this;}
349
350
354 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
355
359 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
360
364 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
365
369 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
370
374 inline CreateMultipartUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
375
379 inline CreateMultipartUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
380
384 inline CreateMultipartUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
385
386
391 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
392
397 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
398
403 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
404
410
416
417
423 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
424
430 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; }
431
437 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); }
438
444 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); }
445
452
459
465 inline CreateMultipartUploadResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
466
467
473 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
474
480 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; }
481
487 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); }
488
494 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); }
495
502
508 inline CreateMultipartUploadResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
509
515 inline CreateMultipartUploadResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
516
517
523 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
524
530 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
531
537 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
538
544 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
545
551 inline CreateMultipartUploadResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
552
558 inline CreateMultipartUploadResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
559
565 inline CreateMultipartUploadResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
566
567
573 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
574
580 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContext = value; }
581
587 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContext = std::move(value); }
588
594 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContext.assign(value); }
595
602
609
616
617
622 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
623
628 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
629
634 inline CreateMultipartUploadResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
635
636
637
638 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
639
640
641 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
642
643
644 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
645
646
648
649
650 inline CreateMultipartUploadResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
651
652
656 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
657
661 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithm = value; }
662
666 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithm = std::move(value); }
667
672
677
678 private:
679
680 Aws::Utils::DateTime m_abortDate;
681
682 Aws::String m_abortRuleId;
683
684 Aws::String m_bucket;
685
686 Aws::String m_key;
687
688 Aws::String m_uploadId;
689
690 ServerSideEncryption m_serverSideEncryption;
691
692 Aws::String m_sSECustomerAlgorithm;
693
694 Aws::String m_sSECustomerKeyMD5;
695
696 Aws::String m_sSEKMSKeyId;
697
698 Aws::String m_sSEKMSEncryptionContext;
699
700 bool m_bucketKeyEnabled;
701
702 RequestCharged m_requestCharged;
703
704 ChecksumAlgorithm m_checksumAlgorithm;
705 };
706
707} // namespace Model
708} // namespace S3
709} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
CreateMultipartUploadResult & WithServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(const char *value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(Aws::String &&value)
CreateMultipartUploadResult & WithServerSideEncryption(ServerSideEncryption &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadResult & WithUploadId(Aws::String &&value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(const Aws::String &value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
CreateMultipartUploadResult & WithRequestCharged(const RequestCharged &value)
CreateMultipartUploadResult & WithBucket(const char *value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(const char *value)
CreateMultipartUploadResult & WithSSEKMSKeyId(Aws::String &&value)
CreateMultipartUploadResult & WithKey(const Aws::String &value)
CreateMultipartUploadResult & WithUploadId(const Aws::String &value)
AWS_S3_API CreateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetAbortDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadResult & WithRequestCharged(RequestCharged &&value)
const ServerSideEncryption & GetServerSideEncryption() const
CreateMultipartUploadResult & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadResult & WithBucket(Aws::String &&value)
CreateMultipartUploadResult & WithBucketKeyEnabled(bool value)
CreateMultipartUploadResult & WithBucket(const Aws::String &value)
CreateMultipartUploadResult & WithAbortRuleId(const Aws::String &value)
CreateMultipartUploadResult & WithAbortRuleId(const char *value)
CreateMultipartUploadResult & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadResult & WithSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadResult & WithKey(Aws::String &&value)
CreateMultipartUploadResult & WithAbortRuleId(Aws::String &&value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadResult & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(const Aws::String &value)
CreateMultipartUploadResult & WithUploadId(const char *value)
CreateMultipartUploadResult & WithAbortDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadResult & WithAbortDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(const char *value)
AWS_S3_API CreateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Utils::DateTime & GetAbortDate() const
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(const Aws::String &value)
CreateMultipartUploadResult & WithKey(const char *value)
void SetServerSideEncryption(const ServerSideEncryption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String