AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CompleteMultipartUploadRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glacier {
15namespace Model {
16
27 public:
28 AWS_GLACIER_API CompleteMultipartUploadRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CompleteMultipartUpload"; }
35
36 AWS_GLACIER_API Aws::String SerializePayload() const override;
37
39
41
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template <typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) {
52 m_accountIdHasBeenSet = true;
53 m_accountId = std::forward<AccountIdT>(value);
54 }
55 template <typename AccountIdT = Aws::String>
57 SetAccountId(std::forward<AccountIdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetVaultName() const { return m_vaultName; }
67 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
68 template <typename VaultNameT = Aws::String>
69 void SetVaultName(VaultNameT&& value) {
70 m_vaultNameHasBeenSet = true;
71 m_vaultName = std::forward<VaultNameT>(value);
72 }
73 template <typename VaultNameT = Aws::String>
75 SetVaultName(std::forward<VaultNameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetUploadId() const { return m_uploadId; }
85 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
86 template <typename UploadIdT = Aws::String>
87 void SetUploadId(UploadIdT&& value) {
88 m_uploadIdHasBeenSet = true;
89 m_uploadId = std::forward<UploadIdT>(value);
90 }
91 template <typename UploadIdT = Aws::String>
93 SetUploadId(std::forward<UploadIdT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetArchiveSize() const { return m_archiveSize; }
104 inline bool ArchiveSizeHasBeenSet() const { return m_archiveSizeHasBeenSet; }
105 template <typename ArchiveSizeT = Aws::String>
106 void SetArchiveSize(ArchiveSizeT&& value) {
107 m_archiveSizeHasBeenSet = true;
108 m_archiveSize = std::forward<ArchiveSizeT>(value);
109 }
110 template <typename ArchiveSizeT = Aws::String>
112 SetArchiveSize(std::forward<ArchiveSizeT>(value));
113 return *this;
114 }
116
118
124 inline const Aws::String& GetChecksum() const { return m_checksum; }
125 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
126 template <typename ChecksumT = Aws::String>
127 void SetChecksum(ChecksumT&& value) {
128 m_checksumHasBeenSet = true;
129 m_checksum = std::forward<ChecksumT>(value);
130 }
131 template <typename ChecksumT = Aws::String>
133 SetChecksum(std::forward<ChecksumT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_accountId;
139
140 Aws::String m_vaultName;
141
142 Aws::String m_uploadId;
143
144 Aws::String m_archiveSize;
145
146 Aws::String m_checksum;
147 bool m_accountIdHasBeenSet = false;
148 bool m_vaultNameHasBeenSet = false;
149 bool m_uploadIdHasBeenSet = false;
150 bool m_archiveSizeHasBeenSet = false;
151 bool m_checksumHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace Glacier
156} // namespace Aws
AWS_GLACIER_API Aws::String SerializePayload() const override
CompleteMultipartUploadRequest & WithArchiveSize(ArchiveSizeT &&value)
AWS_GLACIER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CompleteMultipartUploadRequest & WithUploadId(UploadIdT &&value)
AWS_GLACIER_API CompleteMultipartUploadRequest()=default
CompleteMultipartUploadRequest & WithAccountId(AccountIdT &&value)
CompleteMultipartUploadRequest & WithVaultName(VaultNameT &&value)
CompleteMultipartUploadRequest & WithChecksum(ChecksumT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String