AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompleteMultipartUploadRequest.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Glacier
15{
16namespace Model
17{
18
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CompleteMultipartUpload"; }
38
39 AWS_GLACIER_API Aws::String SerializePayload() const override;
40
42
43
45
52 inline const Aws::String& GetAccountId() const{ return m_accountId; }
53 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
54 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
56 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
57 inline CompleteMultipartUploadRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
58 inline CompleteMultipartUploadRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
59 inline CompleteMultipartUploadRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
61
63
66 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
67 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
68 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
69 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
70 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
71 inline CompleteMultipartUploadRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
72 inline CompleteMultipartUploadRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
73 inline CompleteMultipartUploadRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
75
77
80 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
81 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
82 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
83 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
84 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
85 inline CompleteMultipartUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
86 inline CompleteMultipartUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
87 inline CompleteMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
89
91
95 inline const Aws::String& GetArchiveSize() const{ return m_archiveSize; }
96 inline bool ArchiveSizeHasBeenSet() const { return m_archiveSizeHasBeenSet; }
97 inline void SetArchiveSize(const Aws::String& value) { m_archiveSizeHasBeenSet = true; m_archiveSize = value; }
98 inline void SetArchiveSize(Aws::String&& value) { m_archiveSizeHasBeenSet = true; m_archiveSize = std::move(value); }
99 inline void SetArchiveSize(const char* value) { m_archiveSizeHasBeenSet = true; m_archiveSize.assign(value); }
100 inline CompleteMultipartUploadRequest& WithArchiveSize(const Aws::String& value) { SetArchiveSize(value); return *this;}
101 inline CompleteMultipartUploadRequest& WithArchiveSize(Aws::String&& value) { SetArchiveSize(std::move(value)); return *this;}
102 inline CompleteMultipartUploadRequest& WithArchiveSize(const char* value) { SetArchiveSize(value); return *this;}
104
106
112 inline const Aws::String& GetChecksum() const{ return m_checksum; }
113 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
114 inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
115 inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
116 inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
117 inline CompleteMultipartUploadRequest& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
118 inline CompleteMultipartUploadRequest& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
119 inline CompleteMultipartUploadRequest& WithChecksum(const char* value) { SetChecksum(value); return *this;}
121 private:
122
123 Aws::String m_accountId;
124 bool m_accountIdHasBeenSet = false;
125
126 Aws::String m_vaultName;
127 bool m_vaultNameHasBeenSet = false;
128
129 Aws::String m_uploadId;
130 bool m_uploadIdHasBeenSet = false;
131
132 Aws::String m_archiveSize;
133 bool m_archiveSizeHasBeenSet = false;
134
135 Aws::String m_checksum;
136 bool m_checksumHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Glacier
141} // namespace Aws
AWS_GLACIER_API Aws::String SerializePayload() const override
CompleteMultipartUploadRequest & WithAccountId(const char *value)
CompleteMultipartUploadRequest & WithVaultName(const Aws::String &value)
CompleteMultipartUploadRequest & WithChecksum(const char *value)
CompleteMultipartUploadRequest & WithUploadId(const char *value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CompleteMultipartUploadRequest & WithAccountId(Aws::String &&value)
CompleteMultipartUploadRequest & WithArchiveSize(Aws::String &&value)
CompleteMultipartUploadRequest & WithVaultName(Aws::String &&value)
CompleteMultipartUploadRequest & WithUploadId(const Aws::String &value)
CompleteMultipartUploadRequest & WithVaultName(const char *value)
CompleteMultipartUploadRequest & WithUploadId(Aws::String &&value)
CompleteMultipartUploadRequest & WithChecksum(Aws::String &&value)
CompleteMultipartUploadRequest & WithArchiveSize(const Aws::String &value)
CompleteMultipartUploadRequest & WithArchiveSize(const char *value)
CompleteMultipartUploadRequest & WithAccountId(const Aws::String &value)
CompleteMultipartUploadRequest & WithChecksum(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String