AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerSideEncryptionByDefault.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ServerSideEncryption.h>
9#include <aws/core/utils/memory/stl/AWSString.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
48 {
49 public:
53
54 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
55
56
58
64 inline const ServerSideEncryption& GetSSEAlgorithm() const{ return m_sSEAlgorithm; }
65 inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; }
66 inline void SetSSEAlgorithm(const ServerSideEncryption& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = value; }
67 inline void SetSSEAlgorithm(ServerSideEncryption&& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = std::move(value); }
69 inline ServerSideEncryptionByDefault& WithSSEAlgorithm(ServerSideEncryption&& value) { SetSSEAlgorithm(std::move(value)); return *this;}
71
73
106 inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; }
107 inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; }
108 inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; }
109 inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); }
110 inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); }
112 inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;}
113 inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;}
115 private:
116
117 ServerSideEncryption m_sSEAlgorithm;
118 bool m_sSEAlgorithmHasBeenSet = false;
119
120 Aws::String m_kMSMasterKeyID;
121 bool m_kMSMasterKeyIDHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace S3
126} // namespace Aws
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String