AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetGlossaryResult.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/GlossaryStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DATAZONE_API GetGlossaryResult() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 template<typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 GetGlossaryResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template<typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
57 template<typename CreatedByT = Aws::String>
58 GetGlossaryResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 GetGlossaryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 template<typename DomainIdT = Aws::String>
79 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
80 template<typename DomainIdT = Aws::String>
81 GetGlossaryResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetId() const { return m_id; }
89 template<typename IdT = Aws::String>
90 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
91 template<typename IdT = Aws::String>
92 GetGlossaryResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
94
96
99 inline const Aws::String& GetName() const { return m_name; }
100 template<typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
102 template<typename NameT = Aws::String>
103 GetGlossaryResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
105
107
110 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
111 template<typename OwningProjectIdT = Aws::String>
112 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
113 template<typename OwningProjectIdT = Aws::String>
114 GetGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
116
118
121 inline GlossaryStatus GetStatus() const { return m_status; }
122 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
123 inline GetGlossaryResult& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
131 template<typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
133 template<typename UpdatedAtT = Aws::Utils::DateTime>
134 GetGlossaryResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
136
138
141 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
142 template<typename UpdatedByT = Aws::String>
143 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
144 template<typename UpdatedByT = Aws::String>
145 GetGlossaryResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
147
149
152 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
153 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
154 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
155 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
156 GetGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) { SetUsageRestrictions(std::forward<UsageRestrictionsT>(value)); return *this;}
157 inline GetGlossaryResult& AddUsageRestrictions(GlossaryUsageRestriction value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions.push_back(value); return *this; }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template<typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
165 template<typename RequestIdT = Aws::String>
166 GetGlossaryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
168 private:
169
170 Aws::Utils::DateTime m_createdAt{};
171 bool m_createdAtHasBeenSet = false;
172
173 Aws::String m_createdBy;
174 bool m_createdByHasBeenSet = false;
175
176 Aws::String m_description;
177 bool m_descriptionHasBeenSet = false;
178
179 Aws::String m_domainId;
180 bool m_domainIdHasBeenSet = false;
181
182 Aws::String m_id;
183 bool m_idHasBeenSet = false;
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_owningProjectId;
189 bool m_owningProjectIdHasBeenSet = false;
190
192 bool m_statusHasBeenSet = false;
193
194 Aws::Utils::DateTime m_updatedAt{};
195 bool m_updatedAtHasBeenSet = false;
196
197 Aws::String m_updatedBy;
198 bool m_updatedByHasBeenSet = false;
199
200 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
201 bool m_usageRestrictionsHasBeenSet = false;
202
203 Aws::String m_requestId;
204 bool m_requestIdHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace DataZone
209} // 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