AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MetadataConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/JournalTableConfiguration.h>
9#include <aws/s3/model/InventoryTableConfiguration.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 MetadataConfiguration() = default;
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const JournalTableConfiguration& GetJournalTableConfiguration() const { return m_journalTableConfiguration; }
47 inline bool JournalTableConfigurationHasBeenSet() const { return m_journalTableConfigurationHasBeenSet; }
48 template<typename JournalTableConfigurationT = JournalTableConfiguration>
49 void SetJournalTableConfiguration(JournalTableConfigurationT&& value) { m_journalTableConfigurationHasBeenSet = true; m_journalTableConfiguration = std::forward<JournalTableConfigurationT>(value); }
50 template<typename JournalTableConfigurationT = JournalTableConfiguration>
51 MetadataConfiguration& WithJournalTableConfiguration(JournalTableConfigurationT&& value) { SetJournalTableConfiguration(std::forward<JournalTableConfigurationT>(value)); return *this;}
53
55
58 inline const InventoryTableConfiguration& GetInventoryTableConfiguration() const { return m_inventoryTableConfiguration; }
59 inline bool InventoryTableConfigurationHasBeenSet() const { return m_inventoryTableConfigurationHasBeenSet; }
60 template<typename InventoryTableConfigurationT = InventoryTableConfiguration>
61 void SetInventoryTableConfiguration(InventoryTableConfigurationT&& value) { m_inventoryTableConfigurationHasBeenSet = true; m_inventoryTableConfiguration = std::forward<InventoryTableConfigurationT>(value); }
62 template<typename InventoryTableConfigurationT = InventoryTableConfiguration>
63 MetadataConfiguration& WithInventoryTableConfiguration(InventoryTableConfigurationT&& value) { SetInventoryTableConfiguration(std::forward<InventoryTableConfigurationT>(value)); return *this;}
65 private:
66
67 JournalTableConfiguration m_journalTableConfiguration;
68 bool m_journalTableConfigurationHasBeenSet = false;
69
70 InventoryTableConfiguration m_inventoryTableConfiguration;
71 bool m_inventoryTableConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace S3
76} // namespace Aws
MetadataConfiguration & WithJournalTableConfiguration(JournalTableConfigurationT &&value)
AWS_S3_API MetadataConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const JournalTableConfiguration & GetJournalTableConfiguration() const
void SetInventoryTableConfiguration(InventoryTableConfigurationT &&value)
const InventoryTableConfiguration & GetInventoryTableConfiguration() const
void SetJournalTableConfiguration(JournalTableConfigurationT &&value)
AWS_S3_API MetadataConfiguration()=default
AWS_S3_API MetadataConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
MetadataConfiguration & WithInventoryTableConfiguration(InventoryTableConfigurationT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const