AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataProductResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/DataProductStatus.h>
12#include <aws/datazone/model/FormOutput.h>
13#include <aws/datazone/model/DataProductItem.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAZONE_API GetDataProductResult();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
45 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
46 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
47 inline GetDataProductResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
48 inline GetDataProductResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
56 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
57 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
58 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
59 inline GetDataProductResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
60 inline GetDataProductResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
61 inline GetDataProductResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline GetDataProductResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline GetDataProductResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline GetDataProductResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetDomainId() const{ return m_domainId; }
82 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
83 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
84 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
85 inline GetDataProductResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline GetDataProductResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline GetDataProductResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
95 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAt = value; }
96 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAt = std::move(value); }
100
102
105 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
106 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedBy = value; }
107 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedBy = std::move(value); }
108 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedBy.assign(value); }
111 inline GetDataProductResult& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
113
115
118 inline const Aws::Vector<FormOutput>& GetFormsOutput() const{ return m_formsOutput; }
119 inline void SetFormsOutput(const Aws::Vector<FormOutput>& value) { m_formsOutput = value; }
120 inline void SetFormsOutput(Aws::Vector<FormOutput>&& value) { m_formsOutput = std::move(value); }
121 inline GetDataProductResult& WithFormsOutput(const Aws::Vector<FormOutput>& value) { SetFormsOutput(value); return *this;}
122 inline GetDataProductResult& WithFormsOutput(Aws::Vector<FormOutput>&& value) { SetFormsOutput(std::move(value)); return *this;}
123 inline GetDataProductResult& AddFormsOutput(const FormOutput& value) { m_formsOutput.push_back(value); return *this; }
124 inline GetDataProductResult& AddFormsOutput(FormOutput&& value) { m_formsOutput.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
132 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
133 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
135 inline GetDataProductResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
136 inline GetDataProductResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
137 inline GetDataProductResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
138 inline GetDataProductResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
140
142
145 inline const Aws::String& GetId() const{ return m_id; }
146 inline void SetId(const Aws::String& value) { m_id = value; }
147 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
148 inline void SetId(const char* value) { m_id.assign(value); }
149 inline GetDataProductResult& WithId(const Aws::String& value) { SetId(value); return *this;}
150 inline GetDataProductResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
151 inline GetDataProductResult& WithId(const char* value) { SetId(value); return *this;}
153
155
158 inline const Aws::Vector<DataProductItem>& GetItems() const{ return m_items; }
159 inline void SetItems(const Aws::Vector<DataProductItem>& value) { m_items = value; }
160 inline void SetItems(Aws::Vector<DataProductItem>&& value) { m_items = std::move(value); }
161 inline GetDataProductResult& WithItems(const Aws::Vector<DataProductItem>& value) { SetItems(value); return *this;}
162 inline GetDataProductResult& WithItems(Aws::Vector<DataProductItem>&& value) { SetItems(std::move(value)); return *this;}
163 inline GetDataProductResult& AddItems(const DataProductItem& value) { m_items.push_back(value); return *this; }
164 inline GetDataProductResult& AddItems(DataProductItem&& value) { m_items.push_back(std::move(value)); return *this; }
166
168
171 inline const Aws::String& GetName() const{ return m_name; }
172 inline void SetName(const Aws::String& value) { m_name = value; }
173 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
174 inline void SetName(const char* value) { m_name.assign(value); }
175 inline GetDataProductResult& WithName(const Aws::String& value) { SetName(value); return *this;}
176 inline GetDataProductResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
177 inline GetDataProductResult& WithName(const char* value) { SetName(value); return *this;}
179
181
184 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
185 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; }
186 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); }
187 inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); }
188 inline GetDataProductResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
189 inline GetDataProductResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
190 inline GetDataProductResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
192
194
197 inline const Aws::String& GetRevision() const{ return m_revision; }
198 inline void SetRevision(const Aws::String& value) { m_revision = value; }
199 inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); }
200 inline void SetRevision(const char* value) { m_revision.assign(value); }
201 inline GetDataProductResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
202 inline GetDataProductResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
203 inline GetDataProductResult& WithRevision(const char* value) { SetRevision(value); return *this;}
205
207
210 inline const DataProductStatus& GetStatus() const{ return m_status; }
211 inline void SetStatus(const DataProductStatus& value) { m_status = value; }
212 inline void SetStatus(DataProductStatus&& value) { m_status = std::move(value); }
213 inline GetDataProductResult& WithStatus(const DataProductStatus& value) { SetStatus(value); return *this;}
214 inline GetDataProductResult& WithStatus(DataProductStatus&& value) { SetStatus(std::move(value)); return *this;}
216
218
219 inline const Aws::String& GetRequestId() const{ return m_requestId; }
220 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
221 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
222 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
223 inline GetDataProductResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
224 inline GetDataProductResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
225 inline GetDataProductResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
227 private:
228
229 Aws::Utils::DateTime m_createdAt;
230
231 Aws::String m_createdBy;
232
233 Aws::String m_description;
234
235 Aws::String m_domainId;
236
237 Aws::Utils::DateTime m_firstRevisionCreatedAt;
238
239 Aws::String m_firstRevisionCreatedBy;
240
241 Aws::Vector<FormOutput> m_formsOutput;
242
243 Aws::Vector<Aws::String> m_glossaryTerms;
244
245 Aws::String m_id;
246
248
249 Aws::String m_name;
250
251 Aws::String m_owningProjectId;
252
253 Aws::String m_revision;
254
255 DataProductStatus m_status;
256
257 Aws::String m_requestId;
258 };
259
260} // namespace Model
261} // namespace DataZone
262} // namespace Aws
GetDataProductResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDataProductResult & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
GetDataProductResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
GetDataProductResult & WithItems(Aws::Vector< DataProductItem > &&value)
GetDataProductResult & AddGlossaryTerms(Aws::String &&value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
const Aws::Vector< FormOutput > & GetFormsOutput() const
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
GetDataProductResult & WithOwningProjectId(Aws::String &&value)
GetDataProductResult & WithName(const Aws::String &value)
GetDataProductResult & AddFormsOutput(FormOutput &&value)
GetDataProductResult & WithDescription(Aws::String &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
GetDataProductResult & WithDomainId(const char *value)
GetDataProductResult & WithName(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
GetDataProductResult & WithCreatedBy(const char *value)
const DataProductStatus & GetStatus() const
GetDataProductResult & WithName(const char *value)
GetDataProductResult & WithDomainId(const Aws::String &value)
void SetOwningProjectId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDataProductResult & WithFormsOutput(const Aws::Vector< FormOutput > &value)
GetDataProductResult & WithId(const Aws::String &value)
AWS_DATAZONE_API GetDataProductResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetDataProductResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataProductResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataProductResult & WithOwningProjectId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetDataProductResult & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
GetDataProductResult & WithFirstRevisionCreatedBy(const char *value)
GetDataProductResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetItems(const Aws::Vector< DataProductItem > &value)
void SetFormsOutput(Aws::Vector< FormOutput > &&value)
GetDataProductResult & WithItems(const Aws::Vector< DataProductItem > &value)
GetDataProductResult & WithRevision(const char *value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
GetDataProductResult & WithStatus(DataProductStatus &&value)
GetDataProductResult & WithRequestId(const Aws::String &value)
void SetStatus(const DataProductStatus &value)
GetDataProductResult & WithStatus(const DataProductStatus &value)
GetDataProductResult & WithCreatedBy(Aws::String &&value)
void SetFirstRevisionCreatedBy(const Aws::String &value)
void SetFormsOutput(const Aws::Vector< FormOutput > &value)
const Aws::String & GetFirstRevisionCreatedBy() const
const Aws::Vector< DataProductItem > & GetItems() const
GetDataProductResult & WithDescription(const char *value)
GetDataProductResult & AddGlossaryTerms(const Aws::String &value)
GetDataProductResult & WithRequestId(Aws::String &&value)
GetDataProductResult & WithId(Aws::String &&value)
GetDataProductResult & AddItems(DataProductItem &&value)
GetDataProductResult & AddGlossaryTerms(const char *value)
GetDataProductResult & WithDescription(const Aws::String &value)
GetDataProductResult & WithFormsOutput(Aws::Vector< FormOutput > &&value)
GetDataProductResult & WithRevision(Aws::String &&value)
GetDataProductResult & AddItems(const DataProductItem &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataProductResult & WithCreatedBy(const Aws::String &value)
GetDataProductResult & WithId(const char *value)
void SetDescription(const Aws::String &value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
GetDataProductResult & AddFormsOutput(const FormOutput &value)
void SetItems(Aws::Vector< DataProductItem > &&value)
GetDataProductResult & WithRevision(const Aws::String &value)
GetDataProductResult & WithDomainId(Aws::String &&value)
GetDataProductResult & WithFirstRevisionCreatedBy(Aws::String &&value)
GetDataProductResult & WithOwningProjectId(const Aws::String &value)
GetDataProductResult & WithRequestId(const char *value)
GetDataProductResult & WithFirstRevisionCreatedBy(const Aws::String &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