AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Project.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/databrew/model/Sample.h>
11#include <aws/core/utils/memory/stl/AWSMap.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 GlueDataBrew
25{
26namespace Model
27{
28
35 class Project
36 {
37 public:
38 AWS_GLUEDATABREW_API Project() = default;
39 AWS_GLUEDATABREW_API Project(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 Project& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
61 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
62 template<typename CreateDateT = Aws::Utils::DateTime>
63 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
64 template<typename CreateDateT = Aws::Utils::DateTime>
65 Project& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
67
69
72 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
73 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
74 template<typename CreatedByT = Aws::String>
75 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
76 template<typename CreatedByT = Aws::String>
77 Project& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
85 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
86 template<typename DatasetNameT = Aws::String>
87 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
88 template<typename DatasetNameT = Aws::String>
89 Project& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
97 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
98 template<typename LastModifiedDateT = Aws::Utils::DateTime>
99 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
100 template<typename LastModifiedDateT = Aws::Utils::DateTime>
101 Project& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
103
105
108 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
109 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
110 template<typename LastModifiedByT = Aws::String>
111 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
112 template<typename LastModifiedByT = Aws::String>
113 Project& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(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 Project& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
132 inline const Aws::String& GetRecipeName() const { return m_recipeName; }
133 inline bool RecipeNameHasBeenSet() const { return m_recipeNameHasBeenSet; }
134 template<typename RecipeNameT = Aws::String>
135 void SetRecipeName(RecipeNameT&& value) { m_recipeNameHasBeenSet = true; m_recipeName = std::forward<RecipeNameT>(value); }
136 template<typename RecipeNameT = Aws::String>
137 Project& WithRecipeName(RecipeNameT&& value) { SetRecipeName(std::forward<RecipeNameT>(value)); return *this;}
139
141
144 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
145 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
146 template<typename ResourceArnT = Aws::String>
147 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
148 template<typename ResourceArnT = Aws::String>
149 Project& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
151
153
158 inline const Sample& GetSample() const { return m_sample; }
159 inline bool SampleHasBeenSet() const { return m_sampleHasBeenSet; }
160 template<typename SampleT = Sample>
161 void SetSample(SampleT&& value) { m_sampleHasBeenSet = true; m_sample = std::forward<SampleT>(value); }
162 template<typename SampleT = Sample>
163 Project& WithSample(SampleT&& value) { SetSample(std::forward<SampleT>(value)); return *this;}
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
171 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
174 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 Project& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
176 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
177 Project& AddTags(TagsKeyT&& key, TagsValueT&& value) {
178 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
179 }
181
183
187 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
188 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
189 template<typename RoleArnT = Aws::String>
190 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
191 template<typename RoleArnT = Aws::String>
192 Project& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
194
196
200 inline const Aws::String& GetOpenedBy() const { return m_openedBy; }
201 inline bool OpenedByHasBeenSet() const { return m_openedByHasBeenSet; }
202 template<typename OpenedByT = Aws::String>
203 void SetOpenedBy(OpenedByT&& value) { m_openedByHasBeenSet = true; m_openedBy = std::forward<OpenedByT>(value); }
204 template<typename OpenedByT = Aws::String>
205 Project& WithOpenedBy(OpenedByT&& value) { SetOpenedBy(std::forward<OpenedByT>(value)); return *this;}
207
209
212 inline const Aws::Utils::DateTime& GetOpenDate() const { return m_openDate; }
213 inline bool OpenDateHasBeenSet() const { return m_openDateHasBeenSet; }
214 template<typename OpenDateT = Aws::Utils::DateTime>
215 void SetOpenDate(OpenDateT&& value) { m_openDateHasBeenSet = true; m_openDate = std::forward<OpenDateT>(value); }
216 template<typename OpenDateT = Aws::Utils::DateTime>
217 Project& WithOpenDate(OpenDateT&& value) { SetOpenDate(std::forward<OpenDateT>(value)); return *this;}
219 private:
220
221 Aws::String m_accountId;
222 bool m_accountIdHasBeenSet = false;
223
224 Aws::Utils::DateTime m_createDate{};
225 bool m_createDateHasBeenSet = false;
226
227 Aws::String m_createdBy;
228 bool m_createdByHasBeenSet = false;
229
230 Aws::String m_datasetName;
231 bool m_datasetNameHasBeenSet = false;
232
233 Aws::Utils::DateTime m_lastModifiedDate{};
234 bool m_lastModifiedDateHasBeenSet = false;
235
236 Aws::String m_lastModifiedBy;
237 bool m_lastModifiedByHasBeenSet = false;
238
239 Aws::String m_name;
240 bool m_nameHasBeenSet = false;
241
242 Aws::String m_recipeName;
243 bool m_recipeNameHasBeenSet = false;
244
245 Aws::String m_resourceArn;
246 bool m_resourceArnHasBeenSet = false;
247
248 Sample m_sample;
249 bool m_sampleHasBeenSet = false;
250
252 bool m_tagsHasBeenSet = false;
253
254 Aws::String m_roleArn;
255 bool m_roleArnHasBeenSet = false;
256
257 Aws::String m_openedBy;
258 bool m_openedByHasBeenSet = false;
259
260 Aws::Utils::DateTime m_openDate{};
261 bool m_openDateHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace GlueDataBrew
266} // namespace Aws
void SetRoleArn(RoleArnT &&value)
Definition Project.h:190
AWS_GLUEDATABREW_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
Definition Project.h:173
Project & WithRoleArn(RoleArnT &&value)
Definition Project.h:192
const Aws::String & GetRecipeName() const
Definition Project.h:132
Project & WithOpenedBy(OpenedByT &&value)
Definition Project.h:205
void SetRecipeName(RecipeNameT &&value)
Definition Project.h:135
Project & WithSample(SampleT &&value)
Definition Project.h:163
Project & WithAccountId(AccountIdT &&value)
Definition Project.h:53
void SetOpenDate(OpenDateT &&value)
Definition Project.h:215
const Aws::Utils::DateTime & GetOpenDate() const
Definition Project.h:212
const Aws::String & GetName() const
Definition Project.h:120
Project & WithOpenDate(OpenDateT &&value)
Definition Project.h:217
void SetDatasetName(DatasetNameT &&value)
Definition Project.h:87
AWS_GLUEDATABREW_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithLastModifiedBy(LastModifiedByT &&value)
Definition Project.h:113
const Sample & GetSample() const
Definition Project.h:158
Project & WithDatasetName(DatasetNameT &&value)
Definition Project.h:89
Project & WithLastModifiedDate(LastModifiedDateT &&value)
Definition Project.h:101
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Project.h:170
bool LastModifiedDateHasBeenSet() const
Definition Project.h:97
Project & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Project.h:177
bool LastModifiedByHasBeenSet() const
Definition Project.h:109
void SetSample(SampleT &&value)
Definition Project.h:161
const Aws::String & GetAccountId() const
Definition Project.h:48
const Aws::String & GetCreatedBy() const
Definition Project.h:72
const Aws::String & GetResourceArn() const
Definition Project.h:144
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Project.h:96
void SetResourceArn(ResourceArnT &&value)
Definition Project.h:147
void SetName(NameT &&value)
Definition Project.h:123
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition Project.h:99
Project & WithTags(TagsT &&value)
Definition Project.h:175
void SetAccountId(AccountIdT &&value)
Definition Project.h:51
AWS_GLUEDATABREW_API Project()=default
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDatasetName() const
Definition Project.h:84
void SetCreateDate(CreateDateT &&value)
Definition Project.h:63
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Project.h:111
Project & WithCreatedBy(CreatedByT &&value)
Definition Project.h:77
void SetOpenedBy(OpenedByT &&value)
Definition Project.h:203
const Aws::String & GetRoleArn() const
Definition Project.h:187
Project & WithName(NameT &&value)
Definition Project.h:125
Project & WithResourceArn(ResourceArnT &&value)
Definition Project.h:149
const Aws::String & GetLastModifiedBy() const
Definition Project.h:108
const Aws::String & GetOpenedBy() const
Definition Project.h:200
const Aws::Utils::DateTime & GetCreateDate() const
Definition Project.h:60
Project & WithRecipeName(RecipeNameT &&value)
Definition Project.h:137
Project & WithCreateDate(CreateDateT &&value)
Definition Project.h:65
void SetCreatedBy(CreatedByT &&value)
Definition Project.h:75
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue