AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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 <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/datazone/model/GlossaryUsageRestriction.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAZONE_API GetGlossaryTermResult() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
45 template<typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<typename CreatedAtT = Aws::Utils::DateTime>
48 GetGlossaryTermResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
50
52
55 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
56 template<typename CreatedByT = Aws::String>
57 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
58 template<typename CreatedByT = Aws::String>
59 GetGlossaryTermResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
61
63
67 inline const Aws::String& GetDomainId() const { return m_domainId; }
68 template<typename DomainIdT = Aws::String>
69 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
70 template<typename DomainIdT = Aws::String>
71 GetGlossaryTermResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
79 template<typename GlossaryIdT = Aws::String>
80 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::forward<GlossaryIdT>(value); }
81 template<typename GlossaryIdT = Aws::String>
82 GetGlossaryTermResult& WithGlossaryId(GlossaryIdT&& value) { SetGlossaryId(std::forward<GlossaryIdT>(value)); return *this;}
84
86
89 inline const Aws::String& GetId() const { return m_id; }
90 template<typename IdT = Aws::String>
91 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
92 template<typename IdT = Aws::String>
93 GetGlossaryTermResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
95
97
100 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
101 template<typename LongDescriptionT = Aws::String>
102 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
103 template<typename LongDescriptionT = Aws::String>
104 GetGlossaryTermResult& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 template<typename NameT = Aws::String>
113 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
114 template<typename NameT = Aws::String>
115 GetGlossaryTermResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
117
119
122 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
123 template<typename ShortDescriptionT = Aws::String>
124 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
125 template<typename ShortDescriptionT = Aws::String>
126 GetGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
128
130
133 inline GlossaryTermStatus GetStatus() const { return m_status; }
134 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
135 inline GetGlossaryTermResult& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
137
139
142 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
143 template<typename TermRelationsT = TermRelations>
144 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
145 template<typename TermRelationsT = TermRelations>
146 GetGlossaryTermResult& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
154 template<typename UpdatedAtT = Aws::Utils::DateTime>
155 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
156 template<typename UpdatedAtT = Aws::Utils::DateTime>
157 GetGlossaryTermResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
159
161
164 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
165 template<typename UpdatedByT = Aws::String>
166 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
167 template<typename UpdatedByT = Aws::String>
168 GetGlossaryTermResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
170
172
175 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
176 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
177 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
178 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
179 GetGlossaryTermResult& WithUsageRestrictions(UsageRestrictionsT&& value) { SetUsageRestrictions(std::forward<UsageRestrictionsT>(value)); return *this;}
180 inline GetGlossaryTermResult& AddUsageRestrictions(GlossaryUsageRestriction value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions.push_back(value); return *this; }
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template<typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
188 template<typename RequestIdT = Aws::String>
189 GetGlossaryTermResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
191 private:
192
193 Aws::Utils::DateTime m_createdAt{};
194 bool m_createdAtHasBeenSet = false;
195
196 Aws::String m_createdBy;
197 bool m_createdByHasBeenSet = false;
198
199 Aws::String m_domainId;
200 bool m_domainIdHasBeenSet = false;
201
202 Aws::String m_glossaryId;
203 bool m_glossaryIdHasBeenSet = false;
204
205 Aws::String m_id;
206 bool m_idHasBeenSet = false;
207
208 Aws::String m_longDescription;
209 bool m_longDescriptionHasBeenSet = false;
210
211 Aws::String m_name;
212 bool m_nameHasBeenSet = false;
213
214 Aws::String m_shortDescription;
215 bool m_shortDescriptionHasBeenSet = false;
216
218 bool m_statusHasBeenSet = false;
219
220 TermRelations m_termRelations;
221 bool m_termRelationsHasBeenSet = false;
222
223 Aws::Utils::DateTime m_updatedAt{};
224 bool m_updatedAtHasBeenSet = false;
225
226 Aws::String m_updatedBy;
227 bool m_updatedByHasBeenSet = false;
228
229 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
230 bool m_usageRestrictionsHasBeenSet = false;
231
232 Aws::String m_requestId;
233 bool m_requestIdHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace DataZone
238} // 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)
void SetUsageRestrictions(UsageRestrictionsT &&value)
GetGlossaryTermResult & WithStatus(GlossaryTermStatus value)
GetGlossaryTermResult & WithUsageRestrictions(UsageRestrictionsT &&value)
GetGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
GetGlossaryTermResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetGlossaryTermResult()=default
GetGlossaryTermResult & AddUsageRestrictions(GlossaryUsageRestriction value)
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)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue