AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetBucketMetadataTableConfigurationResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/MetadataTableConfigurationResult.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/ErrorDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3
23{
24namespace Model
25{
26
38 {
39 public:
43
44 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
45
46
48
51 inline const MetadataTableConfigurationResult& GetMetadataTableConfigurationResult() const { return m_metadataTableConfigurationResult; }
52 inline bool MetadataTableConfigurationResultHasBeenSet() const { return m_metadataTableConfigurationResultHasBeenSet; }
53 template<typename MetadataTableConfigurationResultT = MetadataTableConfigurationResult>
54 void SetMetadataTableConfigurationResult(MetadataTableConfigurationResultT&& value) { m_metadataTableConfigurationResultHasBeenSet = true; m_metadataTableConfigurationResult = std::forward<MetadataTableConfigurationResultT>(value); }
55 template<typename MetadataTableConfigurationResultT = MetadataTableConfigurationResult>
56 GetBucketMetadataTableConfigurationResult& WithMetadataTableConfigurationResult(MetadataTableConfigurationResultT&& value) { SetMetadataTableConfigurationResult(std::forward<MetadataTableConfigurationResultT>(value)); return *this;}
58
60
69 inline const Aws::String& GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 template<typename StatusT = Aws::String>
72 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
73 template<typename StatusT = Aws::String>
74 GetBucketMetadataTableConfigurationResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
76
78
83 inline const ErrorDetails& GetError() const { return m_error; }
84 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
85 template<typename ErrorT = ErrorDetails>
86 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
87 template<typename ErrorT = ErrorDetails>
88 GetBucketMetadataTableConfigurationResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
90 private:
91
92 MetadataTableConfigurationResult m_metadataTableConfigurationResult;
93 bool m_metadataTableConfigurationResultHasBeenSet = false;
94
95 Aws::String m_status;
96 bool m_statusHasBeenSet = false;
97
98 ErrorDetails m_error;
99 bool m_errorHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace S3
104} // namespace Aws
GetBucketMetadataTableConfigurationResult & WithStatus(StatusT &&value)
void SetMetadataTableConfigurationResult(MetadataTableConfigurationResultT &&value)
AWS_S3_API GetBucketMetadataTableConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
const MetadataTableConfigurationResult & GetMetadataTableConfigurationResult() const
AWS_S3_API GetBucketMetadataTableConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GetBucketMetadataTableConfigurationResult & WithError(ErrorT &&value)
GetBucketMetadataTableConfigurationResult & WithMetadataTableConfigurationResult(MetadataTableConfigurationResultT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String