AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
MetadataConfigurationResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/AnnotationTableConfigurationResult.h>
9#include <aws/s3-crt/model/DestinationResult.h>
10#include <aws/s3-crt/model/InventoryTableConfigurationResult.h>
11#include <aws/s3-crt/model/JournalTableConfigurationResult.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt {
22namespace Model {
23
31 public:
32 AWS_S3CRT_API MetadataConfigurationResult() = default;
35
36 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
42 inline const DestinationResult& GetDestinationResult() const { return m_destinationResult; }
43 inline bool DestinationResultHasBeenSet() const { return m_destinationResultHasBeenSet; }
44 template <typename DestinationResultT = DestinationResult>
45 void SetDestinationResult(DestinationResultT&& value) {
46 m_destinationResultHasBeenSet = true;
47 m_destinationResult = std::forward<DestinationResultT>(value);
48 }
49 template <typename DestinationResultT = DestinationResult>
51 SetDestinationResult(std::forward<DestinationResultT>(value));
52 return *this;
53 }
55
57
60 inline const JournalTableConfigurationResult& GetJournalTableConfigurationResult() const { return m_journalTableConfigurationResult; }
61 inline bool JournalTableConfigurationResultHasBeenSet() const { return m_journalTableConfigurationResultHasBeenSet; }
62 template <typename JournalTableConfigurationResultT = JournalTableConfigurationResult>
63 void SetJournalTableConfigurationResult(JournalTableConfigurationResultT&& value) {
64 m_journalTableConfigurationResultHasBeenSet = true;
65 m_journalTableConfigurationResult = std::forward<JournalTableConfigurationResultT>(value);
66 }
67 template <typename JournalTableConfigurationResultT = JournalTableConfigurationResult>
68 MetadataConfigurationResult& WithJournalTableConfigurationResult(JournalTableConfigurationResultT&& value) {
69 SetJournalTableConfigurationResult(std::forward<JournalTableConfigurationResultT>(value));
70 return *this;
71 }
73
75
79 return m_inventoryTableConfigurationResult;
80 }
81 inline bool InventoryTableConfigurationResultHasBeenSet() const { return m_inventoryTableConfigurationResultHasBeenSet; }
82 template <typename InventoryTableConfigurationResultT = InventoryTableConfigurationResult>
83 void SetInventoryTableConfigurationResult(InventoryTableConfigurationResultT&& value) {
84 m_inventoryTableConfigurationResultHasBeenSet = true;
85 m_inventoryTableConfigurationResult = std::forward<InventoryTableConfigurationResultT>(value);
86 }
87 template <typename InventoryTableConfigurationResultT = InventoryTableConfigurationResult>
88 MetadataConfigurationResult& WithInventoryTableConfigurationResult(InventoryTableConfigurationResultT&& value) {
89 SetInventoryTableConfigurationResult(std::forward<InventoryTableConfigurationResultT>(value));
90 return *this;
91 }
93
95
100 return m_annotationTableConfigurationResult;
101 }
102 inline bool AnnotationTableConfigurationResultHasBeenSet() const { return m_annotationTableConfigurationResultHasBeenSet; }
103 template <typename AnnotationTableConfigurationResultT = AnnotationTableConfigurationResult>
104 void SetAnnotationTableConfigurationResult(AnnotationTableConfigurationResultT&& value) {
105 m_annotationTableConfigurationResultHasBeenSet = true;
106 m_annotationTableConfigurationResult = std::forward<AnnotationTableConfigurationResultT>(value);
107 }
108 template <typename AnnotationTableConfigurationResultT = AnnotationTableConfigurationResult>
109 MetadataConfigurationResult& WithAnnotationTableConfigurationResult(AnnotationTableConfigurationResultT&& value) {
110 SetAnnotationTableConfigurationResult(std::forward<AnnotationTableConfigurationResultT>(value));
111 return *this;
112 }
114 private:
115 DestinationResult m_destinationResult;
116
117 JournalTableConfigurationResult m_journalTableConfigurationResult;
118
119 InventoryTableConfigurationResult m_inventoryTableConfigurationResult;
120
121 AnnotationTableConfigurationResult m_annotationTableConfigurationResult;
122 bool m_destinationResultHasBeenSet = false;
123 bool m_journalTableConfigurationResultHasBeenSet = false;
124 bool m_inventoryTableConfigurationResultHasBeenSet = false;
125 bool m_annotationTableConfigurationResultHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace S3Crt
130} // namespace Aws
AWS_S3CRT_API MetadataConfigurationResult()=default
AWS_S3CRT_API MetadataConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API MetadataConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
const AnnotationTableConfigurationResult & GetAnnotationTableConfigurationResult() const
MetadataConfigurationResult & WithAnnotationTableConfigurationResult(AnnotationTableConfigurationResultT &&value)
void SetJournalTableConfigurationResult(JournalTableConfigurationResultT &&value)
void SetAnnotationTableConfigurationResult(AnnotationTableConfigurationResultT &&value)
const InventoryTableConfigurationResult & GetInventoryTableConfigurationResult() const
MetadataConfigurationResult & WithJournalTableConfigurationResult(JournalTableConfigurationResultT &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
MetadataConfigurationResult & WithDestinationResult(DestinationResultT &&value)
const JournalTableConfigurationResult & GetJournalTableConfigurationResult() const
MetadataConfigurationResult & WithInventoryTableConfigurationResult(InventoryTableConfigurationResultT &&value)
void SetInventoryTableConfigurationResult(InventoryTableConfigurationResultT &&value)