AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MetadataConfiguration.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/JournalTableConfiguration.h>
9#include <aws/s3-crt/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 S3Crt
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CRT_API MetadataConfiguration() = default;
36 AWS_S3CRT_API MetadataConfiguration(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 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 S3Crt
76} // namespace Aws
AWS_S3CRT_API MetadataConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
MetadataConfiguration & WithJournalTableConfiguration(JournalTableConfigurationT &&value)
void SetInventoryTableConfiguration(InventoryTableConfigurationT &&value)
const JournalTableConfiguration & GetJournalTableConfiguration() const
AWS_S3CRT_API MetadataConfiguration()=default
void SetJournalTableConfiguration(JournalTableConfigurationT &&value)
AWS_S3CRT_API MetadataConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const InventoryTableConfiguration & GetInventoryTableConfiguration() const
MetadataConfiguration & WithInventoryTableConfiguration(InventoryTableConfigurationT &&value)