AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetGlossaryResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/GlossaryStatus.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API GetGlossaryResult() = default;
32
34
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
45 GetGlossaryResult& WithDomainId(DomainIdT&& value) {
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
62 GetGlossaryResult& WithId(IdT&& value) {
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
73 template <typename OwningProjectIdT = Aws::String>
74 void SetOwningProjectId(OwningProjectIdT&& value) {
75 m_owningProjectIdHasBeenSet = true;
76 m_owningProjectId = std::forward<OwningProjectIdT>(value);
77 }
78 template <typename OwningProjectIdT = Aws::String>
79 GetGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) {
80 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetName() const { return m_name; }
90 template <typename NameT = Aws::String>
91 void SetName(NameT&& value) {
92 m_nameHasBeenSet = true;
93 m_name = std::forward<NameT>(value);
94 }
95 template <typename NameT = Aws::String>
96 GetGlossaryResult& WithName(NameT&& value) {
97 SetName(std::forward<NameT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
113 GetGlossaryResult& WithDescription(DescriptionT&& value) {
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
123 inline GlossaryStatus GetStatus() const { return m_status; }
124 inline void SetStatus(GlossaryStatus value) {
125 m_statusHasBeenSet = true;
126 m_status = value;
127 }
129 SetStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 void SetCreatedAt(CreatedAtT&& value) {
141 m_createdAtHasBeenSet = true;
142 m_createdAt = std::forward<CreatedAtT>(value);
143 }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
145 GetGlossaryResult& WithCreatedAt(CreatedAtT&& value) {
146 SetCreatedAt(std::forward<CreatedAtT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
156 template <typename CreatedByT = Aws::String>
157 void SetCreatedBy(CreatedByT&& value) {
158 m_createdByHasBeenSet = true;
159 m_createdBy = std::forward<CreatedByT>(value);
160 }
161 template <typename CreatedByT = Aws::String>
162 GetGlossaryResult& WithCreatedBy(CreatedByT&& value) {
163 SetCreatedBy(std::forward<CreatedByT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
173 template <typename UpdatedAtT = Aws::Utils::DateTime>
174 void SetUpdatedAt(UpdatedAtT&& value) {
175 m_updatedAtHasBeenSet = true;
176 m_updatedAt = std::forward<UpdatedAtT>(value);
177 }
178 template <typename UpdatedAtT = Aws::Utils::DateTime>
179 GetGlossaryResult& WithUpdatedAt(UpdatedAtT&& value) {
180 SetUpdatedAt(std::forward<UpdatedAtT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
190 template <typename UpdatedByT = Aws::String>
191 void SetUpdatedBy(UpdatedByT&& value) {
192 m_updatedByHasBeenSet = true;
193 m_updatedBy = std::forward<UpdatedByT>(value);
194 }
195 template <typename UpdatedByT = Aws::String>
196 GetGlossaryResult& WithUpdatedBy(UpdatedByT&& value) {
197 SetUpdatedBy(std::forward<UpdatedByT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
207 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
208 void SetUsageRestrictions(UsageRestrictionsT&& value) {
209 m_usageRestrictionsHasBeenSet = true;
210 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
211 }
212 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
213 GetGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) {
214 SetUsageRestrictions(std::forward<UsageRestrictionsT>(value));
215 return *this;
216 }
218 m_usageRestrictionsHasBeenSet = true;
219 m_usageRestrictions.push_back(value);
220 return *this;
221 }
223
225
226 inline const Aws::String& GetRequestId() const { return m_requestId; }
227 template <typename RequestIdT = Aws::String>
228 void SetRequestId(RequestIdT&& value) {
229 m_requestIdHasBeenSet = true;
230 m_requestId = std::forward<RequestIdT>(value);
231 }
232 template <typename RequestIdT = Aws::String>
233 GetGlossaryResult& WithRequestId(RequestIdT&& value) {
234 SetRequestId(std::forward<RequestIdT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_domainId;
240
241 Aws::String m_id;
242
243 Aws::String m_owningProjectId;
244
245 Aws::String m_name;
246
247 Aws::String m_description;
248
250
251 Aws::Utils::DateTime m_createdAt{};
252
253 Aws::String m_createdBy;
254
255 Aws::Utils::DateTime m_updatedAt{};
256
257 Aws::String m_updatedBy;
258
259 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
260
261 Aws::String m_requestId;
262 bool m_domainIdHasBeenSet = false;
263 bool m_idHasBeenSet = false;
264 bool m_owningProjectIdHasBeenSet = false;
265 bool m_nameHasBeenSet = false;
266 bool m_descriptionHasBeenSet = false;
267 bool m_statusHasBeenSet = false;
268 bool m_createdAtHasBeenSet = false;
269 bool m_createdByHasBeenSet = false;
270 bool m_updatedAtHasBeenSet = false;
271 bool m_updatedByHasBeenSet = false;
272 bool m_usageRestrictionsHasBeenSet = false;
273 bool m_requestIdHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace DataZone
278} // 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)
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