AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
OntologyInductionSummary.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/OntologyInductionStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace Context {
22namespace Model {
23
31 public:
32 AWS_CONTEXT_API OntologyInductionSummary() = default;
33 AWS_CONTEXT_API OntologyInductionSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CONTEXT_API OntologyInductionSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::String& GetOntologyName() const { return m_ontologyName; }
81 inline bool OntologyNameHasBeenSet() const { return m_ontologyNameHasBeenSet; }
82 template <typename OntologyNameT = Aws::String>
83 void SetOntologyName(OntologyNameT&& value) {
84 m_ontologyNameHasBeenSet = true;
85 m_ontologyName = std::forward<OntologyNameT>(value);
86 }
87 template <typename OntologyNameT = Aws::String>
89 SetOntologyName(std::forward<OntologyNameT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetOntologyDescription() const { return m_ontologyDescription; }
100 inline bool OntologyDescriptionHasBeenSet() const { return m_ontologyDescriptionHasBeenSet; }
101 template <typename OntologyDescriptionT = Aws::String>
102 void SetOntologyDescription(OntologyDescriptionT&& value) {
103 m_ontologyDescriptionHasBeenSet = true;
104 m_ontologyDescription = std::forward<OntologyDescriptionT>(value);
105 }
106 template <typename OntologyDescriptionT = Aws::String>
107 OntologyInductionSummary& WithOntologyDescription(OntologyDescriptionT&& value) {
108 SetOntologyDescription(std::forward<OntologyDescriptionT>(value));
109 return *this;
110 }
112
114
120 inline const Aws::String& GetOntologyId() const { return m_ontologyId; }
121 inline bool OntologyIdHasBeenSet() const { return m_ontologyIdHasBeenSet; }
122 template <typename OntologyIdT = Aws::String>
123 void SetOntologyId(OntologyIdT&& value) {
124 m_ontologyIdHasBeenSet = true;
125 m_ontologyId = std::forward<OntologyIdT>(value);
126 }
127 template <typename OntologyIdT = Aws::String>
129 SetOntologyId(std::forward<OntologyIdT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetOntologyArn() const { return m_ontologyArn; }
139 inline bool OntologyArnHasBeenSet() const { return m_ontologyArnHasBeenSet; }
140 template <typename OntologyArnT = Aws::String>
141 void SetOntologyArn(OntologyArnT&& value) {
142 m_ontologyArnHasBeenSet = true;
143 m_ontologyArn = std::forward<OntologyArnT>(value);
144 }
145 template <typename OntologyArnT = Aws::String>
147 SetOntologyArn(std::forward<OntologyArnT>(value));
148 return *this;
149 }
151
153
160 inline OntologyInductionStatus GetStatus() const { return m_status; }
161 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
163 m_statusHasBeenSet = true;
164 m_status = value;
165 }
167 SetStatus(value);
168 return *this;
169 }
171
173
176 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
177 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
178 template <typename CreatedAtT = Aws::Utils::DateTime>
179 void SetCreatedAt(CreatedAtT&& value) {
180 m_createdAtHasBeenSet = true;
181 m_createdAt = std::forward<CreatedAtT>(value);
182 }
183 template <typename CreatedAtT = Aws::Utils::DateTime>
185 SetCreatedAt(std::forward<CreatedAtT>(value));
186 return *this;
187 }
189
191
196 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
197 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
198 template <typename UpdatedAtT = Aws::Utils::DateTime>
199 void SetUpdatedAt(UpdatedAtT&& value) {
200 m_updatedAtHasBeenSet = true;
201 m_updatedAt = std::forward<UpdatedAtT>(value);
202 }
203 template <typename UpdatedAtT = Aws::Utils::DateTime>
205 SetUpdatedAt(std::forward<UpdatedAtT>(value));
206 return *this;
207 }
209 private:
210 Aws::String m_id;
211
212 Aws::String m_arn;
213
214 Aws::String m_ontologyName;
215
216 Aws::String m_ontologyDescription;
217
218 Aws::String m_ontologyId;
219
220 Aws::String m_ontologyArn;
221
223
224 Aws::Utils::DateTime m_createdAt{};
225
226 Aws::Utils::DateTime m_updatedAt{};
227 bool m_idHasBeenSet = false;
228 bool m_arnHasBeenSet = false;
229 bool m_ontologyNameHasBeenSet = false;
230 bool m_ontologyDescriptionHasBeenSet = false;
231 bool m_ontologyIdHasBeenSet = false;
232 bool m_ontologyArnHasBeenSet = false;
233 bool m_statusHasBeenSet = false;
234 bool m_createdAtHasBeenSet = false;
235 bool m_updatedAtHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace Context
240} // namespace Aws
OntologyInductionSummary & WithCreatedAt(CreatedAtT &&value)
OntologyInductionSummary & WithOntologyDescription(OntologyDescriptionT &&value)
OntologyInductionSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetOntologyDescription(OntologyDescriptionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_CONTEXT_API OntologyInductionSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OntologyInductionSummary & WithArn(ArnT &&value)
OntologyInductionSummary & WithStatus(OntologyInductionStatus value)
AWS_CONTEXT_API OntologyInductionSummary()=default
AWS_CONTEXT_API OntologyInductionSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
OntologyInductionSummary & WithOntologyArn(OntologyArnT &&value)
OntologyInductionSummary & WithId(IdT &&value)
OntologyInductionSummary & WithOntologyName(OntologyNameT &&value)
OntologyInductionSummary & WithOntologyId(OntologyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String