AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JournalTableConfigurationResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ErrorDetails.h>
10#include <aws/s3/model/RecordExpiration.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
34 {
35 public:
36 AWS_S3_API JournalTableConfigurationResult() = default;
39
40 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
52 inline const Aws::String& GetTableStatus() const { return m_tableStatus; }
53 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
54 template<typename TableStatusT = Aws::String>
55 void SetTableStatus(TableStatusT&& value) { m_tableStatusHasBeenSet = true; m_tableStatus = std::forward<TableStatusT>(value); }
56 template<typename TableStatusT = Aws::String>
57 JournalTableConfigurationResult& WithTableStatus(TableStatusT&& value) { SetTableStatus(std::forward<TableStatusT>(value)); return *this;}
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) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
66 template<typename ErrorT = ErrorDetails>
67 JournalTableConfigurationResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
69
71
74 inline const Aws::String& GetTableName() const { return m_tableName; }
75 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
76 template<typename TableNameT = Aws::String>
77 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
78 template<typename TableNameT = Aws::String>
79 JournalTableConfigurationResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetTableArn() const { return m_tableArn; }
87 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
88 template<typename TableArnT = Aws::String>
89 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
90 template<typename TableArnT = Aws::String>
91 JournalTableConfigurationResult& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
93
95
98 inline const RecordExpiration& GetRecordExpiration() const { return m_recordExpiration; }
99 inline bool RecordExpirationHasBeenSet() const { return m_recordExpirationHasBeenSet; }
100 template<typename RecordExpirationT = RecordExpiration>
101 void SetRecordExpiration(RecordExpirationT&& value) { m_recordExpirationHasBeenSet = true; m_recordExpiration = std::forward<RecordExpirationT>(value); }
102 template<typename RecordExpirationT = RecordExpiration>
103 JournalTableConfigurationResult& WithRecordExpiration(RecordExpirationT&& value) { SetRecordExpiration(std::forward<RecordExpirationT>(value)); return *this;}
105 private:
106
107 Aws::String m_tableStatus;
108 bool m_tableStatusHasBeenSet = false;
109
110 ErrorDetails m_error;
111 bool m_errorHasBeenSet = false;
112
113 Aws::String m_tableName;
114 bool m_tableNameHasBeenSet = false;
115
116 Aws::String m_tableArn;
117 bool m_tableArnHasBeenSet = false;
118
119 RecordExpiration m_recordExpiration;
120 bool m_recordExpirationHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace S3
125} // 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