7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/SelectObjectContentHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3/model/ExpressionType.h>
13#include <aws/s3/model/RequestProgress.h>
14#include <aws/s3/model/InputSerialization.h>
15#include <aws/s3/model/OutputSerialization.h>
16#include <aws/s3/model/ScanRange.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
98 template<
typename BucketT = Aws::String>
99 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
100 template<
typename BucketT = Aws::String>
110 template<
typename KeyT = Aws::String>
111 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
112 template<
typename KeyT = Aws::String>
126 template<
typename SSECustomerAlgorithmT = Aws::String>
127 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
128 template<
typename SSECustomerAlgorithmT = Aws::String>
142 template<
typename SSECustomerKeyT = Aws::String>
143 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
144 template<
typename SSECustomerKeyT = Aws::String>
158 template<
typename SSECustomerKeyMD5T = Aws::String>
159 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
160 template<
typename SSECustomerKeyMD5T = Aws::String>
170 template<
typename ExpressionT = Aws::String>
171 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
172 template<
typename ExpressionT = Aws::String>
192 template<
typename RequestProgressT = RequestProgress>
193 void SetRequestProgress(RequestProgressT&& value) { m_requestProgressHasBeenSet =
true; m_requestProgress = std::forward<RequestProgressT>(value); }
194 template<
typename RequestProgressT = RequestProgress>
204 template<
typename InputSerializationT = InputSerialization>
205 void SetInputSerialization(InputSerializationT&& value) { m_inputSerializationHasBeenSet =
true; m_inputSerialization = std::forward<InputSerializationT>(value); }
206 template<
typename InputSerializationT = InputSerialization>
217 template<
typename OutputSerializationT = OutputSerialization>
218 void SetOutputSerialization(OutputSerializationT&& value) { m_outputSerializationHasBeenSet =
true; m_outputSerialization = std::forward<OutputSerializationT>(value); }
219 template<
typename OutputSerializationT = OutputSerialization>
240 template<
typename ScanRangeT = ScanRange>
241 void SetScanRange(ScanRangeT&& value) { m_scanRangeHasBeenSet =
true; m_scanRange = std::forward<ScanRangeT>(value); }
242 template<
typename ScanRangeT = ScanRange>
254 template<
typename ExpectedBucketOwnerT = Aws::String>
255 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
256 template<
typename ExpectedBucketOwnerT = Aws::String>
264 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
265 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
266 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
268 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
270 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
276 bool m_bucketHasBeenSet =
false;
279 bool m_keyHasBeenSet =
false;
282 bool m_sSECustomerAlgorithmHasBeenSet =
false;
285 bool m_sSECustomerKeyHasBeenSet =
false;
288 bool m_sSECustomerKeyMD5HasBeenSet =
false;
291 bool m_expressionHasBeenSet =
false;
294 bool m_expressionTypeHasBeenSet =
false;
296 RequestProgress m_requestProgress;
297 bool m_requestProgressHasBeenSet =
false;
299 InputSerialization m_inputSerialization;
300 bool m_inputSerializationHasBeenSet =
false;
302 OutputSerialization m_outputSerialization;
303 bool m_outputSerializationHasBeenSet =
false;
305 ScanRange m_scanRange;
306 bool m_scanRangeHasBeenSet =
false;
309 bool m_expectedBucketOwnerHasBeenSet =
false;
312 bool m_customizedAccessLogTagHasBeenSet =
false;
313 SelectObjectContentHandler m_handler;
SelectObjectContentHandler & GetEventStreamHandler()
SelectObjectContentRequest & WithKey(KeyT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetKey(KeyT &&value)
SelectObjectContentRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetExpression(ExpressionT &&value)
void SetOutputSerialization(OutputSerializationT &&value)
bool RequestProgressHasBeenSet() const
const OutputSerialization & GetOutputSerialization() const
bool OutputSerializationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSSECustomerAlgorithm() const
bool ScanRangeHasBeenSet() const
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetExpressionType(ExpressionType value)
SelectObjectContentRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
const Aws::String & GetExpression() const
SelectObjectContentRequest & WithBucket(BucketT &&value)
SelectObjectContentRequest & WithRequestProgress(RequestProgressT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
virtual bool HasEventStreamResponse() const override
bool InputSerializationHasBeenSet() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetSSECustomerKey() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetKey() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
SelectObjectContentRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetScanRange(ScanRangeT &&value)
SelectObjectContentRequest & WithOutputSerialization(OutputSerializationT &&value)
void SetRequestProgress(RequestProgressT &&value)
SelectObjectContentRequest & WithExpressionType(ExpressionType value)
ExpressionType GetExpressionType() const
const Aws::String & GetBucket() const
bool SSECustomerAlgorithmHasBeenSet() const
const InputSerialization & GetInputSerialization() const
bool SSECustomerKeyMD5HasBeenSet() const
AWS_S3_API Aws::String SerializePayload() const override
SelectObjectContentRequest & WithScanRange(ScanRangeT &&value)
SelectObjectContentRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const ScanRange & GetScanRange() const
void SetInputSerialization(InputSerializationT &&value)
bool BucketHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
const RequestProgress & GetRequestProgress() const
SelectObjectContentRequest & WithEventStreamHandler(const SelectObjectContentHandler &value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool ExpressionTypeHasBeenSet() const
void SetEventStreamHandler(const SelectObjectContentHandler &value)
bool KeyHasBeenSet() const
SelectObjectContentRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool SSECustomerKeyHasBeenSet() const
bool ExpressionHasBeenSet() const
SelectObjectContentRequest & WithExpression(ExpressionT &&value)
SelectObjectContentRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
SelectObjectContentRequest & WithInputSerialization(InputSerializationT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetBucket(BucketT &&value)
AWS_S3_API SelectObjectContentRequest()=default
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Endpoint::EndpointParameters EndpointParameters
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_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String