7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/SessionMode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/model/ServerSideEncryption.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
74 template<
typename BucketT = Aws::String>
75 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
76 template<
typename BucketT = Aws::String>
121 template<
typename SSEKMSKeyIdT = Aws::String>
122 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
123 template<
typename SSEKMSKeyIdT = Aws::String>
146 template<
typename SSEKMSEncryptionContextT = Aws::String>
147 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value); }
148 template<
typename SSEKMSEncryptionContextT = Aws::String>
173 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
181 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
182 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
183 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
185 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
187 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
193 bool m_sessionModeHasBeenSet =
false;
196 bool m_bucketHasBeenSet =
false;
199 bool m_serverSideEncryptionHasBeenSet =
false;
202 bool m_sSEKMSKeyIdHasBeenSet =
false;
205 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
207 bool m_bucketKeyEnabled{
false};
208 bool m_bucketKeyEnabledHasBeenSet =
false;
211 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3_API Aws::String SerializePayload() const override
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool SSEKMSKeyIdHasBeenSet() const
void SetSessionMode(SessionMode value)
bool GetBucketKeyEnabled() const
virtual const char * GetServiceRequestName() const override
CreateSessionRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetSSEKMSKeyId() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetServerSideEncryption(ServerSideEncryption value)
void SetBucketKeyEnabled(bool value)
bool SessionModeHasBeenSet() const
CreateSessionRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetBucket() const
bool ServerSideEncryptionHasBeenSet() const
const Aws::String & GetSSEKMSEncryptionContext() const
CreateSessionRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetBucket(BucketT &&value)
SessionMode GetSessionMode() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateSessionRequest & WithBucketKeyEnabled(bool value)
CreateSessionRequest & WithBucket(BucketT &&value)
ServerSideEncryption GetServerSideEncryption() const
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BucketKeyEnabledHasBeenSet() const
CreateSessionRequest & WithServerSideEncryption(ServerSideEncryption value)
bool BucketHasBeenSet() const
bool SSEKMSEncryptionContextHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
CreateSessionRequest & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3_API CreateSessionRequest()=default
CreateSessionRequest & WithSessionMode(SessionMode 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