AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JournalTableConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/ErrorDetails.h>
10#include <aws/s3/model/RecordExpiration.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 JournalTableConfigurationResult() = default;
34
35 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
46 inline const Aws::String& GetTableStatus() const { return m_tableStatus; }
47 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
48 template <typename TableStatusT = Aws::String>
49 void SetTableStatus(TableStatusT&& value) {
50 m_tableStatusHasBeenSet = true;
51 m_tableStatus = std::forward<TableStatusT>(value);
52 }
53 template <typename TableStatusT = Aws::String>
55 SetTableStatus(std::forward<TableStatusT>(value));
56 return *this;
57 }
59
61
62 inline const ErrorDetails& GetError() const { return m_error; }
63 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
64 template <typename ErrorT = ErrorDetails>
65 void SetError(ErrorT&& value) {
66 m_errorHasBeenSet = true;
67 m_error = std::forward<ErrorT>(value);
68 }
69 template <typename ErrorT = ErrorDetails>
71 SetError(std::forward<ErrorT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetTableName() const { return m_tableName; }
81 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
82 template <typename TableNameT = Aws::String>
83 void SetTableName(TableNameT&& value) {
84 m_tableNameHasBeenSet = true;
85 m_tableName = std::forward<TableNameT>(value);
86 }
87 template <typename TableNameT = Aws::String>
89 SetTableName(std::forward<TableNameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetTableArn() const { return m_tableArn; }
99 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
100 template <typename TableArnT = Aws::String>
101 void SetTableArn(TableArnT&& value) {
102 m_tableArnHasBeenSet = true;
103 m_tableArn = std::forward<TableArnT>(value);
104 }
105 template <typename TableArnT = Aws::String>
107 SetTableArn(std::forward<TableArnT>(value));
108 return *this;
109 }
111
113
116 inline const RecordExpiration& GetRecordExpiration() const { return m_recordExpiration; }
117 inline bool RecordExpirationHasBeenSet() const { return m_recordExpirationHasBeenSet; }
118 template <typename RecordExpirationT = RecordExpiration>
119 void SetRecordExpiration(RecordExpirationT&& value) {
120 m_recordExpirationHasBeenSet = true;
121 m_recordExpiration = std::forward<RecordExpirationT>(value);
122 }
123 template <typename RecordExpirationT = RecordExpiration>
125 SetRecordExpiration(std::forward<RecordExpirationT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_tableStatus;
131
132 ErrorDetails m_error;
133
134 Aws::String m_tableName;
135
136 Aws::String m_tableArn;
137
138 RecordExpiration m_recordExpiration;
139 bool m_tableStatusHasBeenSet = false;
140 bool m_errorHasBeenSet = false;
141 bool m_tableNameHasBeenSet = false;
142 bool m_tableArnHasBeenSet = false;
143 bool m_recordExpirationHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace S3
148} // namespace Aws
JournalTableConfigurationResult & WithError(ErrorT &&value)
AWS_S3_API JournalTableConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
JournalTableConfigurationResult & WithTableArn(TableArnT &&value)
AWS_S3_API JournalTableConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JournalTableConfigurationResult & WithTableStatus(TableStatusT &&value)
JournalTableConfigurationResult & WithTableName(TableNameT &&value)
JournalTableConfigurationResult & WithRecordExpiration(RecordExpirationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String