AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetGlossaryTermResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/TermRelations.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API GetGlossaryTermResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
43 template<typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
45 template<typename CreatedAtT = Aws::Utils::DateTime>
46 GetGlossaryTermResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
48
50
53 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
54 template<typename CreatedByT = Aws::String>
55 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
56 template<typename CreatedByT = Aws::String>
57 GetGlossaryTermResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
59
61
65 inline const Aws::String& GetDomainId() const { return m_domainId; }
66 template<typename DomainIdT = Aws::String>
67 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
68 template<typename DomainIdT = Aws::String>
69 GetGlossaryTermResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
77 template<typename GlossaryIdT = Aws::String>
78 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::forward<GlossaryIdT>(value); }
79 template<typename GlossaryIdT = Aws::String>
80 GetGlossaryTermResult& WithGlossaryId(GlossaryIdT&& value) { SetGlossaryId(std::forward<GlossaryIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetId() const { return m_id; }
88 template<typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
90 template<typename IdT = Aws::String>
91 GetGlossaryTermResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
99 template<typename LongDescriptionT = Aws::String>
100 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
101 template<typename LongDescriptionT = Aws::String>
102 GetGlossaryTermResult& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
104
106
109 inline const Aws::String& GetName() const { return m_name; }
110 template<typename NameT = Aws::String>
111 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
112 template<typename NameT = Aws::String>
113 GetGlossaryTermResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
115
117
120 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
121 template<typename ShortDescriptionT = Aws::String>
122 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
123 template<typename ShortDescriptionT = Aws::String>
124 GetGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
126
128
131 inline GlossaryTermStatus GetStatus() const { return m_status; }
132 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
133 inline GetGlossaryTermResult& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
135
137
140 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
141 template<typename TermRelationsT = TermRelations>
142 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
143 template<typename TermRelationsT = TermRelations>
144 GetGlossaryTermResult& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 template<typename UpdatedAtT = Aws::Utils::DateTime>
153 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
154 template<typename UpdatedAtT = Aws::Utils::DateTime>
155 GetGlossaryTermResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
157
159
162 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
163 template<typename UpdatedByT = Aws::String>
164 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
165 template<typename UpdatedByT = Aws::String>
166 GetGlossaryTermResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template<typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
174 template<typename RequestIdT = Aws::String>
175 GetGlossaryTermResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
177 private:
178
179 Aws::Utils::DateTime m_createdAt{};
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::String m_createdBy;
183 bool m_createdByHasBeenSet = false;
184
185 Aws::String m_domainId;
186 bool m_domainIdHasBeenSet = false;
187
188 Aws::String m_glossaryId;
189 bool m_glossaryIdHasBeenSet = false;
190
191 Aws::String m_id;
192 bool m_idHasBeenSet = false;
193
194 Aws::String m_longDescription;
195 bool m_longDescriptionHasBeenSet = false;
196
197 Aws::String m_name;
198 bool m_nameHasBeenSet = false;
199
200 Aws::String m_shortDescription;
201 bool m_shortDescriptionHasBeenSet = false;
202
204 bool m_statusHasBeenSet = false;
205
206 TermRelations m_termRelations;
207 bool m_termRelationsHasBeenSet = false;
208
209 Aws::Utils::DateTime m_updatedAt{};
210 bool m_updatedAtHasBeenSet = false;
211
212 Aws::String m_updatedBy;
213 bool m_updatedByHasBeenSet = false;
214
215 Aws::String m_requestId;
216 bool m_requestIdHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace DataZone
221} // namespace Aws
void SetLongDescription(LongDescriptionT &&value)
GetGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
GetGlossaryTermResult & WithUpdatedBy(UpdatedByT &&value)
GetGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
GetGlossaryTermResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
void SetShortDescription(ShortDescriptionT &&value)
GetGlossaryTermResult & WithUpdatedAt(UpdatedAtT &&value)
GetGlossaryTermResult & WithCreatedBy(CreatedByT &&value)
GetGlossaryTermResult & WithStatus(GlossaryTermStatus value)
GetGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
GetGlossaryTermResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetGlossaryTermResult()=default
GetGlossaryTermResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API GetGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGlossaryTermResult & WithName(NameT &&value)
GetGlossaryTermResult & WithId(IdT &&value)
AWS_DATAZONE_API GetGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue