AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InventoryTableConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/InventoryConfigurationState.h>
9#include <aws/s3/model/MetadataTableEncryptionConfiguration.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 InventoryTableConfiguration() = default;
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline InventoryConfigurationState GetConfigurationState() const { return m_configurationState; }
48 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
49 inline void SetConfigurationState(InventoryConfigurationState value) { m_configurationStateHasBeenSet = true; m_configurationState = value; }
52
54
57 inline const MetadataTableEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
58 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
59 template<typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
60 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
61 template<typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
62 InventoryTableConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
64 private:
65
67 bool m_configurationStateHasBeenSet = false;
68
69 MetadataTableEncryptionConfiguration m_encryptionConfiguration;
70 bool m_encryptionConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace S3
75} // namespace Aws
AWS_S3_API InventoryTableConfiguration()=default
AWS_S3_API InventoryTableConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API InventoryTableConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
InventoryTableConfiguration & WithConfigurationState(InventoryConfigurationState value)
InventoryConfigurationState GetConfigurationState() const
const MetadataTableEncryptionConfiguration & GetEncryptionConfiguration() const
void SetConfigurationState(InventoryConfigurationState value)
InventoryTableConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const