7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/ServerSideEncryption.h>
10#include <aws/s3/model/SessionCredentials.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
40 m_serverSideEncryptionHasBeenSet =
true;
41 m_serverSideEncryption = value;
56 template <
typename SSEKMSKeyIdT = Aws::String>
58 m_sSEKMSKeyIdHasBeenSet =
true;
59 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
61 template <
typename SSEKMSKeyIdT = Aws::String>
78 template <
typename SSEKMSEncryptionContextT = Aws::String>
80 m_sSEKMSEncryptionContextHasBeenSet =
true;
81 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
83 template <
typename SSEKMSEncryptionContextT = Aws::String>
97 m_bucketKeyEnabledHasBeenSet =
true;
98 m_bucketKeyEnabled = value;
111 template <
typename CredentialsT = SessionCredentials>
113 m_credentialsHasBeenSet =
true;
114 m_credentials = std::forward<CredentialsT>(value);
116 template <
typename CredentialsT = SessionCredentials>
126 template <
typename RequestIdT = Aws::String>
128 m_requestIdHasBeenSet =
true;
129 m_requestId = std::forward<RequestIdT>(value);
131 template <
typename RequestIdT = Aws::String>
144 bool m_bucketKeyEnabled{
false};
146 SessionCredentials m_credentials;
149 bool m_serverSideEncryptionHasBeenSet =
false;
150 bool m_sSEKMSKeyIdHasBeenSet =
false;
151 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
152 bool m_bucketKeyEnabledHasBeenSet =
false;
153 bool m_credentialsHasBeenSet =
false;
154 bool m_requestIdHasBeenSet =
false;
AWS_S3_API CreateSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSessionResult & WithCredentials(CredentialsT &&value)
ServerSideEncryption GetServerSideEncryption() const
CreateSessionResult & WithServerSideEncryption(ServerSideEncryption value)
AWS_S3_API CreateSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetSSEKMSKeyId() const
const Aws::String & GetSSEKMSEncryptionContext() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
CreateSessionResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetCredentials(CredentialsT &&value)
void SetRequestId(RequestIdT &&value)
void SetServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetRequestId() const
const SessionCredentials & GetCredentials() const
CreateSessionResult & WithRequestId(RequestIdT &&value)
CreateSessionResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3_API CreateSessionResult()=default
bool GetBucketKeyEnabled() const
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
void SetBucketKeyEnabled(bool value)
CreateSessionResult & WithBucketKeyEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument