AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
SelectObjectContentRequest.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Http
23{
24 class URI;
25} //namespace Http
26namespace S3
27{
28namespace Model
29{
30
44 {
45 public:
47
48 // Service request name is the Operation name which will send this request out,
49 // each operation should has unique request name, so that we can get operation's name from this request.
50 // Note: this is not true for response, multiple operations may have the same response name,
51 // so we can not get operation's name from response.
52 inline virtual const char* GetServiceRequestName() const override { return "SelectObjectContent"; }
53
55
57
59
64
68 inline const SelectObjectContentHandler& GetEventStreamHandler() const { return m_handler; }
69
73 inline void SetEventStreamHandler(const SelectObjectContentHandler& value) { m_handler = value; m_decoder.ResetEventStreamHandler(&m_handler); }
74
79
84
88 inline const Aws::String& GetBucket() const{ return m_bucket; }
89
93 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
94
98 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
99
103 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
104
108 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
109
113 inline SelectObjectContentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
114
118 inline SelectObjectContentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
119
123 inline SelectObjectContentRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
124
125
129 inline const Aws::String& GetKey() const{ return m_key; }
130
134 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
135
139 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
140
144 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
145
149 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
150
154 inline SelectObjectContentRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
155
159 inline SelectObjectContentRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
160
164 inline SelectObjectContentRequest& WithKey(const char* value) { SetKey(value); return *this;}
165
166
174 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
175
183 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
184
192 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
193
201 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
202
210 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
211
220
229
237 inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
238
239
247 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
248
256 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
257
265 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
266
274 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
275
283 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
284
292 inline SelectObjectContentRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
293
301 inline SelectObjectContentRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
302
310 inline SelectObjectContentRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
311
312
320 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
321
329 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
330
338 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
339
347 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
348
356 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
357
366
374 inline SelectObjectContentRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
375
383 inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
384
385
389 inline const Aws::String& GetExpression() const{ return m_expression; }
390
394 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
395
399 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
400
404 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
405
409 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
410
414 inline SelectObjectContentRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
415
419 inline SelectObjectContentRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
420
424 inline SelectObjectContentRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
425
426
430 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
431
435 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
436
440 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
441
445 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
446
451
455 inline SelectObjectContentRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
456
457
461 inline const RequestProgress& GetRequestProgress() const{ return m_requestProgress; }
462
466 inline bool RequestProgressHasBeenSet() const { return m_requestProgressHasBeenSet; }
467
471 inline void SetRequestProgress(const RequestProgress& value) { m_requestProgressHasBeenSet = true; m_requestProgress = value; }
472
476 inline void SetRequestProgress(RequestProgress&& value) { m_requestProgressHasBeenSet = true; m_requestProgress = std::move(value); }
477
482
486 inline SelectObjectContentRequest& WithRequestProgress(RequestProgress&& value) { SetRequestProgress(std::move(value)); return *this;}
487
488
492 inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; }
493
497 inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; }
498
502 inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; }
503
507 inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); }
508
513
518
519
524 inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; }
525
530 inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; }
531
536 inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; }
537
542 inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); }
543
549
555
556
571 inline const ScanRange& GetScanRange() const{ return m_scanRange; }
572
587 inline bool ScanRangeHasBeenSet() const { return m_scanRangeHasBeenSet; }
588
603 inline void SetScanRange(const ScanRange& value) { m_scanRangeHasBeenSet = true; m_scanRange = value; }
604
619 inline void SetScanRange(ScanRange&& value) { m_scanRangeHasBeenSet = true; m_scanRange = std::move(value); }
620
635 inline SelectObjectContentRequest& WithScanRange(const ScanRange& value) { SetScanRange(value); return *this;}
636
651 inline SelectObjectContentRequest& WithScanRange(ScanRange&& value) { SetScanRange(std::move(value)); return *this;}
652
653
659 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
660
666 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
667
673 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
674
680 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
681
687 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
688
695
702
708 inline SelectObjectContentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
709
710
711
712 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
713
714
715 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
716
717
718 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
719
720
721 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
722
723
725
726
728
729
730 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
731
732
733 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
734
735
736 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
737
738
739 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
740
741
742 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
743
744
745 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
746
747
748 inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
749
750 private:
751
752 Aws::String m_bucket;
753 bool m_bucketHasBeenSet = false;
754
755 Aws::String m_key;
756 bool m_keyHasBeenSet = false;
757
758 Aws::String m_sSECustomerAlgorithm;
759 bool m_sSECustomerAlgorithmHasBeenSet = false;
760
761 Aws::String m_sSECustomerKey;
762 bool m_sSECustomerKeyHasBeenSet = false;
763
764 Aws::String m_sSECustomerKeyMD5;
765 bool m_sSECustomerKeyMD5HasBeenSet = false;
766
767 Aws::String m_expression;
768 bool m_expressionHasBeenSet = false;
769
770 ExpressionType m_expressionType;
771 bool m_expressionTypeHasBeenSet = false;
772
773 RequestProgress m_requestProgress;
774 bool m_requestProgressHasBeenSet = false;
775
776 InputSerialization m_inputSerialization;
777 bool m_inputSerializationHasBeenSet = false;
778
779 OutputSerialization m_outputSerialization;
780 bool m_outputSerializationHasBeenSet = false;
781
782 ScanRange m_scanRange;
783 bool m_scanRangeHasBeenSet = false;
784
785 Aws::String m_expectedBucketOwner;
786 bool m_expectedBucketOwnerHasBeenSet = false;
787
788 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
789 bool m_customizedAccessLogTagHasBeenSet = false;
792
793 };
794
795} // namespace Model
796} // namespace S3
797} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
SelectObjectContentRequest & WithSSECustomerAlgorithm(Aws::String &&value)
SelectObjectContentRequest & WithSSECustomerKey(const Aws::String &value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
SelectObjectContentRequest & WithKey(const Aws::String &value)
SelectObjectContentRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetInputSerialization(const InputSerialization &value)
SelectObjectContentRequest & WithInputSerialization(const InputSerialization &value)
SelectObjectContentRequest & WithExpression(Aws::String &&value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
SelectObjectContentRequest & WithSSECustomerAlgorithm(const char *value)
SelectObjectContentRequest & WithSSECustomerKeyMD5(const char *value)
const OutputSerialization & GetOutputSerialization() const
virtual const char * GetServiceRequestName() const override
void SetRequestProgress(const RequestProgress &value)
SelectObjectContentRequest & WithExpression(const char *value)
SelectObjectContentRequest & WithExpectedBucketOwner(Aws::String &&value)
SelectObjectContentRequest & WithBucket(Aws::String &&value)
SelectObjectContentRequest & WithInputSerialization(InputSerialization &&value)
SelectObjectContentRequest & WithSSECustomerKeyMD5(const Aws::String &value)
void SetExpressionType(const ExpressionType &value)
SelectObjectContentRequest & WithSSECustomerAlgorithm(const Aws::String &value)
SelectObjectContentRequest & WithOutputSerialization(OutputSerialization &&value)
SelectObjectContentRequest & WithSSECustomerKey(const char *value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
SelectObjectContentRequest & WithScanRange(const ScanRange &value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
SelectObjectContentRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
SelectObjectContentRequest & WithExpressionType(const ExpressionType &value)
SelectObjectContentRequest & WithBucket(const Aws::String &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
SelectObjectContentRequest & WithKey(Aws::String &&value)
void SetInputSerialization(InputSerialization &&value)
SelectObjectContentRequest & WithSSECustomerKey(Aws::String &&value)
const InputSerialization & GetInputSerialization() const
AWS_S3_API Aws::String SerializePayload() const override
SelectObjectContentRequest & WithExpectedBucketOwner(const char *value)
void SetSSECustomerAlgorithm(const Aws::String &value)
SelectObjectContentRequest & WithSSECustomerKeyMD5(Aws::String &&value)
SelectObjectContentRequest & WithScanRange(ScanRange &&value)
SelectObjectContentRequest & WithExpectedBucketOwner(const Aws::String &value)
SelectObjectContentRequest & WithRequestProgress(RequestProgress &&value)
SelectObjectContentRequest & WithKey(const char *value)
const SelectObjectContentHandler & GetEventStreamHandler() const
SelectObjectContentRequest & WithEventStreamHandler(const SelectObjectContentHandler &value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
SelectObjectContentRequest & WithRequestProgress(const RequestProgress &value)
SelectObjectContentRequest & WithOutputSerialization(const OutputSerialization &value)
SelectObjectContentRequest & WithExpressionType(ExpressionType &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetEventStreamHandler(const SelectObjectContentHandler &value)
void SetOutputSerialization(OutputSerialization &&value)
SelectObjectContentRequest & WithBucket(const char *value)
void SetOutputSerialization(const OutputSerialization &value)
SelectObjectContentRequest & WithExpression(const Aws::String &value)
SelectObjectContentRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String