AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GlossaryItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/GlossaryItemAdditionalAttributes.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/GlossaryStatus.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 GlossaryItem() = default;
38 AWS_DATAZONE_API GlossaryItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const GlossaryItemAdditionalAttributes& GetAdditionalAttributes() const { return m_additionalAttributes; }
48 inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; }
49 template<typename AdditionalAttributesT = GlossaryItemAdditionalAttributes>
50 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
51 template<typename AdditionalAttributesT = GlossaryItemAdditionalAttributes>
52 GlossaryItem& WithAdditionalAttributes(AdditionalAttributesT&& value) { SetAdditionalAttributes(std::forward<AdditionalAttributesT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 GlossaryItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
72 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
73 template<typename CreatedByT = Aws::String>
74 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
75 template<typename CreatedByT = Aws::String>
76 GlossaryItem& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 GlossaryItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline const Aws::String& GetDomainId() const { return m_domainId; }
97 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
98 template<typename DomainIdT = Aws::String>
99 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
100 template<typename DomainIdT = Aws::String>
101 GlossaryItem& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetId() const { return m_id; }
109 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
110 template<typename IdT = Aws::String>
111 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
112 template<typename IdT = Aws::String>
113 GlossaryItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 template<typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
124 template<typename NameT = Aws::String>
125 GlossaryItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
132 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
133 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
134 template<typename OwningProjectIdT = Aws::String>
135 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
136 template<typename OwningProjectIdT = Aws::String>
137 GlossaryItem& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
139
141
144 inline GlossaryStatus GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
147 inline GlossaryItem& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
155 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
156 template<typename UpdatedAtT = Aws::Utils::DateTime>
157 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
158 template<typename UpdatedAtT = Aws::Utils::DateTime>
159 GlossaryItem& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
161
163
166 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
167 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
168 template<typename UpdatedByT = Aws::String>
169 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
170 template<typename UpdatedByT = Aws::String>
171 GlossaryItem& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
173 private:
174
175 GlossaryItemAdditionalAttributes m_additionalAttributes;
176 bool m_additionalAttributesHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt{};
179 bool m_createdAtHasBeenSet = false;
180
181 Aws::String m_createdBy;
182 bool m_createdByHasBeenSet = false;
183
184 Aws::String m_description;
185 bool m_descriptionHasBeenSet = false;
186
187 Aws::String m_domainId;
188 bool m_domainIdHasBeenSet = false;
189
190 Aws::String m_id;
191 bool m_idHasBeenSet = false;
192
193 Aws::String m_name;
194 bool m_nameHasBeenSet = false;
195
196 Aws::String m_owningProjectId;
197 bool m_owningProjectIdHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
202 Aws::Utils::DateTime m_updatedAt{};
203 bool m_updatedAtHasBeenSet = false;
204
205 Aws::String m_updatedBy;
206 bool m_updatedByHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace DataZone
211} // namespace Aws
const Aws::String & GetCreatedBy() const
GlossaryItem & WithCreatedBy(CreatedByT &&value)
void SetStatus(GlossaryStatus value)
GlossaryItem & WithCreatedAt(CreatedAtT &&value)
GlossaryItem & WithUpdatedBy(UpdatedByT &&value)
GlossaryItem & WithDescription(DescriptionT &&value)
const Aws::String & GetUpdatedBy() const
void SetDomainId(DomainIdT &&value)
GlossaryItem & WithName(NameT &&value)
GlossaryItem & WithOwningProjectId(OwningProjectIdT &&value)
const Aws::String & GetDescription() const
void SetOwningProjectId(OwningProjectIdT &&value)
void SetAdditionalAttributes(AdditionalAttributesT &&value)
GlossaryItem & WithStatus(GlossaryStatus value)
const Aws::String & GetOwningProjectId() const
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API GlossaryItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDomainId() const
GlossaryStatus GetStatus() const
GlossaryItem & WithUpdatedAt(UpdatedAtT &&value)
GlossaryItem & WithAdditionalAttributes(AdditionalAttributesT &&value)
AWS_DATAZONE_API GlossaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
const Aws::String & GetName() const
AWS_DATAZONE_API GlossaryItem()=default
void SetCreatedBy(CreatedByT &&value)
GlossaryItem & WithDomainId(DomainIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedBy(UpdatedByT &&value)
GlossaryItem & WithId(IdT &&value)
const GlossaryItemAdditionalAttributes & GetAdditionalAttributes() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue