AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlossaryTermItem.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API GlossaryTermItem() = default;
38 AWS_DATAZONE_API GlossaryTermItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 template<typename CreatedAtT = Aws::Utils::DateTime>
50 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 GlossaryTermItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
60 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
61 template<typename CreatedByT = Aws::String>
62 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
63 template<typename CreatedByT = Aws::String>
64 GlossaryTermItem& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDomainId() const { return m_domainId; }
73 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
74 template<typename DomainIdT = Aws::String>
75 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
76 template<typename DomainIdT = Aws::String>
77 GlossaryTermItem& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
85 inline bool GlossaryIdHasBeenSet() const { return m_glossaryIdHasBeenSet; }
86 template<typename GlossaryIdT = Aws::String>
87 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::forward<GlossaryIdT>(value); }
88 template<typename GlossaryIdT = Aws::String>
89 GlossaryTermItem& WithGlossaryId(GlossaryIdT&& value) { SetGlossaryId(std::forward<GlossaryIdT>(value)); return *this;}
91
93
96 inline const Aws::String& GetId() const { return m_id; }
97 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
98 template<typename IdT = Aws::String>
99 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
100 template<typename IdT = Aws::String>
101 GlossaryTermItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
109 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
110 template<typename LongDescriptionT = Aws::String>
111 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
112 template<typename LongDescriptionT = Aws::String>
113 GlossaryTermItem& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 template<typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
124 template<typename NameT = Aws::String>
125 GlossaryTermItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
132 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
133 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
134 template<typename ShortDescriptionT = Aws::String>
135 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
136 template<typename ShortDescriptionT = Aws::String>
137 GlossaryTermItem& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
139
141
144 inline GlossaryTermStatus GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
147 inline GlossaryTermItem& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
149
151
154 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
155 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
156 template<typename TermRelationsT = TermRelations>
157 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
158 template<typename TermRelationsT = TermRelations>
159 GlossaryTermItem& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
167 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
168 template<typename UpdatedAtT = Aws::Utils::DateTime>
169 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
170 template<typename UpdatedAtT = Aws::Utils::DateTime>
171 GlossaryTermItem& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
173
175
178 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
179 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
180 template<typename UpdatedByT = Aws::String>
181 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
182 template<typename UpdatedByT = Aws::String>
183 GlossaryTermItem& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
185 private:
186
187 Aws::Utils::DateTime m_createdAt{};
188 bool m_createdAtHasBeenSet = false;
189
190 Aws::String m_createdBy;
191 bool m_createdByHasBeenSet = false;
192
193 Aws::String m_domainId;
194 bool m_domainIdHasBeenSet = false;
195
196 Aws::String m_glossaryId;
197 bool m_glossaryIdHasBeenSet = false;
198
199 Aws::String m_id;
200 bool m_idHasBeenSet = false;
201
202 Aws::String m_longDescription;
203 bool m_longDescriptionHasBeenSet = false;
204
205 Aws::String m_name;
206 bool m_nameHasBeenSet = false;
207
208 Aws::String m_shortDescription;
209 bool m_shortDescriptionHasBeenSet = false;
210
212 bool m_statusHasBeenSet = false;
213
214 TermRelations m_termRelations;
215 bool m_termRelationsHasBeenSet = false;
216
217 Aws::Utils::DateTime m_updatedAt{};
218 bool m_updatedAtHasBeenSet = false;
219
220 Aws::String m_updatedBy;
221 bool m_updatedByHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace DataZone
226} // namespace Aws
GlossaryTermItem & WithName(NameT &&value)
void SetGlossaryId(GlossaryIdT &&value)
AWS_DATAZONE_API GlossaryTermItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetUpdatedBy() const
const Aws::String & GetGlossaryId() const
GlossaryTermItem & WithUpdatedBy(UpdatedByT &&value)
GlossaryTermItem & WithStatus(GlossaryTermStatus value)
GlossaryTermItem & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetCreatedBy() const
GlossaryTermItem & WithLongDescription(LongDescriptionT &&value)
GlossaryTermItem & WithGlossaryId(GlossaryIdT &&value)
const Aws::String & GetId() const
GlossaryTermItem & WithUpdatedAt(UpdatedAtT &&value)
void SetStatus(GlossaryTermStatus value)
AWS_DATAZONE_API GlossaryTermItem(Aws::Utils::Json::JsonView jsonValue)
void SetLongDescription(LongDescriptionT &&value)
GlossaryTermItem & WithDomainId(DomainIdT &&value)
void SetTermRelations(TermRelationsT &&value)
void SetShortDescription(ShortDescriptionT &&value)
GlossaryTermItem & WithShortDescription(ShortDescriptionT &&value)
const Aws::String & GetDomainId() const
GlossaryTermItem & WithId(IdT &&value)
const TermRelations & GetTermRelations() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_DATAZONE_API GlossaryTermItem()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLongDescription() const
const Aws::String & GetShortDescription() const
GlossaryTermItem & WithCreatedAt(CreatedAtT &&value)
GlossaryTermItem & WithTermRelations(TermRelationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue