AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataProductResult.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 CreateDataProductResult();
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 CreateDataProductResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
48 inline CreateDataProductResult& 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 CreateDataProductResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
60 inline CreateDataProductResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
61 inline CreateDataProductResult& 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 CreateDataProductResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline CreateDataProductResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline CreateDataProductResult& 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 CreateDataProductResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline CreateDataProductResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline CreateDataProductResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
95 inline const Aws::Utils::DateTime& GetFirstRevisionCreatedAt() const{ return m_firstRevisionCreatedAt; }
96 inline void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime& value) { m_firstRevisionCreatedAt = value; }
97 inline void SetFirstRevisionCreatedAt(Aws::Utils::DateTime&& value) { m_firstRevisionCreatedAt = std::move(value); }
101
103
106 inline const Aws::String& GetFirstRevisionCreatedBy() const{ return m_firstRevisionCreatedBy; }
107 inline void SetFirstRevisionCreatedBy(const Aws::String& value) { m_firstRevisionCreatedBy = value; }
108 inline void SetFirstRevisionCreatedBy(Aws::String&& value) { m_firstRevisionCreatedBy = std::move(value); }
109 inline void SetFirstRevisionCreatedBy(const char* value) { m_firstRevisionCreatedBy.assign(value); }
112 inline CreateDataProductResult& WithFirstRevisionCreatedBy(const char* value) { SetFirstRevisionCreatedBy(value); return *this;}
114
116
119 inline const Aws::Vector<FormOutput>& GetFormsOutput() const{ return m_formsOutput; }
120 inline void SetFormsOutput(const Aws::Vector<FormOutput>& value) { m_formsOutput = value; }
121 inline void SetFormsOutput(Aws::Vector<FormOutput>&& value) { m_formsOutput = std::move(value); }
123 inline CreateDataProductResult& WithFormsOutput(Aws::Vector<FormOutput>&& value) { SetFormsOutput(std::move(value)); return *this;}
124 inline CreateDataProductResult& AddFormsOutput(const FormOutput& value) { m_formsOutput.push_back(value); return *this; }
125 inline CreateDataProductResult& AddFormsOutput(FormOutput&& value) { m_formsOutput.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
133 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
134 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
136 inline CreateDataProductResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
137 inline CreateDataProductResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
138 inline CreateDataProductResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
139 inline CreateDataProductResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
141
143
146 inline const Aws::String& GetId() const{ return m_id; }
147 inline void SetId(const Aws::String& value) { m_id = value; }
148 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
149 inline void SetId(const char* value) { m_id.assign(value); }
150 inline CreateDataProductResult& WithId(const Aws::String& value) { SetId(value); return *this;}
151 inline CreateDataProductResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
152 inline CreateDataProductResult& WithId(const char* value) { SetId(value); return *this;}
154
156
159 inline const Aws::Vector<DataProductItem>& GetItems() const{ return m_items; }
160 inline void SetItems(const Aws::Vector<DataProductItem>& value) { m_items = value; }
161 inline void SetItems(Aws::Vector<DataProductItem>&& value) { m_items = std::move(value); }
162 inline CreateDataProductResult& WithItems(const Aws::Vector<DataProductItem>& value) { SetItems(value); return *this;}
163 inline CreateDataProductResult& WithItems(Aws::Vector<DataProductItem>&& value) { SetItems(std::move(value)); return *this;}
164 inline CreateDataProductResult& AddItems(const DataProductItem& value) { m_items.push_back(value); return *this; }
165 inline CreateDataProductResult& AddItems(DataProductItem&& value) { m_items.push_back(std::move(value)); return *this; }
167
169
172 inline const Aws::String& GetName() const{ return m_name; }
173 inline void SetName(const Aws::String& value) { m_name = value; }
174 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
175 inline void SetName(const char* value) { m_name.assign(value); }
176 inline CreateDataProductResult& WithName(const Aws::String& value) { SetName(value); return *this;}
177 inline CreateDataProductResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
178 inline CreateDataProductResult& WithName(const char* value) { SetName(value); return *this;}
180
182
185 inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; }
186 inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; }
187 inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); }
188 inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); }
189 inline CreateDataProductResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;}
190 inline CreateDataProductResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;}
191 inline CreateDataProductResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;}
193
195
198 inline const Aws::String& GetRevision() const{ return m_revision; }
199 inline void SetRevision(const Aws::String& value) { m_revision = value; }
200 inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); }
201 inline void SetRevision(const char* value) { m_revision.assign(value); }
202 inline CreateDataProductResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
203 inline CreateDataProductResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
204 inline CreateDataProductResult& WithRevision(const char* value) { SetRevision(value); return *this;}
206
208
211 inline const DataProductStatus& GetStatus() const{ return m_status; }
212 inline void SetStatus(const DataProductStatus& value) { m_status = value; }
213 inline void SetStatus(DataProductStatus&& value) { m_status = std::move(value); }
214 inline CreateDataProductResult& WithStatus(const DataProductStatus& value) { SetStatus(value); return *this;}
215 inline CreateDataProductResult& WithStatus(DataProductStatus&& value) { SetStatus(std::move(value)); return *this;}
217
219
220 inline const Aws::String& GetRequestId() const{ return m_requestId; }
221 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
222 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
223 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
224 inline CreateDataProductResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
225 inline CreateDataProductResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
226 inline CreateDataProductResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
228 private:
229
230 Aws::Utils::DateTime m_createdAt;
231
232 Aws::String m_createdBy;
233
234 Aws::String m_description;
235
236 Aws::String m_domainId;
237
238 Aws::Utils::DateTime m_firstRevisionCreatedAt;
239
240 Aws::String m_firstRevisionCreatedBy;
241
242 Aws::Vector<FormOutput> m_formsOutput;
243
244 Aws::Vector<Aws::String> m_glossaryTerms;
245
246 Aws::String m_id;
247
249
250 Aws::String m_name;
251
252 Aws::String m_owningProjectId;
253
254 Aws::String m_revision;
255
256 DataProductStatus m_status;
257
258 Aws::String m_requestId;
259 };
260
261} // namespace Model
262} // namespace DataZone
263} // namespace Aws
CreateDataProductResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateDataProductResult & WithName(const Aws::String &value)
CreateDataProductResult & WithRequestId(const Aws::String &value)
CreateDataProductResult & WithDescription(Aws::String &&value)
CreateDataProductResult & AddItems(const DataProductItem &value)
CreateDataProductResult & AddFormsOutput(const FormOutput &value)
CreateDataProductResult & WithCreatedBy(const Aws::String &value)
CreateDataProductResult & WithFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
CreateDataProductResult & AddGlossaryTerms(Aws::String &&value)
CreateDataProductResult & WithOwningProjectId(const char *value)
CreateDataProductResult & WithId(const Aws::String &value)
CreateDataProductResult & WithId(const char *value)
CreateDataProductResult & WithFirstRevisionCreatedBy(Aws::String &&value)
CreateDataProductResult & WithCreatedBy(Aws::String &&value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateDataProductResult & AddGlossaryTerms(const Aws::String &value)
CreateDataProductResult & WithRevision(Aws::String &&value)
CreateDataProductResult & WithId(Aws::String &&value)
CreateDataProductResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateDataProductResult & AddItems(DataProductItem &&value)
void SetStatus(const DataProductStatus &value)
CreateDataProductResult & WithCreatedBy(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateDataProductResult & WithDomainId(const Aws::String &value)
CreateDataProductResult & WithOwningProjectId(const Aws::String &value)
CreateDataProductResult & WithRevision(const Aws::String &value)
CreateDataProductResult & WithRevision(const char *value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateDataProductResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateDataProductResult & WithFormsOutput(const Aws::Vector< FormOutput > &value)
void SetFormsOutput(const Aws::Vector< FormOutput > &value)
CreateDataProductResult & WithDomainId(const char *value)
CreateDataProductResult & WithStatus(DataProductStatus &&value)
CreateDataProductResult & WithOwningProjectId(Aws::String &&value)
CreateDataProductResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateDataProductResult & WithDescription(const char *value)
AWS_DATAZONE_API CreateDataProductResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataProductResult & WithFormsOutput(Aws::Vector< FormOutput > &&value)
void SetFormsOutput(Aws::Vector< FormOutput > &&value)
const Aws::Vector< DataProductItem > & GetItems() const
CreateDataProductResult & WithItems(Aws::Vector< DataProductItem > &&value)
CreateDataProductResult & WithDomainId(Aws::String &&value)
CreateDataProductResult & WithRequestId(Aws::String &&value)
CreateDataProductResult & WithFirstRevisionCreatedBy(const Aws::String &value)
CreateDataProductResult & WithItems(const Aws::Vector< DataProductItem > &value)
CreateDataProductResult & WithName(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateDataProductResult & WithFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API CreateDataProductResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataProductResult & AddFormsOutput(FormOutput &&value)
CreateDataProductResult & WithDescription(const Aws::String &value)
CreateDataProductResult & WithRequestId(const char *value)
void SetFirstRevisionCreatedAt(Aws::Utils::DateTime &&value)
void SetFirstRevisionCreatedAt(const Aws::Utils::DateTime &value)
CreateDataProductResult & WithName(const char *value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateDataProductResult & WithStatus(const DataProductStatus &value)
CreateDataProductResult & AddGlossaryTerms(const char *value)
const Aws::Utils::DateTime & GetFirstRevisionCreatedAt() const
const Aws::Vector< FormOutput > & GetFormsOutput() const
void SetItems(Aws::Vector< DataProductItem > &&value)
void SetItems(const Aws::Vector< DataProductItem > &value)
CreateDataProductResult & WithFirstRevisionCreatedBy(const char *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