AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
MetadataConfiguration.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/AnnotationTableConfiguration.h>
9#include <aws/s3-crt/model/InventoryTableConfiguration.h>
10#include <aws/s3-crt/model/JournalTableConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt {
21namespace Model {
22
30 public:
31 AWS_S3CRT_API MetadataConfiguration() = default;
32 AWS_S3CRT_API MetadataConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline const JournalTableConfiguration& GetJournalTableConfiguration() const { return m_journalTableConfiguration; }
42 inline bool JournalTableConfigurationHasBeenSet() const { return m_journalTableConfigurationHasBeenSet; }
43 template <typename JournalTableConfigurationT = JournalTableConfiguration>
44 void SetJournalTableConfiguration(JournalTableConfigurationT&& value) {
45 m_journalTableConfigurationHasBeenSet = true;
46 m_journalTableConfiguration = std::forward<JournalTableConfigurationT>(value);
47 }
48 template <typename JournalTableConfigurationT = JournalTableConfiguration>
49 MetadataConfiguration& WithJournalTableConfiguration(JournalTableConfigurationT&& value) {
50 SetJournalTableConfiguration(std::forward<JournalTableConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline const InventoryTableConfiguration& GetInventoryTableConfiguration() const { return m_inventoryTableConfiguration; }
60 inline bool InventoryTableConfigurationHasBeenSet() const { return m_inventoryTableConfigurationHasBeenSet; }
61 template <typename InventoryTableConfigurationT = InventoryTableConfiguration>
62 void SetInventoryTableConfiguration(InventoryTableConfigurationT&& value) {
63 m_inventoryTableConfigurationHasBeenSet = true;
64 m_inventoryTableConfiguration = std::forward<InventoryTableConfigurationT>(value);
65 }
66 template <typename InventoryTableConfigurationT = InventoryTableConfiguration>
67 MetadataConfiguration& WithInventoryTableConfiguration(InventoryTableConfigurationT&& value) {
68 SetInventoryTableConfiguration(std::forward<InventoryTableConfigurationT>(value));
69 return *this;
70 }
72
74
78 inline const AnnotationTableConfiguration& GetAnnotationTableConfiguration() const { return m_annotationTableConfiguration; }
79 inline bool AnnotationTableConfigurationHasBeenSet() const { return m_annotationTableConfigurationHasBeenSet; }
80 template <typename AnnotationTableConfigurationT = AnnotationTableConfiguration>
81 void SetAnnotationTableConfiguration(AnnotationTableConfigurationT&& value) {
82 m_annotationTableConfigurationHasBeenSet = true;
83 m_annotationTableConfiguration = std::forward<AnnotationTableConfigurationT>(value);
84 }
85 template <typename AnnotationTableConfigurationT = AnnotationTableConfiguration>
86 MetadataConfiguration& WithAnnotationTableConfiguration(AnnotationTableConfigurationT&& value) {
87 SetAnnotationTableConfiguration(std::forward<AnnotationTableConfigurationT>(value));
88 return *this;
89 }
91 private:
92 JournalTableConfiguration m_journalTableConfiguration;
93
94 InventoryTableConfiguration m_inventoryTableConfiguration;
95
96 AnnotationTableConfiguration m_annotationTableConfiguration;
97 bool m_journalTableConfigurationHasBeenSet = false;
98 bool m_inventoryTableConfigurationHasBeenSet = false;
99 bool m_annotationTableConfigurationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace S3Crt
104} // namespace Aws
AWS_S3CRT_API MetadataConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const AnnotationTableConfiguration & GetAnnotationTableConfiguration() const
MetadataConfiguration & WithJournalTableConfiguration(JournalTableConfigurationT &&value)
void SetInventoryTableConfiguration(InventoryTableConfigurationT &&value)
MetadataConfiguration & WithAnnotationTableConfiguration(AnnotationTableConfigurationT &&value)
const JournalTableConfiguration & GetJournalTableConfiguration() const
AWS_S3CRT_API MetadataConfiguration()=default
void SetJournalTableConfiguration(JournalTableConfigurationT &&value)
void SetAnnotationTableConfiguration(AnnotationTableConfigurationT &&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)