7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/ServerSideEncryption.h>
12#include <aws/s3-crt/model/SessionMode.h>
61 m_sessionModeHasBeenSet =
true;
62 m_sessionMode = value;
76 template <
typename BucketT = Aws::String>
78 m_bucketHasBeenSet =
true;
79 m_bucket = std::forward<BucketT>(value);
81 template <
typename BucketT = Aws::String>
108 m_serverSideEncryptionHasBeenSet =
true;
109 m_serverSideEncryption = value;
135 template <
typename SSEKMSKeyIdT = Aws::String>
137 m_sSEKMSKeyIdHasBeenSet =
true;
138 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
140 template <
typename SSEKMSKeyIdT = Aws::String>
166 template <
typename SSEKMSEncryptionContextT = Aws::String>
168 m_sSEKMSEncryptionContextHasBeenSet =
true;
169 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
171 template <
typename SSEKMSEncryptionContextT = Aws::String>
200 m_bucketKeyEnabledHasBeenSet =
true;
201 m_bucketKeyEnabled = value;
213 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
215 m_customizedAccessLogTagHasBeenSet =
true;
216 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
218 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
223 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
225 m_customizedAccessLogTagHasBeenSet =
true;
226 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
232 bool m_sessionModeHasBeenSet =
false;
235 bool m_bucketHasBeenSet =
false;
238 bool m_serverSideEncryptionHasBeenSet =
false;
241 bool m_sSEKMSKeyIdHasBeenSet =
false;
244 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
246 bool m_bucketKeyEnabled{
false};
247 bool m_bucketKeyEnabledHasBeenSet =
false;
250 bool m_customizedAccessLogTagHasBeenSet =
false;
CreateSessionRequest & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
ServerSideEncryption GetServerSideEncryption() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
bool ServerSideEncryptionHasBeenSet() const
bool GetBucketKeyEnabled() const
bool SSEKMSKeyIdHasBeenSet() const
SessionMode GetSessionMode() const
CreateSessionRequest & WithBucketKeyEnabled(bool value)
CreateSessionRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
CreateSessionRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::String & GetBucket() const
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3CRT_API CreateSessionRequest()=default
void SetBucketKeyEnabled(bool value)
virtual const char * GetServiceRequestName() const override
bool SSEKMSEncryptionContextHasBeenSet() const
void SetServerSideEncryption(ServerSideEncryption value)
void SetBucket(BucketT &&value)
CreateSessionRequest & WithSessionMode(SessionMode value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool BucketHasBeenSet() const
AWS_S3CRT_API Aws::String SerializePayload() const override
bool CustomizedAccessLogTagHasBeenSet() const
bool SessionModeHasBeenSet() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetSessionMode(SessionMode value)
CreateSessionRequest & WithServerSideEncryption(ServerSideEncryption value)
CreateSessionRequest & WithBucket(BucketT &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
bool BucketKeyEnabledHasBeenSet() const
const Aws::String & GetSSEKMSKeyId() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CreateSessionRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
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