AWS SDK for C++  0.12.9
AWS SDK for C++
GetObjectRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/s3/S3_EXPORTS.h>
17 #include <aws/s3/S3Request.h>
21 
22 namespace Aws
23 {
24 namespace Http
25 {
26  class URI;
27 } //namespace Http
28 namespace S3
29 {
30 namespace Model
31 {
32 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
44 
45 
46  inline const Aws::String& GetBucket() const{ return m_bucket; }
47 
48 
49  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
50 
51 
52  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = value; }
53 
54 
55  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
56 
57 
58  inline GetObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
59 
60 
61  inline GetObjectRequest& WithBucket(Aws::String&& value) { SetBucket(value); return *this;}
62 
63 
64  inline GetObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
65 
70  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
71 
76  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
77 
82  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
83 
88  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
89 
94  inline GetObjectRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
95 
100  inline GetObjectRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(value); return *this;}
101 
106  inline GetObjectRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
107 
112  inline const Aws::Utils::DateTime& GetIfModifiedSince() const{ return m_ifModifiedSince; }
113 
118  inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; }
119 
124  inline void SetIfModifiedSince(Aws::Utils::DateTime&& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; }
125 
130  inline GetObjectRequest& WithIfModifiedSince(const Aws::Utils::DateTime& value) { SetIfModifiedSince(value); return *this;}
131 
136  inline GetObjectRequest& WithIfModifiedSince(Aws::Utils::DateTime&& value) { SetIfModifiedSince(value); return *this;}
137 
142  inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
143 
148  inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
149 
154  inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
155 
160  inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
161 
166  inline GetObjectRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;}
167 
172  inline GetObjectRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(value); return *this;}
173 
178  inline GetObjectRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
179 
184  inline const Aws::Utils::DateTime& GetIfUnmodifiedSince() const{ return m_ifUnmodifiedSince; }
185 
190  inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; }
191 
196  inline void SetIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; }
197 
202  inline GetObjectRequest& WithIfUnmodifiedSince(const Aws::Utils::DateTime& value) { SetIfUnmodifiedSince(value); return *this;}
203 
208  inline GetObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(value); return *this;}
209 
210 
211  inline const Aws::String& GetKey() const{ return m_key; }
212 
213 
214  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
215 
216 
217  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = value; }
218 
219 
220  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
221 
222 
223  inline GetObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
224 
225 
226  inline GetObjectRequest& WithKey(Aws::String&& value) { SetKey(value); return *this;}
227 
228 
229  inline GetObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
230 
236  inline const Aws::String& GetRange() const{ return m_range; }
237 
243  inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; }
244 
250  inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = value; }
251 
257  inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); }
258 
264  inline GetObjectRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;}
265 
271  inline GetObjectRequest& WithRange(Aws::String&& value) { SetRange(value); return *this;}
272 
278  inline GetObjectRequest& WithRange(const char* value) { SetRange(value); return *this;}
279 
283  inline const Aws::String& GetResponseCacheControl() const{ return m_responseCacheControl; }
284 
288  inline void SetResponseCacheControl(const Aws::String& value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl = value; }
289 
293  inline void SetResponseCacheControl(Aws::String&& value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl = value; }
294 
298  inline void SetResponseCacheControl(const char* value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl.assign(value); }
299 
303  inline GetObjectRequest& WithResponseCacheControl(const Aws::String& value) { SetResponseCacheControl(value); return *this;}
304 
308  inline GetObjectRequest& WithResponseCacheControl(Aws::String&& value) { SetResponseCacheControl(value); return *this;}
309 
313  inline GetObjectRequest& WithResponseCacheControl(const char* value) { SetResponseCacheControl(value); return *this;}
314 
318  inline const Aws::String& GetResponseContentDisposition() const{ return m_responseContentDisposition; }
319 
323  inline void SetResponseContentDisposition(const Aws::String& value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition = value; }
324 
328  inline void SetResponseContentDisposition(Aws::String&& value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition = value; }
329 
333  inline void SetResponseContentDisposition(const char* value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition.assign(value); }
334 
338  inline GetObjectRequest& WithResponseContentDisposition(const Aws::String& value) { SetResponseContentDisposition(value); return *this;}
339 
343  inline GetObjectRequest& WithResponseContentDisposition(Aws::String&& value) { SetResponseContentDisposition(value); return *this;}
344 
348  inline GetObjectRequest& WithResponseContentDisposition(const char* value) { SetResponseContentDisposition(value); return *this;}
349 
353  inline const Aws::String& GetResponseContentEncoding() const{ return m_responseContentEncoding; }
354 
358  inline void SetResponseContentEncoding(const Aws::String& value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding = value; }
359 
363  inline void SetResponseContentEncoding(Aws::String&& value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding = value; }
364 
368  inline void SetResponseContentEncoding(const char* value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding.assign(value); }
369 
373  inline GetObjectRequest& WithResponseContentEncoding(const Aws::String& value) { SetResponseContentEncoding(value); return *this;}
374 
378  inline GetObjectRequest& WithResponseContentEncoding(Aws::String&& value) { SetResponseContentEncoding(value); return *this;}
379 
383  inline GetObjectRequest& WithResponseContentEncoding(const char* value) { SetResponseContentEncoding(value); return *this;}
384 
388  inline const Aws::String& GetResponseContentLanguage() const{ return m_responseContentLanguage; }
389 
393  inline void SetResponseContentLanguage(const Aws::String& value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage = value; }
394 
398  inline void SetResponseContentLanguage(Aws::String&& value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage = value; }
399 
403  inline void SetResponseContentLanguage(const char* value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage.assign(value); }
404 
408  inline GetObjectRequest& WithResponseContentLanguage(const Aws::String& value) { SetResponseContentLanguage(value); return *this;}
409 
413  inline GetObjectRequest& WithResponseContentLanguage(Aws::String&& value) { SetResponseContentLanguage(value); return *this;}
414 
418  inline GetObjectRequest& WithResponseContentLanguage(const char* value) { SetResponseContentLanguage(value); return *this;}
419 
423  inline const Aws::String& GetResponseContentType() const{ return m_responseContentType; }
424 
428  inline void SetResponseContentType(const Aws::String& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; }
429 
433  inline void SetResponseContentType(Aws::String&& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; }
434 
438  inline void SetResponseContentType(const char* value) { m_responseContentTypeHasBeenSet = true; m_responseContentType.assign(value); }
439 
443  inline GetObjectRequest& WithResponseContentType(const Aws::String& value) { SetResponseContentType(value); return *this;}
444 
448  inline GetObjectRequest& WithResponseContentType(Aws::String&& value) { SetResponseContentType(value); return *this;}
449 
453  inline GetObjectRequest& WithResponseContentType(const char* value) { SetResponseContentType(value); return *this;}
454 
458  inline const Aws::Utils::DateTime& GetResponseExpires() const{ return m_responseExpires; }
459 
463  inline void SetResponseExpires(const Aws::Utils::DateTime& value) { m_responseExpiresHasBeenSet = true; m_responseExpires = value; }
464 
468  inline void SetResponseExpires(Aws::Utils::DateTime&& value) { m_responseExpiresHasBeenSet = true; m_responseExpires = value; }
469 
473  inline GetObjectRequest& WithResponseExpires(const Aws::Utils::DateTime& value) { SetResponseExpires(value); return *this;}
474 
478  inline GetObjectRequest& WithResponseExpires(Aws::Utils::DateTime&& value) { SetResponseExpires(value); return *this;}
479 
483  inline const Aws::String& GetVersionId() const{ return m_versionId; }
484 
488  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
489 
493  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
494 
498  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
499 
503  inline GetObjectRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
504 
508  inline GetObjectRequest& WithVersionId(Aws::String&& value) { SetVersionId(value); return *this;}
509 
513  inline GetObjectRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
514 
518  inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
519 
523  inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
524 
528  inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
529 
533  inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
534 
538  inline GetObjectRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;}
539 
543  inline GetObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(value); return *this;}
544 
548  inline GetObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
549 
557  inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
558 
566  inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
567 
575  inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
576 
584  inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
585 
593  inline GetObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
594 
602  inline GetObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(value); return *this;}
603 
611  inline GetObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
612 
618  inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
619 
625  inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
626 
632  inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
633 
639  inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
640 
646  inline GetObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
647 
653  inline GetObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(value); return *this;}
654 
660  inline GetObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
661 
662 
663  inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
664 
665 
666  inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
667 
668 
669  inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
670 
671 
672  inline GetObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
673 
674 
675  inline GetObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(value); return *this;}
676 
677  private:
678  Aws::String m_bucket;
679  bool m_bucketHasBeenSet;
680  Aws::String m_ifMatch;
681  bool m_ifMatchHasBeenSet;
682  Aws::Utils::DateTime m_ifModifiedSince;
683  bool m_ifModifiedSinceHasBeenSet;
684  Aws::String m_ifNoneMatch;
685  bool m_ifNoneMatchHasBeenSet;
686  Aws::Utils::DateTime m_ifUnmodifiedSince;
687  bool m_ifUnmodifiedSinceHasBeenSet;
688  Aws::String m_key;
689  bool m_keyHasBeenSet;
690  Aws::String m_range;
691  bool m_rangeHasBeenSet;
692  Aws::String m_responseCacheControl;
693  bool m_responseCacheControlHasBeenSet;
694  Aws::String m_responseContentDisposition;
695  bool m_responseContentDispositionHasBeenSet;
696  Aws::String m_responseContentEncoding;
697  bool m_responseContentEncodingHasBeenSet;
698  Aws::String m_responseContentLanguage;
699  bool m_responseContentLanguageHasBeenSet;
700  Aws::String m_responseContentType;
701  bool m_responseContentTypeHasBeenSet;
702  Aws::Utils::DateTime m_responseExpires;
703  bool m_responseExpiresHasBeenSet;
704  Aws::String m_versionId;
705  bool m_versionIdHasBeenSet;
706  Aws::String m_sSECustomerAlgorithm;
707  bool m_sSECustomerAlgorithmHasBeenSet;
708  Aws::String m_sSECustomerKey;
709  bool m_sSECustomerKeyHasBeenSet;
710  Aws::String m_sSECustomerKeyMD5;
711  bool m_sSECustomerKeyMD5HasBeenSet;
712  RequestPayer m_requestPayer;
713  bool m_requestPayerHasBeenSet;
714  };
715 
716 } // namespace Model
717 } // namespace S3
718 } // namespace Aws
const Aws::Utils::DateTime & GetResponseExpires() const
GetObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
const Aws::String & GetResponseContentDisposition() const
void SetIfNoneMatch(const Aws::String &value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetRange(const Aws::String &value)
GetObjectRequest & WithResponseCacheControl(Aws::String &&value)
void SetResponseCacheControl(const Aws::String &value)
GetObjectRequest & WithIfUnmodifiedSince(const Aws::Utils::DateTime &value)
const Aws::String & GetResponseContentLanguage() const
GetObjectRequest & WithResponseExpires(const Aws::Utils::DateTime &value)
GetObjectRequest & WithRequestPayer(RequestPayer &&value)
GetObjectRequest & WithResponseContentDisposition(Aws::String &&value)
GetObjectRequest & WithResponseExpires(Aws::Utils::DateTime &&value)
void SetSSECustomerAlgorithm(Aws::String &&value)
void SetIfNoneMatch(Aws::String &&value)
GetObjectRequest & WithResponseContentType(const char *value)
const Aws::String & GetBucket() const
void SetResponseContentEncoding(const Aws::String &value)
void SetResponseContentEncoding(const char *value)
void SetIfMatch(const Aws::String &value)
void SetVersionId(const Aws::String &value)
void SetResponseContentLanguage(Aws::String &&value)
void SetSSECustomerKey(const char *value)
GetObjectRequest & WithResponseContentEncoding(const char *value)
const Aws::String & GetResponseContentEncoding() const
void SetResponseCacheControl(const char *value)
GetObjectRequest & WithResponseContentLanguage(const char *value)
GetObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
GetObjectRequest & WithResponseContentDisposition(const Aws::String &value)
const Aws::Utils::DateTime & GetIfUnmodifiedSince() const
GetObjectRequest & WithSSECustomerKey(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
GetObjectRequest & WithRange(const char *value)
void SetSSECustomerKeyMD5(const Aws::String &value)
void SetRange(const char *value)
void SetResponseContentLanguage(const char *value)
#define AWS_S3_API
Definition: S3_EXPORTS.h:34
const RequestPayer & GetRequestPayer() const
void SetBucket(Aws::String &&value)
void SetKey(Aws::String &&value)
void SetIfNoneMatch(const char *value)
GetObjectRequest & WithResponseContentLanguage(Aws::String &&value)
void SetResponseExpires(const Aws::Utils::DateTime &value)
GetObjectRequest & WithResponseContentType(Aws::String &&value)
GetObjectRequest & WithRequestPayer(const RequestPayer &value)
GetObjectRequest & WithBucket(const char *value)
GetObjectRequest & WithVersionId(const Aws::String &value)
GetObjectRequest & WithIfModifiedSince(Aws::Utils::DateTime &&value)
void SetSSECustomerAlgorithm(const char *value)
void SetVersionId(Aws::String &&value)
GetObjectRequest & WithIfMatch(Aws::String &&value)
const Aws::String & GetResponseCacheControl() const
GetObjectRequest & WithIfNoneMatch(Aws::String &&value)
const Aws::String & GetSSECustomerKeyMD5() const
GetObjectRequest & WithResponseContentDisposition(const char *value)
GetObjectRequest & WithIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetRequestPayer(const RequestPayer &value)
const Aws::String & GetVersionId() const
void SetResponseContentLanguage(const Aws::String &value)
GetObjectRequest & WithIfModifiedSince(const Aws::Utils::DateTime &value)
GetObjectRequest & WithResponseContentLanguage(const Aws::String &value)
const Aws::String & GetIfNoneMatch() const
void SetResponseContentDisposition(const char *value)
GetObjectRequest & WithBucket(const Aws::String &value)
const Aws::String & GetRange() const
GetObjectRequest & WithResponseContentEncoding(Aws::String &&value)
GetObjectRequest & WithKey(const Aws::String &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
void SetSSECustomerKey(Aws::String &&value)
const Aws::String & GetIfMatch() const
GetObjectRequest & WithIfNoneMatch(const Aws::String &value)
GetObjectRequest & WithSSECustomerKeyMD5(const char *value)
void SetResponseContentType(const char *value)
void SetKey(const char *value)
void SetSSECustomerKey(const Aws::String &value)
GetObjectRequest & WithResponseContentType(const Aws::String &value)
void SetResponseContentDisposition(const Aws::String &value)
void SetBucket(const Aws::String &value)
const Aws::Utils::DateTime & GetIfModifiedSince() const
GetObjectRequest & WithVersionId(Aws::String &&value)
void SetVersionId(const char *value)
void SetIfMatch(const char *value)
void SetResponseContentType(Aws::String &&value)
void SetResponseContentEncoding(Aws::String &&value)
void SetSSECustomerAlgorithm(const Aws::String &value)
GetObjectRequest & WithIfNoneMatch(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetObjectRequest & WithRange(const Aws::String &value)
void SetResponseCacheControl(Aws::String &&value)
GetObjectRequest & WithBucket(Aws::String &&value)
GetObjectRequest & WithSSECustomerAlgorithm(const char *value)
void SetRequestPayer(RequestPayer &&value)
GetObjectRequest & WithKey(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
GetObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
void SetIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetIfUnmodifiedSince(Aws::Utils::DateTime &&value)
void SetIfModifiedSince(const Aws::Utils::DateTime &value)
GetObjectRequest & WithSSECustomerKey(const char *value)
GetObjectRequest & WithRange(Aws::String &&value)
void SetIfMatch(Aws::String &&value)
GetObjectRequest & WithResponseContentEncoding(const Aws::String &value)
GetObjectRequest & WithIfMatch(const char *value)
GetObjectRequest & WithVersionId(const char *value)
void SetResponseContentType(const Aws::String &value)
void SetRange(Aws::String &&value)
void SetResponseContentDisposition(Aws::String &&value)
GetObjectRequest & WithResponseCacheControl(const char *value)
GetObjectRequest & WithIfMatch(const Aws::String &value)
GetObjectRequest & WithSSECustomerKey(Aws::String &&value)
void SetIfModifiedSince(Aws::Utils::DateTime &&value)
void SetKey(const Aws::String &value)
const Aws::String & GetResponseContentType() const
const Aws::String & GetSSECustomerKey() const
GetObjectRequest & WithResponseCacheControl(const Aws::String &value)
void SetBucket(const char *value)
JSON (JavaScript Object Notation).
void SetResponseExpires(Aws::Utils::DateTime &&value)
const Aws::String & GetKey() const
GetObjectRequest & WithKey(const char *value)