AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GeneratedManifestEncryption.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/SSES3Encryption.h>
9#include <aws/s3control/model/SSEKMSEncryption.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API GeneratedManifestEncryption() = default;
36 AWS_S3CONTROL_API GeneratedManifestEncryption(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const SSES3Encryption& GetSSES3() const { return m_sSES3; }
47 inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; }
48 template<typename SSES3T = SSES3Encryption>
49 void SetSSES3(SSES3T&& value) { m_sSES3HasBeenSet = true; m_sSES3 = std::forward<SSES3T>(value); }
50 template<typename SSES3T = SSES3Encryption>
51 GeneratedManifestEncryption& WithSSES3(SSES3T&& value) { SetSSES3(std::forward<SSES3T>(value)); return *this;}
53
55
59 inline const SSEKMSEncryption& GetSSEKMS() const { return m_sSEKMS; }
60 inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; }
61 template<typename SSEKMST = SSEKMSEncryption>
62 void SetSSEKMS(SSEKMST&& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = std::forward<SSEKMST>(value); }
63 template<typename SSEKMST = SSEKMSEncryption>
64 GeneratedManifestEncryption& WithSSEKMS(SSEKMST&& value) { SetSSEKMS(std::forward<SSEKMST>(value)); return *this;}
66 private:
67
68 SSES3Encryption m_sSES3;
69 bool m_sSES3HasBeenSet = false;
70
71 SSEKMSEncryption m_sSEKMS;
72 bool m_sSEKMSHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace S3Control
77} // namespace Aws
AWS_S3CONTROL_API GeneratedManifestEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GeneratedManifestEncryption & WithSSEKMS(SSEKMST &&value)
AWS_S3CONTROL_API GeneratedManifestEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API GeneratedManifestEncryption()=default
GeneratedManifestEncryption & WithSSES3(SSES3T &&value)