AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
29 public:
30 AWS_S3_API InventoryTableConfiguration() = default;
33
34 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
41 inline InventoryConfigurationState GetConfigurationState() const { return m_configurationState; }
42 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
44 m_configurationStateHasBeenSet = true;
45 m_configurationState = value;
46 }
49 return *this;
50 }
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) {
61 m_encryptionConfigurationHasBeenSet = true;
62 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
63 }
64 template <typename EncryptionConfigurationT = MetadataTableEncryptionConfiguration>
65 InventoryTableConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
66 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
67 return *this;
68 }
70 private:
72
73 MetadataTableEncryptionConfiguration m_encryptionConfiguration;
74 bool m_configurationStateHasBeenSet = false;
75 bool m_encryptionConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace S3
80} // 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