AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
MetadataConfiguration.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/InventoryTableConfiguration.h>
9#include <aws/s3-crt/model/JournalTableConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Crt {
20namespace Model {
21
29 public:
30 AWS_S3CRT_API MetadataConfiguration() = default;
31 AWS_S3CRT_API MetadataConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const JournalTableConfiguration& GetJournalTableConfiguration() const { return m_journalTableConfiguration; }
41 inline bool JournalTableConfigurationHasBeenSet() const { return m_journalTableConfigurationHasBeenSet; }
42 template <typename JournalTableConfigurationT = JournalTableConfiguration>
43 void SetJournalTableConfiguration(JournalTableConfigurationT&& value) {
44 m_journalTableConfigurationHasBeenSet = true;
45 m_journalTableConfiguration = std::forward<JournalTableConfigurationT>(value);
46 }
47 template <typename JournalTableConfigurationT = JournalTableConfiguration>
48 MetadataConfiguration& WithJournalTableConfiguration(JournalTableConfigurationT&& value) {
49 SetJournalTableConfiguration(std::forward<JournalTableConfigurationT>(value));
50 return *this;
51 }
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) {
62 m_inventoryTableConfigurationHasBeenSet = true;
63 m_inventoryTableConfiguration = std::forward<InventoryTableConfigurationT>(value);
64 }
65 template <typename InventoryTableConfigurationT = InventoryTableConfiguration>
66 MetadataConfiguration& WithInventoryTableConfiguration(InventoryTableConfigurationT&& value) {
67 SetInventoryTableConfiguration(std::forward<InventoryTableConfigurationT>(value));
68 return *this;
69 }
71 private:
72 JournalTableConfiguration m_journalTableConfiguration;
73 bool m_journalTableConfigurationHasBeenSet = false;
74
75 InventoryTableConfiguration m_inventoryTableConfiguration;
76 bool m_inventoryTableConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace S3Crt
81} // 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)