AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
AnnotationTableConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/AnnotationConfigurationState.h>
10#include <aws/s3-crt/model/ErrorDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt {
21namespace Model {
22
31 public:
32 AWS_S3CRT_API AnnotationTableConfigurationResult() = default;
35
36 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
42 inline AnnotationConfigurationState GetConfigurationState() const { return m_configurationState; }
43 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
45 m_configurationStateHasBeenSet = true;
46 m_configurationState = value;
47 }
50 return *this;
51 }
53
55
60 inline const Aws::String& GetTableStatus() const { return m_tableStatus; }
61 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
62 template <typename TableStatusT = Aws::String>
63 void SetTableStatus(TableStatusT&& value) {
64 m_tableStatusHasBeenSet = true;
65 m_tableStatus = std::forward<TableStatusT>(value);
66 }
67 template <typename TableStatusT = Aws::String>
69 SetTableStatus(std::forward<TableStatusT>(value));
70 return *this;
71 }
73
75
76 inline const ErrorDetails& GetError() const { return m_error; }
77 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
78 template <typename ErrorT = ErrorDetails>
79 void SetError(ErrorT&& value) {
80 m_errorHasBeenSet = true;
81 m_error = std::forward<ErrorT>(value);
82 }
83 template <typename ErrorT = ErrorDetails>
85 SetError(std::forward<ErrorT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTableName() const { return m_tableName; }
95 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
96 template <typename TableNameT = Aws::String>
97 void SetTableName(TableNameT&& value) {
98 m_tableNameHasBeenSet = true;
99 m_tableName = std::forward<TableNameT>(value);
100 }
101 template <typename TableNameT = Aws::String>
103 SetTableName(std::forward<TableNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetTableArn() const { return m_tableArn; }
113 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
114 template <typename TableArnT = Aws::String>
115 void SetTableArn(TableArnT&& value) {
116 m_tableArnHasBeenSet = true;
117 m_tableArn = std::forward<TableArnT>(value);
118 }
119 template <typename TableArnT = Aws::String>
121 SetTableArn(std::forward<TableArnT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetRole() const { return m_role; }
131 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
132 template <typename RoleT = Aws::String>
133 void SetRole(RoleT&& value) {
134 m_roleHasBeenSet = true;
135 m_role = std::forward<RoleT>(value);
136 }
137 template <typename RoleT = Aws::String>
139 SetRole(std::forward<RoleT>(value));
140 return *this;
141 }
143 private:
145
146 Aws::String m_tableStatus;
147
148 ErrorDetails m_error;
149
150 Aws::String m_tableName;
151
152 Aws::String m_tableArn;
153
154 Aws::String m_role;
155 bool m_configurationStateHasBeenSet = false;
156 bool m_tableStatusHasBeenSet = false;
157 bool m_errorHasBeenSet = false;
158 bool m_tableNameHasBeenSet = false;
159 bool m_tableArnHasBeenSet = false;
160 bool m_roleHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace S3Crt
165} // namespace Aws
AWS_S3CRT_API AnnotationTableConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
AnnotationTableConfigurationResult & WithConfigurationState(AnnotationConfigurationState value)
AnnotationTableConfigurationResult & WithTableName(TableNameT &&value)
AnnotationTableConfigurationResult & WithError(ErrorT &&value)
AWS_S3CRT_API AnnotationTableConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AnnotationTableConfigurationResult & WithTableArn(TableArnT &&value)
AnnotationTableConfigurationResult & WithTableStatus(TableStatusT &&value)
AnnotationTableConfigurationResult & WithRole(RoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String