AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StorageLensTableDestination.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/StorageLensDataExportEncryption.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control {
19namespace Model {
20
33 public:
34 AWS_S3CONTROL_API StorageLensTableDestination() = default;
35 AWS_S3CONTROL_API StorageLensTableDestination(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
41
47 inline bool GetIsEnabled() const { return m_isEnabled; }
48 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
49 inline void SetIsEnabled(bool value) {
50 m_isEnabledHasBeenSet = true;
51 m_isEnabled = value;
52 }
54 SetIsEnabled(value);
55 return *this;
56 }
58
60
61 inline const StorageLensDataExportEncryption& GetEncryption() const { return m_encryption; }
62 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
63 template <typename EncryptionT = StorageLensDataExportEncryption>
64 void SetEncryption(EncryptionT&& value) {
65 m_encryptionHasBeenSet = true;
66 m_encryption = std::forward<EncryptionT>(value);
67 }
68 template <typename EncryptionT = StorageLensDataExportEncryption>
70 SetEncryption(std::forward<EncryptionT>(value));
71 return *this;
72 }
74 private:
75 bool m_isEnabled{false};
76
77 StorageLensDataExportEncryption m_encryption;
78 bool m_isEnabledHasBeenSet = false;
79 bool m_encryptionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace S3Control
84} // namespace Aws
AWS_S3CONTROL_API StorageLensTableDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API StorageLensTableDestination()=default
StorageLensTableDestination & WithEncryption(EncryptionT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StorageLensTableDestination & WithIsEnabled(bool value)
AWS_S3CONTROL_API StorageLensTableDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
const StorageLensDataExportEncryption & GetEncryption() const