AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InventoryEncryption.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/SSEKMS.h>
9#include <aws/s3-crt/model/SSES3.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Crt {
20namespace Model {
21
29 public:
30 AWS_S3CRT_API InventoryEncryption() = default;
31 AWS_S3CRT_API InventoryEncryption(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const SSES3& GetSSES3() const { return m_sSES3; }
41 inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; }
42 template <typename SSES3T = SSES3>
43 void SetSSES3(SSES3T&& value) {
44 m_sSES3HasBeenSet = true;
45 m_sSES3 = std::forward<SSES3T>(value);
46 }
47 template <typename SSES3T = SSES3>
48 InventoryEncryption& WithSSES3(SSES3T&& value) {
49 SetSSES3(std::forward<SSES3T>(value));
50 return *this;
51 }
53
55
58 inline const SSEKMS& GetSSEKMS() const { return m_sSEKMS; }
59 inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; }
60 template <typename SSEKMST = SSEKMS>
61 void SetSSEKMS(SSEKMST&& value) {
62 m_sSEKMSHasBeenSet = true;
63 m_sSEKMS = std::forward<SSEKMST>(value);
64 }
65 template <typename SSEKMST = SSEKMS>
66 InventoryEncryption& WithSSEKMS(SSEKMST&& value) {
67 SetSSEKMS(std::forward<SSEKMST>(value));
68 return *this;
69 }
71 private:
72 SSES3 m_sSES3;
73
74 SSEKMS m_sSEKMS;
75 bool m_sSES3HasBeenSet = false;
76 bool m_sSEKMSHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace S3Crt
81} // namespace Aws
InventoryEncryption & WithSSEKMS(SSEKMST &&value)
AWS_S3CRT_API InventoryEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API InventoryEncryption()=default
AWS_S3CRT_API InventoryEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryEncryption & WithSSES3(SSES3T &&value)