AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline GlossaryItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline GlossaryItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
59 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
60 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
61 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
62 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
63 inline GlossaryItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
64 inline GlossaryItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
65 inline GlossaryItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline GlossaryItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline GlossaryItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline GlossaryItem& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline const Aws::String& GetDomainId() const{ return m_domainId; }
88 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
89 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
90 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
91 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
92 inline GlossaryItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
93 inline GlossaryItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
94 inline GlossaryItem& WithDomainId(const char* value) { SetDomainId(value); return *this;}
96
98
101 inline const Aws::String& GetId() const{ return m_id; }
102 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
103 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
104 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
105 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
106 inline GlossaryItem& WithId(const Aws::String& value) { SetId(value); return *this;}
107 inline GlossaryItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
108 inline GlossaryItem& WithId(const char* value) { SetId(value); return *this;}
110
112
115 inline const Aws::String& GetName() const{ return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
118 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
119 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
120 inline GlossaryItem& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline GlossaryItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline GlossaryItem& WithName(const char* value) { SetName(value); return *this;}
124
126
129 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
130 inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; }
131 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; }
132 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); }
133 inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); }
134 inline GlossaryItem& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
135 inline GlossaryItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
136 inline GlossaryItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
138
140
143 inline const GlossaryStatus& GetStatus() const{ return m_status; }
144 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
145 inline void SetStatus(const GlossaryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
146 inline void SetStatus(GlossaryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 inline GlossaryItem& WithStatus(const GlossaryStatus& value) { SetStatus(value); return *this;}
148 inline GlossaryItem& WithStatus(GlossaryStatus&& value) { SetStatus(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
156 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
157 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
158 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
159 inline GlossaryItem& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
160 inline GlossaryItem& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
168 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
169 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
170 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
171 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
172 inline GlossaryItem& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
173 inline GlossaryItem& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
174 inline GlossaryItem& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
176 private:
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
199 GlossaryStatus m_status;
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
void SetId(Aws::String &&value)
const Aws::String & GetCreatedBy() const
GlossaryItem & WithName(const char *value)
GlossaryItem & WithName(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
GlossaryItem & WithId(Aws::String &&value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetId(const char *value)
void SetOwningProjectId(Aws::String &&value)
GlossaryItem & WithDomainId(const Aws::String &value)
const Aws::String & GetDescription() const
GlossaryItem & WithId(const Aws::String &value)
void SetOwningProjectId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
void SetName(const Aws::String &value)
GlossaryItem & WithUpdatedBy(const Aws::String &value)
GlossaryItem & WithName(Aws::String &&value)
GlossaryItem & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetOwningProjectId() const
GlossaryItem & WithDescription(Aws::String &&value)
GlossaryItem & WithUpdatedBy(const char *value)
void SetCreatedBy(Aws::String &&value)
GlossaryItem & WithDomainId(Aws::String &&value)
GlossaryItem & WithOwningProjectId(const char *value)
void SetUpdatedBy(const char *value)
GlossaryItem & WithUpdatedBy(Aws::String &&value)
GlossaryItem & WithId(const char *value)
AWS_DATAZONE_API GlossaryItem(Aws::Utils::Json::JsonView jsonValue)
GlossaryItem & WithCreatedBy(const Aws::String &value)
const Aws::String & GetDomainId() const
GlossaryItem & WithCreatedAt(Aws::Utils::DateTime &&value)
GlossaryItem & WithDomainId(const char *value)
GlossaryItem & WithCreatedBy(const char *value)
void SetStatus(const GlossaryStatus &value)
void SetName(const char *value)
AWS_DATAZONE_API GlossaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
void SetCreatedBy(const char *value)
const Aws::String & GetName() const
void SetOwningProjectId(const Aws::String &value)
GlossaryItem & WithOwningProjectId(Aws::String &&value)
GlossaryItem & WithStatus(GlossaryStatus &&value)
void SetUpdatedBy(const Aws::String &value)
const GlossaryStatus & GetStatus() const
GlossaryItem & WithDescription(const char *value)
void SetId(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
GlossaryItem & WithCreatedBy(Aws::String &&value)
void SetDescription(const char *value)
GlossaryItem & WithStatus(const GlossaryStatus &value)
void SetCreatedBy(const Aws::String &value)
void SetName(Aws::String &&value)
void SetStatus(GlossaryStatus &&value)
GlossaryItem & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetDomainId(Aws::String &&value)
void SetDomainId(const Aws::String &value)
GlossaryItem & WithDescription(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GlossaryItem & WithOwningProjectId(const Aws::String &value)
void SetUpdatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDomainId(const char *value)
GlossaryItem & WithUpdatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue