AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline GlossaryTermItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline GlossaryTermItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
60 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
61 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
62 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
63 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
64 inline GlossaryTermItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
65 inline GlossaryTermItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
66 inline GlossaryTermItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
68
70
74 inline const Aws::String& GetDomainId() const{ return m_domainId; }
75 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
76 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
77 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
78 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
79 inline GlossaryTermItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
80 inline GlossaryTermItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
81 inline GlossaryTermItem& WithDomainId(const char* value) { SetDomainId(value); return *this;}
83
85
88 inline const Aws::String& GetGlossaryId() const{ return m_glossaryId; }
89 inline bool GlossaryIdHasBeenSet() const { return m_glossaryIdHasBeenSet; }
90 inline void SetGlossaryId(const Aws::String& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = value; }
91 inline void SetGlossaryId(Aws::String&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::move(value); }
92 inline void SetGlossaryId(const char* value) { m_glossaryIdHasBeenSet = true; m_glossaryId.assign(value); }
93 inline GlossaryTermItem& WithGlossaryId(const Aws::String& value) { SetGlossaryId(value); return *this;}
94 inline GlossaryTermItem& WithGlossaryId(Aws::String&& value) { SetGlossaryId(std::move(value)); return *this;}
95 inline GlossaryTermItem& WithGlossaryId(const char* value) { SetGlossaryId(value); return *this;}
97
99
102 inline const Aws::String& GetId() const{ return m_id; }
103 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
104 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
105 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
106 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 inline GlossaryTermItem& WithId(const Aws::String& value) { SetId(value); return *this;}
108 inline GlossaryTermItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
109 inline GlossaryTermItem& WithId(const char* value) { SetId(value); return *this;}
111
113
116 inline const Aws::String& GetLongDescription() const{ return m_longDescription; }
117 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
118 inline void SetLongDescription(const Aws::String& value) { m_longDescriptionHasBeenSet = true; m_longDescription = value; }
119 inline void SetLongDescription(Aws::String&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::move(value); }
120 inline void SetLongDescription(const char* value) { m_longDescriptionHasBeenSet = true; m_longDescription.assign(value); }
121 inline GlossaryTermItem& WithLongDescription(const Aws::String& value) { SetLongDescription(value); return *this;}
122 inline GlossaryTermItem& WithLongDescription(Aws::String&& value) { SetLongDescription(std::move(value)); return *this;}
123 inline GlossaryTermItem& WithLongDescription(const char* value) { SetLongDescription(value); return *this;}
125
127
130 inline const Aws::String& GetName() const{ return m_name; }
131 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
133 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
134 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
135 inline GlossaryTermItem& WithName(const Aws::String& value) { SetName(value); return *this;}
136 inline GlossaryTermItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
137 inline GlossaryTermItem& WithName(const char* value) { SetName(value); return *this;}
139
141
144 inline const Aws::String& GetShortDescription() const{ return m_shortDescription; }
145 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
146 inline void SetShortDescription(const Aws::String& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; }
147 inline void SetShortDescription(Aws::String&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::move(value); }
148 inline void SetShortDescription(const char* value) { m_shortDescriptionHasBeenSet = true; m_shortDescription.assign(value); }
149 inline GlossaryTermItem& WithShortDescription(const Aws::String& value) { SetShortDescription(value); return *this;}
150 inline GlossaryTermItem& WithShortDescription(Aws::String&& value) { SetShortDescription(std::move(value)); return *this;}
151 inline GlossaryTermItem& WithShortDescription(const char* value) { SetShortDescription(value); return *this;}
153
155
158 inline const GlossaryTermStatus& GetStatus() const{ return m_status; }
159 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
160 inline void SetStatus(const GlossaryTermStatus& value) { m_statusHasBeenSet = true; m_status = value; }
161 inline void SetStatus(GlossaryTermStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
162 inline GlossaryTermItem& WithStatus(const GlossaryTermStatus& value) { SetStatus(value); return *this;}
163 inline GlossaryTermItem& WithStatus(GlossaryTermStatus&& value) { SetStatus(std::move(value)); return *this;}
165
167
170 inline const TermRelations& GetTermRelations() const{ return m_termRelations; }
171 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
172 inline void SetTermRelations(const TermRelations& value) { m_termRelationsHasBeenSet = true; m_termRelations = value; }
173 inline void SetTermRelations(TermRelations&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::move(value); }
174 inline GlossaryTermItem& WithTermRelations(const TermRelations& value) { SetTermRelations(value); return *this;}
175 inline GlossaryTermItem& WithTermRelations(TermRelations&& value) { SetTermRelations(std::move(value)); return *this;}
177
179
182 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
183 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
184 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
185 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
186 inline GlossaryTermItem& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
187 inline GlossaryTermItem& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
189
191
194 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
195 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
196 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
197 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
198 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
199 inline GlossaryTermItem& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
200 inline GlossaryTermItem& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
201 inline GlossaryTermItem& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
203 private:
204
205 Aws::Utils::DateTime m_createdAt;
206 bool m_createdAtHasBeenSet = false;
207
208 Aws::String m_createdBy;
209 bool m_createdByHasBeenSet = false;
210
211 Aws::String m_domainId;
212 bool m_domainIdHasBeenSet = false;
213
214 Aws::String m_glossaryId;
215 bool m_glossaryIdHasBeenSet = false;
216
217 Aws::String m_id;
218 bool m_idHasBeenSet = false;
219
220 Aws::String m_longDescription;
221 bool m_longDescriptionHasBeenSet = false;
222
223 Aws::String m_name;
224 bool m_nameHasBeenSet = false;
225
226 Aws::String m_shortDescription;
227 bool m_shortDescriptionHasBeenSet = false;
228
229 GlossaryTermStatus m_status;
230 bool m_statusHasBeenSet = false;
231
232 TermRelations m_termRelations;
233 bool m_termRelationsHasBeenSet = false;
234
235 Aws::Utils::DateTime m_updatedAt;
236 bool m_updatedAtHasBeenSet = false;
237
238 Aws::String m_updatedBy;
239 bool m_updatedByHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace DataZone
244} // namespace Aws
GlossaryTermItem & WithCreatedAt(const Aws::Utils::DateTime &value)
GlossaryTermItem & WithTermRelations(TermRelations &&value)
GlossaryTermItem & WithName(const char *value)
GlossaryTermItem & WithGlossaryId(const Aws::String &value)
void SetShortDescription(const Aws::String &value)
void SetId(const Aws::String &value)
AWS_DATAZONE_API GlossaryTermItem & operator=(Aws::Utils::Json::JsonView jsonValue)
GlossaryTermItem & WithLongDescription(Aws::String &&value)
GlossaryTermItem & WithLongDescription(const char *value)
GlossaryTermItem & WithShortDescription(const char *value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetGlossaryId(const Aws::String &value)
void SetStatus(const GlossaryTermStatus &value)
GlossaryTermItem & WithCreatedBy(Aws::String &&value)
GlossaryTermItem & WithName(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetUpdatedBy() const
GlossaryTermItem & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetGlossaryId() const
void SetDomainId(Aws::String &&value)
void SetLongDescription(const Aws::String &value)
GlossaryTermItem & WithStatus(const GlossaryTermStatus &value)
void SetShortDescription(Aws::String &&value)
GlossaryTermItem & WithShortDescription(const Aws::String &value)
void SetLongDescription(Aws::String &&value)
GlossaryTermItem & WithUpdatedBy(Aws::String &&value)
void SetTermRelations(const TermRelations &value)
const Aws::String & GetCreatedBy() const
GlossaryTermItem & WithGlossaryId(Aws::String &&value)
GlossaryTermItem & WithTermRelations(const TermRelations &value)
const GlossaryTermStatus & GetStatus() const
GlossaryTermItem & WithName(Aws::String &&value)
GlossaryTermItem & WithId(Aws::String &&value)
void SetShortDescription(const char *value)
GlossaryTermItem & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GlossaryTermItem & WithLongDescription(const Aws::String &value)
GlossaryTermItem & WithCreatedBy(const char *value)
AWS_DATAZONE_API GlossaryTermItem(Aws::Utils::Json::JsonView jsonValue)
void SetTermRelations(TermRelations &&value)
GlossaryTermItem & WithStatus(GlossaryTermStatus &&value)
void SetDomainId(const Aws::String &value)
GlossaryTermItem & WithGlossaryId(const char *value)
GlossaryTermItem & WithId(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
GlossaryTermItem & WithDomainId(const char *value)
GlossaryTermItem & WithCreatedAt(Aws::Utils::DateTime &&value)
GlossaryTermItem & WithDomainId(Aws::String &&value)
GlossaryTermItem & WithCreatedBy(const Aws::String &value)
const Aws::String & GetDomainId() const
void SetName(const Aws::String &value)
GlossaryTermItem & WithUpdatedBy(const char *value)
const TermRelations & GetTermRelations() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetGlossaryId(Aws::String &&value)
GlossaryTermItem & WithDomainId(const Aws::String &value)
GlossaryTermItem & WithId(const char *value)
void SetCreatedBy(Aws::String &&value)
void SetStatus(GlossaryTermStatus &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLongDescription() const
const Aws::String & GetShortDescription() const
GlossaryTermItem & WithUpdatedBy(const Aws::String &value)
GlossaryTermItem & WithShortDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue