AWS SDK for C++  1.9.1
AWS SDK for C++
UploadMultipartPartRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glacier
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UploadMultipartPart"; }
36 
38 
39 
47  inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 
56  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
57 
65  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
66 
74  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
75 
83  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
84 
92  inline UploadMultipartPartRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
93 
101  inline UploadMultipartPartRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
102 
110  inline UploadMultipartPartRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
111 
112 
116  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
117 
121  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
122 
126  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
127 
131  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
132 
136  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
137 
141  inline UploadMultipartPartRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
142 
146  inline UploadMultipartPartRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
147 
151  inline UploadMultipartPartRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
152 
153 
157  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
158 
162  inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
163 
167  inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
168 
172  inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
173 
177  inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
178 
182  inline UploadMultipartPartRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
183 
187  inline UploadMultipartPartRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
188 
192  inline UploadMultipartPartRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
193 
194 
198  inline const Aws::String& GetChecksum() const{ return m_checksum; }
199 
203  inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
204 
208  inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
209 
213  inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
214 
218  inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
219 
223  inline UploadMultipartPartRequest& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
224 
228  inline UploadMultipartPartRequest& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
229 
233  inline UploadMultipartPartRequest& WithChecksum(const char* value) { SetChecksum(value); return *this;}
234 
235 
242  inline const Aws::String& GetRange() const{ return m_range; }
243 
250  inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
251 
258  inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
259 
266  inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
267 
274  inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
275 
282  inline UploadMultipartPartRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
283 
290  inline UploadMultipartPartRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
291 
298  inline UploadMultipartPartRequest& WithRange(const char* value) { SetRange(value); return *this;}
299 
300  private:
301 
302  Aws::String m_accountId;
303  bool m_accountIdHasBeenSet;
304 
305  Aws::String m_vaultName;
306  bool m_vaultNameHasBeenSet;
307 
308  Aws::String m_uploadId;
309  bool m_uploadIdHasBeenSet;
310 
311  Aws::String m_checksum;
312  bool m_checksumHasBeenSet;
313 
314  Aws::String m_range;
315  bool m_rangeHasBeenSet;
316 
317  };
318 
319 } // namespace Model
320 } // namespace Glacier
321 } // namespace Aws
Aws::Glacier::Model::UploadMultipartPartRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: UploadMultipartPartRequest.h:47
Aws::Glacier::Model::UploadMultipartPartRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:131
Aws::Glacier::Model::UploadMultipartPartRequest::WithChecksum
UploadMultipartPartRequest & WithChecksum(const char *value)
Definition: UploadMultipartPartRequest.h:233
Aws::Glacier::Model::UploadMultipartPartRequest::SetRange
void SetRange(const char *value)
Definition: UploadMultipartPartRequest.h:274
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glacier::Model::UploadMultipartPartRequest::WithVaultName
UploadMultipartPartRequest & WithVaultName(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:146
Aws::Glacier::Model::UploadMultipartPartRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:74
Aws::Glacier::Model::UploadMultipartPartRequest::GetUploadId
const Aws::String & GetUploadId() const
Definition: UploadMultipartPartRequest.h:157
Aws::Glacier::Model::UploadMultipartPartRequest::GetRange
const Aws::String & GetRange() const
Definition: UploadMultipartPartRequest.h:242
Aws::Glacier::Model::UploadMultipartPartRequest::WithVaultName
UploadMultipartPartRequest & WithVaultName(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:141
Aws::Glacier::Model::UploadMultipartPartRequest::WithChecksum
UploadMultipartPartRequest & WithChecksum(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:228
Aws::Glacier::Model::UploadMultipartPartRequest::WithUploadId
UploadMultipartPartRequest & WithUploadId(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:182
Aws::Glacier::Model::UploadMultipartPartRequest::SetChecksum
void SetChecksum(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:208
Aws::Glacier::Model::UploadMultipartPartRequest::GetChecksum
const Aws::String & GetChecksum() const
Definition: UploadMultipartPartRequest.h:198
Aws::Glacier::Model::UploadMultipartPartRequest::SetChecksum
void SetChecksum(const char *value)
Definition: UploadMultipartPartRequest.h:218
Aws::Glacier::Model::UploadMultipartPartRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: UploadMultipartPartRequest.h:121
Aws::Glacier::Model::UploadMultipartPartRequest::SetUploadId
void SetUploadId(const char *value)
Definition: UploadMultipartPartRequest.h:177
Aws::Glacier::Model::UploadMultipartPartRequest::WithUploadId
UploadMultipartPartRequest & WithUploadId(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:187
Aws::Glacier::Model::UploadMultipartPartRequest::WithRange
UploadMultipartPartRequest & WithRange(const char *value)
Definition: UploadMultipartPartRequest.h:298
Aws::Glacier::Model::UploadMultipartPartRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UploadMultipartPartRequest.h:35
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::UploadMultipartPartRequest::WithRange
UploadMultipartPartRequest & WithRange(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:290
Aws::Glacier::Model::UploadMultipartPartRequest::ChecksumHasBeenSet
bool ChecksumHasBeenSet() const
Definition: UploadMultipartPartRequest.h:203
Aws::Glacier::Model::UploadMultipartPartRequest::UploadIdHasBeenSet
bool UploadIdHasBeenSet() const
Definition: UploadMultipartPartRequest.h:162
Aws::Glacier::Model::UploadMultipartPartRequest::WithRange
UploadMultipartPartRequest & WithRange(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:282
Aws::Glacier::Model::UploadMultipartPartRequest::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:172
AWSString.h
Aws::Glacier::Model::UploadMultipartPartRequest::WithVaultName
UploadMultipartPartRequest & WithVaultName(const char *value)
Definition: UploadMultipartPartRequest.h:151
Aws::Glacier::Model::UploadMultipartPartRequest::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:167
Aws::Glacier::Model::UploadMultipartPartRequest::SetChecksum
void SetChecksum(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:213
Aws::Glacier::Model::UploadMultipartPartRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: UploadMultipartPartRequest.h:116
Aws::Glacier::Model::UploadMultipartPartRequest::SetVaultName
void SetVaultName(const char *value)
Definition: UploadMultipartPartRequest.h:136
GlacierRequest.h
Aws::Glacier::Model::UploadMultipartPartRequest::WithUploadId
UploadMultipartPartRequest & WithUploadId(const char *value)
Definition: UploadMultipartPartRequest.h:192
Aws::Glacier::Model::UploadMultipartPartRequest::WithAccountId
UploadMultipartPartRequest & WithAccountId(const char *value)
Definition: UploadMultipartPartRequest.h:110
Aws::Glacier::Model::UploadMultipartPartRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glacier::Model::UploadMultipartPartRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:126
Aws::Glacier::Model::UploadMultipartPartRequest::WithAccountId
UploadMultipartPartRequest & WithAccountId(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:92
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws::Glacier::Model::UploadMultipartPartRequest::SetAccountId
void SetAccountId(const char *value)
Definition: UploadMultipartPartRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::Glacier::Model::UploadMultipartPartRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: UploadMultipartPartRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::UploadMultipartPartRequest::UploadMultipartPartRequest
UploadMultipartPartRequest()
Aws::Glacier::Model::UploadMultipartPartRequest
Definition: UploadMultipartPartRequest.h:27
Aws::Glacier::Model::UploadMultipartPartRequest::WithChecksum
UploadMultipartPartRequest & WithChecksum(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:223
Aws::Glacier::Model::UploadMultipartPartRequest::SetRange
void SetRange(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:266
Aws::Glacier::Model::UploadMultipartPartRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:65
Aws::Glacier::Model::UploadMultipartPartRequest::WithAccountId
UploadMultipartPartRequest & WithAccountId(Aws::String &&value)
Definition: UploadMultipartPartRequest.h:101
Aws::Glacier::Model::UploadMultipartPartRequest::SetRange
void SetRange(const Aws::String &value)
Definition: UploadMultipartPartRequest.h:258
Aws::Glacier::Model::UploadMultipartPartRequest::RangeHasBeenSet
bool RangeHasBeenSet() const
Definition: UploadMultipartPartRequest.h:250
Glacier_EXPORTS.h