AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HeadObjectRequest.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/s3-crt/model/RequestPayer.h>
12#include <aws/s3-crt/model/ChecksumMode.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace S3Crt
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_S3CRT_API HeadObjectRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "HeadObject"; }
39
40 AWS_S3CRT_API Aws::String SerializePayload() const override;
41
42 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
45
46 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
50 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
51
53
86 inline const Aws::String& GetBucket() const{ return m_bucket; }
87 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
88 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
89 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
90 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
91 inline HeadObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
92 inline HeadObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
93 inline HeadObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
95
97
108 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
109 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
110 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
111 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
112 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
113 inline HeadObjectRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
114 inline HeadObjectRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
115 inline HeadObjectRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
117
119
130 inline const Aws::Utils::DateTime& GetIfModifiedSince() const{ return m_ifModifiedSince; }
131 inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; }
132 inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; }
133 inline void SetIfModifiedSince(Aws::Utils::DateTime&& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = std::move(value); }
135 inline HeadObjectRequest& WithIfModifiedSince(Aws::Utils::DateTime&& value) { SetIfModifiedSince(std::move(value)); return *this;}
137
139
150 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
151 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
152 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
153 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
154 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
155 inline HeadObjectRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;}
156 inline HeadObjectRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
157 inline HeadObjectRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
159
161
172 inline const Aws::Utils::DateTime& GetIfUnmodifiedSince() const{ return m_ifUnmodifiedSince; }
173 inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; }
174 inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; }
175 inline void SetIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = std::move(value); }
177 inline HeadObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(std::move(value)); return *this;}
179
181
184 inline const Aws::String& GetKey() const{ return m_key; }
185 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
186 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
187 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
188 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
189 inline HeadObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
190 inline HeadObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
191 inline HeadObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
193
195
201 inline const Aws::String& GetRange() const{ return m_range; }
202 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
203 inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
204 inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
205 inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
206 inline HeadObjectRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
207 inline HeadObjectRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;}
208 inline HeadObjectRequest& WithRange(const char* value) { SetRange(value); return *this;}
210
212
215 inline const Aws::String& GetResponseCacheControl() const{ return m_responseCacheControl; }
216 inline bool ResponseCacheControlHasBeenSet() const { return m_responseCacheControlHasBeenSet; }
217 inline void SetResponseCacheControl(const Aws::String& value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl = value; }
218 inline void SetResponseCacheControl(Aws::String&& value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl = std::move(value); }
219 inline void SetResponseCacheControl(const char* value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl.assign(value); }
221 inline HeadObjectRequest& WithResponseCacheControl(Aws::String&& value) { SetResponseCacheControl(std::move(value)); return *this;}
222 inline HeadObjectRequest& WithResponseCacheControl(const char* value) { SetResponseCacheControl(value); return *this;}
224
226
229 inline const Aws::String& GetResponseContentDisposition() const{ return m_responseContentDisposition; }
230 inline bool ResponseContentDispositionHasBeenSet() const { return m_responseContentDispositionHasBeenSet; }
231 inline void SetResponseContentDisposition(const Aws::String& value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition = value; }
232 inline void SetResponseContentDisposition(Aws::String&& value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition = std::move(value); }
233 inline void SetResponseContentDisposition(const char* value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition.assign(value); }
236 inline HeadObjectRequest& WithResponseContentDisposition(const char* value) { SetResponseContentDisposition(value); return *this;}
238
240
243 inline const Aws::String& GetResponseContentEncoding() const{ return m_responseContentEncoding; }
244 inline bool ResponseContentEncodingHasBeenSet() const { return m_responseContentEncodingHasBeenSet; }
245 inline void SetResponseContentEncoding(const Aws::String& value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding = value; }
246 inline void SetResponseContentEncoding(Aws::String&& value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding = std::move(value); }
247 inline void SetResponseContentEncoding(const char* value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding.assign(value); }
249 inline HeadObjectRequest& WithResponseContentEncoding(Aws::String&& value) { SetResponseContentEncoding(std::move(value)); return *this;}
250 inline HeadObjectRequest& WithResponseContentEncoding(const char* value) { SetResponseContentEncoding(value); return *this;}
252
254
257 inline const Aws::String& GetResponseContentLanguage() const{ return m_responseContentLanguage; }
258 inline bool ResponseContentLanguageHasBeenSet() const { return m_responseContentLanguageHasBeenSet; }
259 inline void SetResponseContentLanguage(const Aws::String& value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage = value; }
260 inline void SetResponseContentLanguage(Aws::String&& value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage = std::move(value); }
261 inline void SetResponseContentLanguage(const char* value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage.assign(value); }
263 inline HeadObjectRequest& WithResponseContentLanguage(Aws::String&& value) { SetResponseContentLanguage(std::move(value)); return *this;}
264 inline HeadObjectRequest& WithResponseContentLanguage(const char* value) { SetResponseContentLanguage(value); return *this;}
266
268
271 inline const Aws::String& GetResponseContentType() const{ return m_responseContentType; }
272 inline bool ResponseContentTypeHasBeenSet() const { return m_responseContentTypeHasBeenSet; }
273 inline void SetResponseContentType(const Aws::String& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; }
274 inline void SetResponseContentType(Aws::String&& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = std::move(value); }
275 inline void SetResponseContentType(const char* value) { m_responseContentTypeHasBeenSet = true; m_responseContentType.assign(value); }
277 inline HeadObjectRequest& WithResponseContentType(Aws::String&& value) { SetResponseContentType(std::move(value)); return *this;}
278 inline HeadObjectRequest& WithResponseContentType(const char* value) { SetResponseContentType(value); return *this;}
280
282
285 inline const Aws::Utils::DateTime& GetResponseExpires() const{ return m_responseExpires; }
286 inline bool ResponseExpiresHasBeenSet() const { return m_responseExpiresHasBeenSet; }
287 inline void SetResponseExpires(const Aws::Utils::DateTime& value) { m_responseExpiresHasBeenSet = true; m_responseExpires = value; }
288 inline void SetResponseExpires(Aws::Utils::DateTime&& value) { m_responseExpiresHasBeenSet = true; m_responseExpires = std::move(value); }
290 inline HeadObjectRequest& WithResponseExpires(Aws::Utils::DateTime&& value) { SetResponseExpires(std::move(value)); return *this;}
292
294
299 inline const Aws::String& GetVersionId() const{ return m_versionId; }
300 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
301 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
302 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
303 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
304 inline HeadObjectRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
305 inline HeadObjectRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
306 inline HeadObjectRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
308
310
315 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
316 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
317 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
318 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
319 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
321 inline HeadObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
322 inline HeadObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
324
326
334 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
335 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
336 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
337 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
338 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
339 inline HeadObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
340 inline HeadObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
341 inline HeadObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
343
345
351 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
352 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
353 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
354 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
355 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
356 inline HeadObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
357 inline HeadObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
358 inline HeadObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
360
362
363 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
364 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
365 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
366 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
367 inline HeadObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
368 inline HeadObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
370
372
378 inline int GetPartNumber() const{ return m_partNumber; }
379 inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; }
380 inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; }
381 inline HeadObjectRequest& WithPartNumber(int value) { SetPartNumber(value); return *this;}
383
385
390 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
391 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
392 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
393 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
394 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
396 inline HeadObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
397 inline HeadObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
399
401
414 inline const ChecksumMode& GetChecksumMode() const{ return m_checksumMode; }
415 inline bool ChecksumModeHasBeenSet() const { return m_checksumModeHasBeenSet; }
416 inline void SetChecksumMode(const ChecksumMode& value) { m_checksumModeHasBeenSet = true; m_checksumMode = value; }
417 inline void SetChecksumMode(ChecksumMode&& value) { m_checksumModeHasBeenSet = true; m_checksumMode = std::move(value); }
418 inline HeadObjectRequest& WithChecksumMode(const ChecksumMode& value) { SetChecksumMode(value); return *this;}
419 inline HeadObjectRequest& WithChecksumMode(ChecksumMode&& value) { SetChecksumMode(std::move(value)); return *this;}
421
423
424 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
425 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
426 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
427 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
430 inline HeadObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
431 inline HeadObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
432 inline HeadObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
433 inline HeadObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
434 inline HeadObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
435 inline HeadObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
436 inline HeadObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
438 private:
439
440 Aws::String m_bucket;
441 bool m_bucketHasBeenSet = false;
442
443 Aws::String m_ifMatch;
444 bool m_ifMatchHasBeenSet = false;
445
446 Aws::Utils::DateTime m_ifModifiedSince;
447 bool m_ifModifiedSinceHasBeenSet = false;
448
449 Aws::String m_ifNoneMatch;
450 bool m_ifNoneMatchHasBeenSet = false;
451
452 Aws::Utils::DateTime m_ifUnmodifiedSince;
453 bool m_ifUnmodifiedSinceHasBeenSet = false;
454
455 Aws::String m_key;
456 bool m_keyHasBeenSet = false;
457
458 Aws::String m_range;
459 bool m_rangeHasBeenSet = false;
460
461 Aws::String m_responseCacheControl;
462 bool m_responseCacheControlHasBeenSet = false;
463
464 Aws::String m_responseContentDisposition;
465 bool m_responseContentDispositionHasBeenSet = false;
466
467 Aws::String m_responseContentEncoding;
468 bool m_responseContentEncodingHasBeenSet = false;
469
470 Aws::String m_responseContentLanguage;
471 bool m_responseContentLanguageHasBeenSet = false;
472
473 Aws::String m_responseContentType;
474 bool m_responseContentTypeHasBeenSet = false;
475
476 Aws::Utils::DateTime m_responseExpires;
477 bool m_responseExpiresHasBeenSet = false;
478
479 Aws::String m_versionId;
480 bool m_versionIdHasBeenSet = false;
481
482 Aws::String m_sSECustomerAlgorithm;
483 bool m_sSECustomerAlgorithmHasBeenSet = false;
484
485 Aws::String m_sSECustomerKey;
486 bool m_sSECustomerKeyHasBeenSet = false;
487
488 Aws::String m_sSECustomerKeyMD5;
489 bool m_sSECustomerKeyMD5HasBeenSet = false;
490
491 RequestPayer m_requestPayer;
492 bool m_requestPayerHasBeenSet = false;
493
494 int m_partNumber;
495 bool m_partNumberHasBeenSet = false;
496
497 Aws::String m_expectedBucketOwner;
498 bool m_expectedBucketOwnerHasBeenSet = false;
499
500 ChecksumMode m_checksumMode;
501 bool m_checksumModeHasBeenSet = false;
502
503 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
504 bool m_customizedAccessLogTagHasBeenSet = false;
505 };
506
507} // namespace Model
508} // namespace S3Crt
509} // namespace Aws
void SetResponseContentEncoding(const Aws::String &value)
HeadObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
const Aws::String & GetResponseContentLanguage() const
HeadObjectRequest & WithIfMatch(const Aws::String &value)
void SetResponseContentDisposition(const Aws::String &value)
void SetIfModifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & WithKey(Aws::String &&value)
HeadObjectRequest & WithSSECustomerKey(const Aws::String &value)
void SetResponseContentType(Aws::String &&value)
void SetVersionId(const Aws::String &value)
HeadObjectRequest & WithResponseContentType(Aws::String &&value)
HeadObjectRequest & WithResponseContentLanguage(const char *value)
HeadObjectRequest & WithResponseExpires(const Aws::Utils::DateTime &value)
void SetBucket(Aws::String &&value)
HeadObjectRequest & WithRequestPayer(RequestPayer &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
HeadObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
const ChecksumMode & GetChecksumMode() const
HeadObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
const Aws::String & GetSSECustomerKey() const
HeadObjectRequest & WithResponseCacheControl(Aws::String &&value)
void SetResponseCacheControl(const Aws::String &value)
void SetResponseContentLanguage(Aws::String &&value)
HeadObjectRequest & WithSSECustomerKeyMD5(const char *value)
HeadObjectRequest & WithResponseContentEncoding(const Aws::String &value)
void SetIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetRange(const Aws::String &value)
HeadObjectRequest & WithRange(Aws::String &&value)
const Aws::String & GetIfMatch() const
HeadObjectRequest & WithRange(const char *value)
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
const Aws::String & GetResponseCacheControl() const
HeadObjectRequest & WithIfModifiedSince(const Aws::Utils::DateTime &value)
void SetSSECustomerKey(const char *value)
HeadObjectRequest & WithRange(const Aws::String &value)
HeadObjectRequest & WithIfMatch(const char *value)
void SetResponseCacheControl(Aws::String &&value)
void SetResponseContentType(const char *value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
HeadObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
void SetResponseContentLanguage(const char *value)
HeadObjectRequest & WithChecksumMode(ChecksumMode &&value)
void SetSSECustomerAlgorithm(const char *value)
HeadObjectRequest & WithResponseContentLanguage(const Aws::String &value)
HeadObjectRequest & WithBucket(Aws::String &&value)
void SetIfModifiedSince(Aws::Utils::DateTime &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetIfMatch(const Aws::String &value)
const Aws::String & GetVersionId() const
void SetChecksumMode(const ChecksumMode &value)
HeadObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
HeadObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
const RequestPayer & GetRequestPayer() const
void SetExpectedBucketOwner(Aws::String &&value)
HeadObjectRequest & WithSSECustomerKey(Aws::String &&value)
HeadObjectRequest & WithKey(const Aws::String &value)
HeadObjectRequest & WithSSECustomerAlgorithm(const char *value)
virtual const char * GetServiceRequestName() const override
void SetIfUnmodifiedSince(const Aws::Utils::DateTime &value)
HeadObjectRequest & WithVersionId(const char *value)
void SetRequestPayer(RequestPayer &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const Aws::Utils::DateTime & GetResponseExpires() const
void SetVersionId(Aws::String &&value)
void SetResponseContentEncoding(Aws::String &&value)
void SetResponseContentDisposition(const char *value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
HeadObjectRequest & WithIfNoneMatch(const char *value)
HeadObjectRequest & WithVersionId(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
HeadObjectRequest & WithIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetResponseContentType(const Aws::String &value)
HeadObjectRequest & WithResponseExpires(Aws::Utils::DateTime &&value)
HeadObjectRequest & WithResponseContentDisposition(const Aws::String &value)
HeadObjectRequest & WithIfNoneMatch(Aws::String &&value)
void SetSSECustomerKey(const Aws::String &value)
HeadObjectRequest & WithExpectedBucketOwner(const char *value)
HeadObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
HeadObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetIfNoneMatch(const Aws::String &value)
HeadObjectRequest & WithIfUnmodifiedSince(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetIfUnmodifiedSince() const
HeadObjectRequest & WithRequestPayer(const RequestPayer &value)
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetKey() const
HeadObjectRequest & WithKey(const char *value)
HeadObjectRequest & WithResponseContentEncoding(const char *value)
AWS_S3CRT_API Aws::String SerializePayload() const override
HeadObjectRequest & WithPartNumber(int value)
void SetIfNoneMatch(Aws::String &&value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetResponseCacheControl(const char *value)
void SetSSECustomerKey(Aws::String &&value)
HeadObjectRequest & WithChecksumMode(const ChecksumMode &value)
const Aws::String & GetResponseContentEncoding() const
const Aws::String & GetBucket() const
void SetRequestPayer(const RequestPayer &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetResponseContentEncoding(const char *value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectRequest & WithResponseCacheControl(const char *value)
void SetBucket(const Aws::String &value)
const Aws::String & GetRange() const
HeadObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
HeadObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
HeadObjectRequest & WithIfMatch(Aws::String &&value)
void SetExpectedBucketOwner(const char *value)
const Aws::Utils::DateTime & GetIfModifiedSince() const
HeadObjectRequest & WithBucket(const char *value)
void SetSSECustomerKeyMD5(Aws::String &&value)
HeadObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
HeadObjectRequest & WithSSECustomerKey(const char *value)
void SetExpectedBucketOwner(const Aws::String &value)
const Aws::String & GetResponseContentType() const
HeadObjectRequest & WithResponseContentType(const char *value)
HeadObjectRequest & WithIfNoneMatch(const Aws::String &value)
const Aws::String & GetResponseContentDisposition() const
HeadObjectRequest & WithResponseContentDisposition(Aws::String &&value)
HeadObjectRequest & WithResponseCacheControl(const Aws::String &value)
HeadObjectRequest & WithVersionId(const Aws::String &value)
void SetChecksumMode(ChecksumMode &&value)
HeadObjectRequest & WithResponseContentEncoding(Aws::String &&value)
HeadObjectRequest & WithResponseContentType(const Aws::String &value)
void SetResponseExpires(const Aws::Utils::DateTime &value)
void SetResponseContentLanguage(const Aws::String &value)
const Aws::String & GetIfNoneMatch() const
void SetResponseContentDisposition(Aws::String &&value)
void SetSSECustomerAlgorithm(const Aws::String &value)
HeadObjectRequest & WithBucket(const Aws::String &value)
HeadObjectRequest & WithIfModifiedSince(Aws::Utils::DateTime &&value)
const Aws::String & GetExpectedBucketOwner() const
HeadObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetResponseExpires(Aws::Utils::DateTime &&value)
HeadObjectRequest & WithResponseContentLanguage(Aws::String &&value)
HeadObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
void SetKey(const Aws::String &value)
HeadObjectRequest & WithResponseContentDisposition(const char *value)
void SetSSECustomerAlgorithm(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String