AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetGlossaryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/GlossaryStatus.h>
13#include <aws/datazone/model/GlossaryUsageRestriction.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API GetGlossaryResult() = default;
33
35
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
46 GetGlossaryResult& WithDomainId(DomainIdT&& value) {
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
63 GetGlossaryResult& WithId(IdT&& value) {
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
74 template <typename OwningProjectIdT = Aws::String>
75 void SetOwningProjectId(OwningProjectIdT&& value) {
76 m_owningProjectIdHasBeenSet = true;
77 m_owningProjectId = std::forward<OwningProjectIdT>(value);
78 }
79 template <typename OwningProjectIdT = Aws::String>
80 GetGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) {
81 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetName() const { return m_name; }
91 template <typename NameT = Aws::String>
92 void SetName(NameT&& value) {
93 m_nameHasBeenSet = true;
94 m_name = std::forward<NameT>(value);
95 }
96 template <typename NameT = Aws::String>
97 GetGlossaryResult& WithName(NameT&& value) {
98 SetName(std::forward<NameT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetDescription() const { return m_description; }
108 template <typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) {
110 m_descriptionHasBeenSet = true;
111 m_description = std::forward<DescriptionT>(value);
112 }
113 template <typename DescriptionT = Aws::String>
114 GetGlossaryResult& WithDescription(DescriptionT&& value) {
115 SetDescription(std::forward<DescriptionT>(value));
116 return *this;
117 }
119
121
124 inline GlossaryStatus GetStatus() const { return m_status; }
125 inline void SetStatus(GlossaryStatus value) {
126 m_statusHasBeenSet = true;
127 m_status = value;
128 }
130 SetStatus(value);
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
141 void SetCreatedAt(CreatedAtT&& value) {
142 m_createdAtHasBeenSet = true;
143 m_createdAt = std::forward<CreatedAtT>(value);
144 }
145 template <typename CreatedAtT = Aws::Utils::DateTime>
146 GetGlossaryResult& WithCreatedAt(CreatedAtT&& value) {
147 SetCreatedAt(std::forward<CreatedAtT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
157 template <typename CreatedByT = Aws::String>
158 void SetCreatedBy(CreatedByT&& value) {
159 m_createdByHasBeenSet = true;
160 m_createdBy = std::forward<CreatedByT>(value);
161 }
162 template <typename CreatedByT = Aws::String>
163 GetGlossaryResult& WithCreatedBy(CreatedByT&& value) {
164 SetCreatedBy(std::forward<CreatedByT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
174 template <typename UpdatedAtT = Aws::Utils::DateTime>
175 void SetUpdatedAt(UpdatedAtT&& value) {
176 m_updatedAtHasBeenSet = true;
177 m_updatedAt = std::forward<UpdatedAtT>(value);
178 }
179 template <typename UpdatedAtT = Aws::Utils::DateTime>
180 GetGlossaryResult& WithUpdatedAt(UpdatedAtT&& value) {
181 SetUpdatedAt(std::forward<UpdatedAtT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
191 template <typename UpdatedByT = Aws::String>
192 void SetUpdatedBy(UpdatedByT&& value) {
193 m_updatedByHasBeenSet = true;
194 m_updatedBy = std::forward<UpdatedByT>(value);
195 }
196 template <typename UpdatedByT = Aws::String>
197 GetGlossaryResult& WithUpdatedBy(UpdatedByT&& value) {
198 SetUpdatedBy(std::forward<UpdatedByT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
208 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
209 void SetUsageRestrictions(UsageRestrictionsT&& value) {
210 m_usageRestrictionsHasBeenSet = true;
211 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
212 }
213 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
214 GetGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) {
215 SetUsageRestrictions(std::forward<UsageRestrictionsT>(value));
216 return *this;
217 }
219 m_usageRestrictionsHasBeenSet = true;
220 m_usageRestrictions.push_back(value);
221 return *this;
222 }
224
226
227 inline const Aws::String& GetRequestId() const { return m_requestId; }
228 template <typename RequestIdT = Aws::String>
229 void SetRequestId(RequestIdT&& value) {
230 m_requestIdHasBeenSet = true;
231 m_requestId = std::forward<RequestIdT>(value);
232 }
233 template <typename RequestIdT = Aws::String>
234 GetGlossaryResult& WithRequestId(RequestIdT&& value) {
235 SetRequestId(std::forward<RequestIdT>(value));
236 return *this;
237 }
239 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
240
241 private:
242 Aws::String m_domainId;
243
244 Aws::String m_id;
245
246 Aws::String m_owningProjectId;
247
248 Aws::String m_name;
249
250 Aws::String m_description;
251
253
254 Aws::Utils::DateTime m_createdAt{};
255
256 Aws::String m_createdBy;
257
258 Aws::Utils::DateTime m_updatedAt{};
259
260 Aws::String m_updatedBy;
261
262 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
263
264 Aws::String m_requestId;
265 Aws::Http::HttpResponseCode m_HttpResponseCode;
266 bool m_domainIdHasBeenSet = false;
267 bool m_idHasBeenSet = false;
268 bool m_owningProjectIdHasBeenSet = false;
269 bool m_nameHasBeenSet = false;
270 bool m_descriptionHasBeenSet = false;
271 bool m_statusHasBeenSet = false;
272 bool m_createdAtHasBeenSet = false;
273 bool m_createdByHasBeenSet = false;
274 bool m_updatedAtHasBeenSet = false;
275 bool m_updatedByHasBeenSet = false;
276 bool m_usageRestrictionsHasBeenSet = false;
277 bool m_requestIdHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace DataZone
282} // namespace Aws
void SetDescription(DescriptionT &&value)
GetGlossaryResult & WithRequestId(RequestIdT &&value)
GetGlossaryResult & WithDomainId(DomainIdT &&value)
GetGlossaryResult & WithUpdatedAt(UpdatedAtT &&value)
GetGlossaryResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetOwningProjectId() const
void SetUsageRestrictions(UsageRestrictionsT &&value)
GetGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
GetGlossaryResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetCreatedBy() const
GetGlossaryResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API GetGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetGlossaryResult & WithStatus(GlossaryStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAZONE_API GetGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDomainId() const
AWS_DATAZONE_API GetGlossaryResult()=default
GetGlossaryResult & WithId(IdT &&value)
const Aws::String & GetDescription() const
GetGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
GetGlossaryResult & WithUpdatedBy(UpdatedByT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetGlossaryResult & WithName(NameT &&value)
const Aws::String & GetUpdatedBy() const
void SetOwningProjectId(OwningProjectIdT &&value)
GetGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue