AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryEncryption.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/SSES3.h>
9#include <aws/s3-crt/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 S3Crt
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CRT_API InventoryEncryption();
36 AWS_S3CRT_API InventoryEncryption(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CRT_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 inline void SetSSES3(const SSES3& value) { m_sSES3HasBeenSet = true; m_sSES3 = value; }
49 inline void SetSSES3(SSES3&& value) { m_sSES3HasBeenSet = true; m_sSES3 = std::move(value); }
50 inline InventoryEncryption& WithSSES3(const SSES3& value) { SetSSES3(value); return *this;}
51 inline InventoryEncryption& WithSSES3(SSES3&& value) { SetSSES3(std::move(value)); return *this;}
53
55
58 inline const SSEKMS& GetSSEKMS() const{ return m_sSEKMS; }
59 inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; }
60 inline void SetSSEKMS(const SSEKMS& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = value; }
61 inline void SetSSEKMS(SSEKMS&& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = std::move(value); }
62 inline InventoryEncryption& WithSSEKMS(const SSEKMS& value) { SetSSEKMS(value); return *this;}
63 inline InventoryEncryption& WithSSEKMS(SSEKMS&& value) { SetSSEKMS(std::move(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 S3Crt
76} // namespace Aws
InventoryEncryption & WithSSEKMS(SSEKMS &&value)
InventoryEncryption & WithSSES3(const SSES3 &value)
AWS_S3CRT_API InventoryEncryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventoryEncryption & WithSSES3(SSES3 &&value)
InventoryEncryption & WithSSEKMS(const SSEKMS &value)
AWS_S3CRT_API InventoryEncryption(const Aws::Utils::Xml::XmlNode &xmlNode)