AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ServerSideEncryptionByDefault.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
41 {
42 public:
46
48
49
53 inline const ServerSideEncryption& GetSSEAlgorithm() const{ return m_sSEAlgorithm; }
54
58 inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; }
59
63 inline void SetSSEAlgorithm(const ServerSideEncryption& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = value; }
64
68 inline void SetSSEAlgorithm(ServerSideEncryption&& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = std::move(value); }
69
74
78 inline ServerSideEncryptionByDefault& WithSSEAlgorithm(ServerSideEncryption&& value) { SetSSEAlgorithm(std::move(value)); return *this;}
79
80
100 inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; }
101
121 inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; }
122
142 inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; }
143
163 inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); }
164
184 inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); }
185
206
226 inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;}
227
247 inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;}
248
249 private:
250
251 ServerSideEncryption m_sSEAlgorithm;
252 bool m_sSEAlgorithmHasBeenSet = false;
253
254 Aws::String m_kMSMasterKeyID;
255 bool m_kMSMasterKeyIDHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace S3
260} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
ServerSideEncryptionByDefault & WithSSEAlgorithm(const ServerSideEncryption &value)
void SetSSEAlgorithm(const ServerSideEncryption &value)
ServerSideEncryptionByDefault & WithSSEAlgorithm(ServerSideEncryption &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ServerSideEncryptionByDefault & WithKMSMasterKeyID(Aws::String &&value)
AWS_S3_API ServerSideEncryptionByDefault(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerSideEncryptionByDefault & WithKMSMasterKeyID(const char *value)
AWS_S3_API ServerSideEncryptionByDefault & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerSideEncryptionByDefault & WithKMSMasterKeyID(const Aws::String &value)
const ServerSideEncryption & GetSSEAlgorithm() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String