7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3Crt_EXPORTS.h>
10#include <aws/s3-crt/model/ServerSideEncryption.h>
11#include <aws/s3-crt/model/SessionCredentials.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
41 m_serverSideEncryptionHasBeenSet =
true;
42 m_serverSideEncryption = value;
57 template <
typename SSEKMSKeyIdT = Aws::String>
59 m_sSEKMSKeyIdHasBeenSet =
true;
60 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
62 template <
typename SSEKMSKeyIdT = Aws::String>
79 template <
typename SSEKMSEncryptionContextT = Aws::String>
81 m_sSEKMSEncryptionContextHasBeenSet =
true;
82 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
84 template <
typename SSEKMSEncryptionContextT = Aws::String>
98 m_bucketKeyEnabledHasBeenSet =
true;
99 m_bucketKeyEnabled = value;
112 template <
typename CredentialsT = SessionCredentials>
114 m_credentialsHasBeenSet =
true;
115 m_credentials = std::forward<CredentialsT>(value);
117 template <
typename CredentialsT = SessionCredentials>
127 template <
typename RequestIdT = Aws::String>
129 m_requestIdHasBeenSet =
true;
130 m_requestId = std::forward<RequestIdT>(value);
132 template <
typename RequestIdT = Aws::String>
147 bool m_bucketKeyEnabled{
false};
149 SessionCredentials m_credentials;
153 bool m_serverSideEncryptionHasBeenSet =
false;
154 bool m_sSEKMSKeyIdHasBeenSet =
false;
155 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
156 bool m_bucketKeyEnabledHasBeenSet =
false;
157 bool m_credentialsHasBeenSet =
false;
158 bool m_requestIdHasBeenSet =
false;
void SetCredentials(CredentialsT &&value)
ServerSideEncryption GetServerSideEncryption() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_S3CRT_API CreateSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
const Aws::String & GetRequestId() const
bool GetBucketKeyEnabled() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
CreateSessionResult & WithCredentials(CredentialsT &&value)
void SetRequestId(RequestIdT &&value)
CreateSessionResult & WithRequestId(RequestIdT &&value)
AWS_S3CRT_API CreateSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSessionResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
CreateSessionResult & WithBucketKeyEnabled(bool value)
void SetServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetSSEKMSKeyId() const
CreateSessionResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
void SetBucketKeyEnabled(bool value)
const SessionCredentials & GetCredentials() const
CreateSessionResult & WithServerSideEncryption(ServerSideEncryption value)
AWS_S3CRT_API CreateSessionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument