AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InventoryEncryption.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/SSES3.h>
9#include <aws/s3/model/SSEKMS.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
33 {
34 public:
35 AWS_S3_API InventoryEncryption() = default;
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const SSES3& GetSSES3() const { return m_sSES3; }
47 inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; }
48 template<typename SSES3T = SSES3>
49 void SetSSES3(SSES3T&& value) { m_sSES3HasBeenSet = true; m_sSES3 = std::forward<SSES3T>(value); }
50 template<typename SSES3T = SSES3>
51 InventoryEncryption& WithSSES3(SSES3T&& value) { SetSSES3(std::forward<SSES3T>(value)); return *this;}
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) { m_sSEKMSHasBeenSet = true; m_sSEKMS = std::forward<SSEKMST>(value); }
62 template<typename SSEKMST = SSEKMS>
63 InventoryEncryption& WithSSEKMS(SSEKMST&& value) { SetSSEKMS(std::forward<SSEKMST>(value)); return *this;}
65 private:
66
67 SSES3 m_sSES3;
68 bool m_sSES3HasBeenSet = false;
69
70 SSEKMS m_sSEKMS;
71 bool m_sSEKMSHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace S3
76} // namespace Aws
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventoryEncryption & WithSSEKMS(SSEKMST &&value)
AWS_S3_API InventoryEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API InventoryEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryEncryption & WithSSES3(SSES3T &&value)
AWS_S3_API InventoryEncryption()=default