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/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ProjectSource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/ProjectArtifacts.h>
12#include <aws/codebuild/model/ProjectCache.h>
13#include <aws/codebuild/model/ProjectEnvironment.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/codebuild/model/Webhook.h>
16#include <aws/codebuild/model/VpcConfig.h>
17#include <aws/codebuild/model/ProjectBadge.h>
18#include <aws/codebuild/model/LogsConfig.h>
19#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
20#include <aws/codebuild/model/ProjectVisibilityType.h>
21#include <aws/codebuild/model/ProjectSourceVersion.h>
22#include <aws/codebuild/model/Tag.h>
23#include <aws/codebuild/model/ProjectFileSystemLocation.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace CodeBuild
37{
38namespace Model
39{
40
46 class Project
47 {
48 public:
49 AWS_CODEBUILD_API Project() = default;
50 AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue);
51 AWS_CODEBUILD_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 Project& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetArn() const { return m_arn; }
72 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
73 template<typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
75 template<typename ArnT = Aws::String>
76 Project& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 Project& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const ProjectSource& GetSource() const { return m_source; }
96 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
97 template<typename SourceT = ProjectSource>
98 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
99 template<typename SourceT = ProjectSource>
100 Project& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
102
104
107 inline const Aws::Vector<ProjectSource>& GetSecondarySources() const { return m_secondarySources; }
108 inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
109 template<typename SecondarySourcesT = Aws::Vector<ProjectSource>>
110 void SetSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = std::forward<SecondarySourcesT>(value); }
111 template<typename SecondarySourcesT = Aws::Vector<ProjectSource>>
112 Project& WithSecondarySources(SecondarySourcesT&& value) { SetSecondarySources(std::forward<SecondarySourcesT>(value)); return *this;}
113 template<typename SecondarySourcesT = ProjectSource>
114 Project& AddSecondarySources(SecondarySourcesT&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value)); return *this; }
116
118
139 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
140 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
141 template<typename SourceVersionT = Aws::String>
142 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::forward<SourceVersionT>(value); }
143 template<typename SourceVersionT = Aws::String>
144 Project& WithSourceVersion(SourceVersionT&& value) { SetSourceVersion(std::forward<SourceVersionT>(value)); return *this;}
146
148
154 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const { return m_secondarySourceVersions; }
155 inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
156 template<typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
157 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value); }
158 template<typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
159 Project& WithSecondarySourceVersions(SecondarySourceVersionsT&& value) { SetSecondarySourceVersions(std::forward<SecondarySourceVersionsT>(value)); return *this;}
160 template<typename SecondarySourceVersionsT = ProjectSourceVersion>
161 Project& AddSecondarySourceVersions(SecondarySourceVersionsT&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value)); return *this; }
163
165
168 inline const ProjectArtifacts& GetArtifacts() const { return m_artifacts; }
169 inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
170 template<typename ArtifactsT = ProjectArtifacts>
171 void SetArtifacts(ArtifactsT&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::forward<ArtifactsT>(value); }
172 template<typename ArtifactsT = ProjectArtifacts>
173 Project& WithArtifacts(ArtifactsT&& value) { SetArtifacts(std::forward<ArtifactsT>(value)); return *this;}
175
177
180 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifacts() const { return m_secondaryArtifacts; }
181 inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
182 template<typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
183 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value); }
184 template<typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
185 Project& WithSecondaryArtifacts(SecondaryArtifactsT&& value) { SetSecondaryArtifacts(std::forward<SecondaryArtifactsT>(value)); return *this;}
186 template<typename SecondaryArtifactsT = ProjectArtifacts>
187 Project& AddSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value)); return *this; }
189
191
194 inline const ProjectCache& GetCache() const { return m_cache; }
195 inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
196 template<typename CacheT = ProjectCache>
197 void SetCache(CacheT&& value) { m_cacheHasBeenSet = true; m_cache = std::forward<CacheT>(value); }
198 template<typename CacheT = ProjectCache>
199 Project& WithCache(CacheT&& value) { SetCache(std::forward<CacheT>(value)); return *this;}
201
203
206 inline const ProjectEnvironment& GetEnvironment() const { return m_environment; }
207 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
208 template<typename EnvironmentT = ProjectEnvironment>
209 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
210 template<typename EnvironmentT = ProjectEnvironment>
211 Project& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
213
215
219 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
220 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
221 template<typename ServiceRoleT = Aws::String>
222 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
223 template<typename ServiceRoleT = Aws::String>
224 Project& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
226
228
233 inline int GetTimeoutInMinutes() const { return m_timeoutInMinutes; }
234 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
235 inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
236 inline Project& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
238
240
244 inline int GetQueuedTimeoutInMinutes() const { return m_queuedTimeoutInMinutes; }
245 inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
246 inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; }
247 inline Project& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;}
249
251
261 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
262 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
263 template<typename EncryptionKeyT = Aws::String>
264 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
265 template<typename EncryptionKeyT = Aws::String>
266 Project& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
268
270
275 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
276 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
277 template<typename TagsT = Aws::Vector<Tag>>
278 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
279 template<typename TagsT = Aws::Vector<Tag>>
280 Project& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
281 template<typename TagsT = Tag>
282 Project& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
284
286
289 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
290 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
291 template<typename CreatedT = Aws::Utils::DateTime>
292 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
293 template<typename CreatedT = Aws::Utils::DateTime>
294 Project& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
296
298
302 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
303 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
304 template<typename LastModifiedT = Aws::Utils::DateTime>
305 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
306 template<typename LastModifiedT = Aws::Utils::DateTime>
307 Project& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
309
311
315 inline const Webhook& GetWebhook() const { return m_webhook; }
316 inline bool WebhookHasBeenSet() const { return m_webhookHasBeenSet; }
317 template<typename WebhookT = Webhook>
318 void SetWebhook(WebhookT&& value) { m_webhookHasBeenSet = true; m_webhook = std::forward<WebhookT>(value); }
319 template<typename WebhookT = Webhook>
320 Project& WithWebhook(WebhookT&& value) { SetWebhook(std::forward<WebhookT>(value)); return *this;}
322
324
327 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
328 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
329 template<typename VpcConfigT = VpcConfig>
330 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
331 template<typename VpcConfigT = VpcConfig>
332 Project& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
334
336
339 inline const ProjectBadge& GetBadge() const { return m_badge; }
340 inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; }
341 template<typename BadgeT = ProjectBadge>
342 void SetBadge(BadgeT&& value) { m_badgeHasBeenSet = true; m_badge = std::forward<BadgeT>(value); }
343 template<typename BadgeT = ProjectBadge>
344 Project& WithBadge(BadgeT&& value) { SetBadge(std::forward<BadgeT>(value)); return *this;}
346
348
352 inline const LogsConfig& GetLogsConfig() const { return m_logsConfig; }
353 inline bool LogsConfigHasBeenSet() const { return m_logsConfigHasBeenSet; }
354 template<typename LogsConfigT = LogsConfig>
355 void SetLogsConfig(LogsConfigT&& value) { m_logsConfigHasBeenSet = true; m_logsConfig = std::forward<LogsConfigT>(value); }
356 template<typename LogsConfigT = LogsConfig>
357 Project& WithLogsConfig(LogsConfigT&& value) { SetLogsConfig(std::forward<LogsConfigT>(value)); return *this;}
359
361
368 inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
369 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
370 template<typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
371 void SetFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::forward<FileSystemLocationsT>(value); }
372 template<typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
373 Project& WithFileSystemLocations(FileSystemLocationsT&& value) { SetFileSystemLocations(std::forward<FileSystemLocationsT>(value)); return *this;}
374 template<typename FileSystemLocationsT = ProjectFileSystemLocation>
375 Project& AddFileSystemLocations(FileSystemLocationsT&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value)); return *this; }
377
379
383 inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const { return m_buildBatchConfig; }
384 inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
385 template<typename BuildBatchConfigT = ProjectBuildBatchConfig>
386 void SetBuildBatchConfig(BuildBatchConfigT&& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = std::forward<BuildBatchConfigT>(value); }
387 template<typename BuildBatchConfigT = ProjectBuildBatchConfig>
388 Project& WithBuildBatchConfig(BuildBatchConfigT&& value) { SetBuildBatchConfig(std::forward<BuildBatchConfigT>(value)); return *this;}
390
392
398 inline int GetConcurrentBuildLimit() const { return m_concurrentBuildLimit; }
399 inline bool ConcurrentBuildLimitHasBeenSet() const { return m_concurrentBuildLimitHasBeenSet; }
400 inline void SetConcurrentBuildLimit(int value) { m_concurrentBuildLimitHasBeenSet = true; m_concurrentBuildLimit = value; }
401 inline Project& WithConcurrentBuildLimit(int value) { SetConcurrentBuildLimit(value); return *this;}
403
405
406 inline ProjectVisibilityType GetProjectVisibility() const { return m_projectVisibility; }
407 inline bool ProjectVisibilityHasBeenSet() const { return m_projectVisibilityHasBeenSet; }
408 inline void SetProjectVisibility(ProjectVisibilityType value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = value; }
411
413
416 inline const Aws::String& GetPublicProjectAlias() const { return m_publicProjectAlias; }
417 inline bool PublicProjectAliasHasBeenSet() const { return m_publicProjectAliasHasBeenSet; }
418 template<typename PublicProjectAliasT = Aws::String>
419 void SetPublicProjectAlias(PublicProjectAliasT&& value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias = std::forward<PublicProjectAliasT>(value); }
420 template<typename PublicProjectAliasT = Aws::String>
421 Project& WithPublicProjectAlias(PublicProjectAliasT&& value) { SetPublicProjectAlias(std::forward<PublicProjectAliasT>(value)); return *this;}
423
425
429 inline const Aws::String& GetResourceAccessRole() const { return m_resourceAccessRole; }
430 inline bool ResourceAccessRoleHasBeenSet() const { return m_resourceAccessRoleHasBeenSet; }
431 template<typename ResourceAccessRoleT = Aws::String>
432 void SetResourceAccessRole(ResourceAccessRoleT&& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = std::forward<ResourceAccessRoleT>(value); }
433 template<typename ResourceAccessRoleT = Aws::String>
434 Project& WithResourceAccessRole(ResourceAccessRoleT&& value) { SetResourceAccessRole(std::forward<ResourceAccessRoleT>(value)); return *this;}
436
438
444 inline int GetAutoRetryLimit() const { return m_autoRetryLimit; }
445 inline bool AutoRetryLimitHasBeenSet() const { return m_autoRetryLimitHasBeenSet; }
446 inline void SetAutoRetryLimit(int value) { m_autoRetryLimitHasBeenSet = true; m_autoRetryLimit = value; }
447 inline Project& WithAutoRetryLimit(int value) { SetAutoRetryLimit(value); return *this;}
449 private:
450
451 Aws::String m_name;
452 bool m_nameHasBeenSet = false;
453
454 Aws::String m_arn;
455 bool m_arnHasBeenSet = false;
456
457 Aws::String m_description;
458 bool m_descriptionHasBeenSet = false;
459
460 ProjectSource m_source;
461 bool m_sourceHasBeenSet = false;
462
463 Aws::Vector<ProjectSource> m_secondarySources;
464 bool m_secondarySourcesHasBeenSet = false;
465
466 Aws::String m_sourceVersion;
467 bool m_sourceVersionHasBeenSet = false;
468
469 Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
470 bool m_secondarySourceVersionsHasBeenSet = false;
471
472 ProjectArtifacts m_artifacts;
473 bool m_artifactsHasBeenSet = false;
474
475 Aws::Vector<ProjectArtifacts> m_secondaryArtifacts;
476 bool m_secondaryArtifactsHasBeenSet = false;
477
478 ProjectCache m_cache;
479 bool m_cacheHasBeenSet = false;
480
481 ProjectEnvironment m_environment;
482 bool m_environmentHasBeenSet = false;
483
484 Aws::String m_serviceRole;
485 bool m_serviceRoleHasBeenSet = false;
486
487 int m_timeoutInMinutes{0};
488 bool m_timeoutInMinutesHasBeenSet = false;
489
490 int m_queuedTimeoutInMinutes{0};
491 bool m_queuedTimeoutInMinutesHasBeenSet = false;
492
493 Aws::String m_encryptionKey;
494 bool m_encryptionKeyHasBeenSet = false;
495
496 Aws::Vector<Tag> m_tags;
497 bool m_tagsHasBeenSet = false;
498
499 Aws::Utils::DateTime m_created{};
500 bool m_createdHasBeenSet = false;
501
502 Aws::Utils::DateTime m_lastModified{};
503 bool m_lastModifiedHasBeenSet = false;
504
505 Webhook m_webhook;
506 bool m_webhookHasBeenSet = false;
507
508 VpcConfig m_vpcConfig;
509 bool m_vpcConfigHasBeenSet = false;
510
511 ProjectBadge m_badge;
512 bool m_badgeHasBeenSet = false;
513
514 LogsConfig m_logsConfig;
515 bool m_logsConfigHasBeenSet = false;
516
517 Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
518 bool m_fileSystemLocationsHasBeenSet = false;
519
520 ProjectBuildBatchConfig m_buildBatchConfig;
521 bool m_buildBatchConfigHasBeenSet = false;
522
523 int m_concurrentBuildLimit{0};
524 bool m_concurrentBuildLimitHasBeenSet = false;
525
527 bool m_projectVisibilityHasBeenSet = false;
528
529 Aws::String m_publicProjectAlias;
530 bool m_publicProjectAliasHasBeenSet = false;
531
532 Aws::String m_resourceAccessRole;
533 bool m_resourceAccessRoleHasBeenSet = false;
534
535 int m_autoRetryLimit{0};
536 bool m_autoRetryLimitHasBeenSet = false;
537 };
538
539} // namespace Model
540} // namespace CodeBuild
541} // namespace Aws
bool DescriptionHasBeenSet() const
Definition Project.h:84
Project & WithArtifacts(ArtifactsT &&value)
Definition Project.h:173
const ProjectArtifacts & GetArtifacts() const
Definition Project.h:168
void SetCache(CacheT &&value)
Definition Project.h:197
bool ResourceAccessRoleHasBeenSet() const
Definition Project.h:430
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutInMinutesHasBeenSet() const
Definition Project.h:234
Project & WithLogsConfig(LogsConfigT &&value)
Definition Project.h:357
bool VpcConfigHasBeenSet() const
Definition Project.h:328
bool AutoRetryLimitHasBeenSet() const
Definition Project.h:445
bool SecondaryArtifactsHasBeenSet() const
Definition Project.h:181
void SetSource(SourceT &&value)
Definition Project.h:98
const Aws::Vector< Tag > & GetTags() const
Definition Project.h:275
bool SecondarySourcesHasBeenSet() const
Definition Project.h:108
void SetLogsConfig(LogsConfigT &&value)
Definition Project.h:355
const Aws::String & GetSourceVersion() const
Definition Project.h:139
Project & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:161
void SetArn(ArnT &&value)
Definition Project.h:74
AWS_CODEBUILD_API Project()=default
void SetWebhook(WebhookT &&value)
Definition Project.h:318
Project & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:159
const LogsConfig & GetLogsConfig() const
Definition Project.h:352
Project & WithWebhook(WebhookT &&value)
Definition Project.h:320
bool ServiceRoleHasBeenSet() const
Definition Project.h:220
Project & WithBadge(BadgeT &&value)
Definition Project.h:344
void SetEncryptionKey(EncryptionKeyT &&value)
Definition Project.h:264
const ProjectBadge & GetBadge() const
Definition Project.h:339
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:183
bool ArtifactsHasBeenSet() const
Definition Project.h:169
void SetBadge(BadgeT &&value)
Definition Project.h:342
const VpcConfig & GetVpcConfig() const
Definition Project.h:327
void SetServiceRole(ServiceRoleT &&value)
Definition Project.h:222
const Aws::Utils::DateTime & GetLastModified() const
Definition Project.h:302
Project & WithEnvironment(EnvironmentT &&value)
Definition Project.h:211
Project & WithBuildBatchConfig(BuildBatchConfigT &&value)
Definition Project.h:388
void SetDescription(DescriptionT &&value)
Definition Project.h:86
void SetName(NameT &&value)
Definition Project.h:62
Project & WithVpcConfig(VpcConfigT &&value)
Definition Project.h:332
bool EncryptionKeyHasBeenSet() const
Definition Project.h:262
Project & WithLastModified(LastModifiedT &&value)
Definition Project.h:307
void SetSourceVersion(SourceVersionT &&value)
Definition Project.h:142
Project & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:185
Project & WithArn(ArnT &&value)
Definition Project.h:76
const Aws::String & GetName() const
Definition Project.h:59
Project & WithName(NameT &&value)
Definition Project.h:64
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Definition Project.h:107
bool FileSystemLocationsHasBeenSet() const
Definition Project.h:369
Project & WithProjectVisibility(ProjectVisibilityType value)
Definition Project.h:409
bool PublicProjectAliasHasBeenSet() const
Definition Project.h:417
Project & WithSourceVersion(SourceVersionT &&value)
Definition Project.h:144
Project & WithResourceAccessRole(ResourceAccessRoleT &&value)
Definition Project.h:434
bool QueuedTimeoutInMinutesHasBeenSet() const
Definition Project.h:245
bool SourceHasBeenSet() const
Definition Project.h:96
void SetCreated(CreatedT &&value)
Definition Project.h:292
int GetQueuedTimeoutInMinutes() const
Definition Project.h:244
Project & WithServiceRole(ServiceRoleT &&value)
Definition Project.h:224
const Webhook & GetWebhook() const
Definition Project.h:315
void SetFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:371
Project & WithCreated(CreatedT &&value)
Definition Project.h:294
const Aws::String & GetPublicProjectAlias() const
Definition Project.h:416
Project & WithAutoRetryLimit(int value)
Definition Project.h:447
Project & WithFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:373
Project & WithDescription(DescriptionT &&value)
Definition Project.h:88
void SetArtifacts(ArtifactsT &&value)
Definition Project.h:171
Project & WithCache(CacheT &&value)
Definition Project.h:199
void SetAutoRetryLimit(int value)
Definition Project.h:446
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:157
Project & WithSecondarySources(SecondarySourcesT &&value)
Definition Project.h:112
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Definition Project.h:383
void SetVpcConfig(VpcConfigT &&value)
Definition Project.h:330
const Aws::String & GetDescription() const
Definition Project.h:83
const Aws::String & GetEncryptionKey() const
Definition Project.h:261
AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
Definition Project.h:207
bool ConcurrentBuildLimitHasBeenSet() const
Definition Project.h:399
Project & WithConcurrentBuildLimit(int value)
Definition Project.h:401
ProjectVisibilityType GetProjectVisibility() const
Definition Project.h:406
bool LastModifiedHasBeenSet() const
Definition Project.h:303
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Definition Project.h:154
const Aws::String & GetResourceAccessRole() const
Definition Project.h:429
void SetBuildBatchConfig(BuildBatchConfigT &&value)
Definition Project.h:386
int GetConcurrentBuildLimit() const
Definition Project.h:398
const Aws::String & GetArn() const
Definition Project.h:71
AWS_CODEBUILD_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreated() const
Definition Project.h:289
void SetQueuedTimeoutInMinutes(int value)
Definition Project.h:246
const ProjectCache & GetCache() const
Definition Project.h:194
void SetProjectVisibility(ProjectVisibilityType value)
Definition Project.h:408
const ProjectEnvironment & GetEnvironment() const
Definition Project.h:206
Project & WithTimeoutInMinutes(int value)
Definition Project.h:236
Project & WithTags(TagsT &&value)
Definition Project.h:280
Project & WithSource(SourceT &&value)
Definition Project.h:100
Project & AddTags(TagsT &&value)
Definition Project.h:282
void SetTags(TagsT &&value)
Definition Project.h:278
bool ProjectVisibilityHasBeenSet() const
Definition Project.h:407
Project & AddFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:375
const Aws::String & GetServiceRole() const
Definition Project.h:219
void SetLastModified(LastModifiedT &&value)
Definition Project.h:305
Project & WithQueuedTimeoutInMinutes(int value)
Definition Project.h:247
Project & AddSecondarySources(SecondarySourcesT &&value)
Definition Project.h:114
Project & WithPublicProjectAlias(PublicProjectAliasT &&value)
Definition Project.h:421
const ProjectSource & GetSource() const
Definition Project.h:95
void SetTimeoutInMinutes(int value)
Definition Project.h:235
bool SourceVersionHasBeenSet() const
Definition Project.h:140
bool BuildBatchConfigHasBeenSet() const
Definition Project.h:384
void SetSecondarySources(SecondarySourcesT &&value)
Definition Project.h:110
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
Definition Project.h:180
void SetPublicProjectAlias(PublicProjectAliasT &&value)
Definition Project.h:419
void SetResourceAccessRole(ResourceAccessRoleT &&value)
Definition Project.h:432
void SetConcurrentBuildLimit(int value)
Definition Project.h:400
void SetEnvironment(EnvironmentT &&value)
Definition Project.h:209
bool LogsConfigHasBeenSet() const
Definition Project.h:353
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Definition Project.h:368
Project & WithEncryptionKey(EncryptionKeyT &&value)
Definition Project.h:266
bool SecondarySourceVersionsHasBeenSet() const
Definition Project.h:155
Project & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:187
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue