AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MetadataConfigurationResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/DestinationResult.h>
9#include <aws/s3/model/InventoryTableConfigurationResult.h>
10#include <aws/s3/model/JournalTableConfigurationResult.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3 {
21namespace Model {
22
30 public:
31 AWS_S3_API MetadataConfigurationResult() = default;
34
35 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
41 inline const DestinationResult& GetDestinationResult() const { return m_destinationResult; }
42 inline bool DestinationResultHasBeenSet() const { return m_destinationResultHasBeenSet; }
43 template <typename DestinationResultT = DestinationResult>
44 void SetDestinationResult(DestinationResultT&& value) {
45 m_destinationResultHasBeenSet = true;
46 m_destinationResult = std::forward<DestinationResultT>(value);
47 }
48 template <typename DestinationResultT = DestinationResult>
50 SetDestinationResult(std::forward<DestinationResultT>(value));
51 return *this;
52 }
54
56
59 inline const JournalTableConfigurationResult& GetJournalTableConfigurationResult() const { return m_journalTableConfigurationResult; }
60 inline bool JournalTableConfigurationResultHasBeenSet() const { return m_journalTableConfigurationResultHasBeenSet; }
61 template <typename JournalTableConfigurationResultT = JournalTableConfigurationResult>
62 void SetJournalTableConfigurationResult(JournalTableConfigurationResultT&& value) {
63 m_journalTableConfigurationResultHasBeenSet = true;
64 m_journalTableConfigurationResult = std::forward<JournalTableConfigurationResultT>(value);
65 }
66 template <typename JournalTableConfigurationResultT = JournalTableConfigurationResult>
67 MetadataConfigurationResult& WithJournalTableConfigurationResult(JournalTableConfigurationResultT&& value) {
68 SetJournalTableConfigurationResult(std::forward<JournalTableConfigurationResultT>(value));
69 return *this;
70 }
72
74
78 return m_inventoryTableConfigurationResult;
79 }
80 inline bool InventoryTableConfigurationResultHasBeenSet() const { return m_inventoryTableConfigurationResultHasBeenSet; }
81 template <typename InventoryTableConfigurationResultT = InventoryTableConfigurationResult>
82 void SetInventoryTableConfigurationResult(InventoryTableConfigurationResultT&& value) {
83 m_inventoryTableConfigurationResultHasBeenSet = true;
84 m_inventoryTableConfigurationResult = std::forward<InventoryTableConfigurationResultT>(value);
85 }
86 template <typename InventoryTableConfigurationResultT = InventoryTableConfigurationResult>
87 MetadataConfigurationResult& WithInventoryTableConfigurationResult(InventoryTableConfigurationResultT&& value) {
88 SetInventoryTableConfigurationResult(std::forward<InventoryTableConfigurationResultT>(value));
89 return *this;
90 }
92 private:
93 DestinationResult m_destinationResult;
94
95 JournalTableConfigurationResult m_journalTableConfigurationResult;
96
97 InventoryTableConfigurationResult m_inventoryTableConfigurationResult;
98 bool m_destinationResultHasBeenSet = false;
99 bool m_journalTableConfigurationResultHasBeenSet = false;
100 bool m_inventoryTableConfigurationResultHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace S3
105} // namespace Aws
AWS_S3_API MetadataConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInventoryTableConfigurationResult(InventoryTableConfigurationResultT &&value)
const DestinationResult & GetDestinationResult() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API MetadataConfigurationResult()=default
void SetJournalTableConfigurationResult(JournalTableConfigurationResultT &&value)
AWS_S3_API MetadataConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
MetadataConfigurationResult & WithInventoryTableConfigurationResult(InventoryTableConfigurationResultT &&value)
MetadataConfigurationResult & WithDestinationResult(DestinationResultT &&value)
const InventoryTableConfigurationResult & GetInventoryTableConfigurationResult() const
MetadataConfigurationResult & WithJournalTableConfigurationResult(JournalTableConfigurationResultT &&value)
const JournalTableConfigurationResult & GetJournalTableConfigurationResult() const