AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlossaryItem.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API GlossaryItem() = default;
37 AWS_DATAZONE_API GlossaryItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<typename CreatedAtT = Aws::Utils::DateTime>
51 GlossaryItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
59 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
60 template<typename CreatedByT = Aws::String>
61 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
62 template<typename CreatedByT = Aws::String>
63 GlossaryItem& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 GlossaryItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
83 inline const Aws::String& GetDomainId() const { return m_domainId; }
84 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
85 template<typename DomainIdT = Aws::String>
86 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
87 template<typename DomainIdT = Aws::String>
88 GlossaryItem& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 template<typename IdT = Aws::String>
98 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
99 template<typename IdT = Aws::String>
100 GlossaryItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetName() const { return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 template<typename NameT = Aws::String>
110 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
111 template<typename NameT = Aws::String>
112 GlossaryItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
114
116
119 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
120 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
121 template<typename OwningProjectIdT = Aws::String>
122 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
123 template<typename OwningProjectIdT = Aws::String>
124 GlossaryItem& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
126
128
131 inline GlossaryStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
134 inline GlossaryItem& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
142 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
143 template<typename UpdatedAtT = Aws::Utils::DateTime>
144 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
145 template<typename UpdatedAtT = Aws::Utils::DateTime>
146 GlossaryItem& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
148
150
153 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
154 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
155 template<typename UpdatedByT = Aws::String>
156 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
157 template<typename UpdatedByT = Aws::String>
158 GlossaryItem& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
160 private:
161
162 Aws::Utils::DateTime m_createdAt{};
163 bool m_createdAtHasBeenSet = false;
164
165 Aws::String m_createdBy;
166 bool m_createdByHasBeenSet = false;
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_domainId;
172 bool m_domainIdHasBeenSet = false;
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
180 Aws::String m_owningProjectId;
181 bool m_owningProjectIdHasBeenSet = false;
182
184 bool m_statusHasBeenSet = false;
185
186 Aws::Utils::DateTime m_updatedAt{};
187 bool m_updatedAtHasBeenSet = false;
188
189 Aws::String m_updatedBy;
190 bool m_updatedByHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace DataZone
195} // 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)
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)
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 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