AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Project.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/LogsConfig.h>
9#include <aws/codebuild/model/ProjectArtifacts.h>
10#include <aws/codebuild/model/ProjectBadge.h>
11#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
12#include <aws/codebuild/model/ProjectCache.h>
13#include <aws/codebuild/model/ProjectEnvironment.h>
14#include <aws/codebuild/model/ProjectFileSystemLocation.h>
15#include <aws/codebuild/model/ProjectSource.h>
16#include <aws/codebuild/model/ProjectSourceVersion.h>
17#include <aws/codebuild/model/ProjectVisibilityType.h>
18#include <aws/codebuild/model/Tag.h>
19#include <aws/codebuild/model/VpcConfig.h>
20#include <aws/codebuild/model/Webhook.h>
21#include <aws/core/utils/DateTime.h>
22#include <aws/core/utils/memory/stl/AWSString.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace CodeBuild {
35namespace Model {
36
42class Project {
43 public:
44 AWS_CODEBUILD_API Project() = default;
45 AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CODEBUILD_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
61 Project& WithName(NameT&& value) {
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
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) {
75 m_arnHasBeenSet = true;
76 m_arn = std::forward<ArnT>(value);
77 }
78 template <typename ArnT = Aws::String>
79 Project& WithArn(ArnT&& value) {
80 SetArn(std::forward<ArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 Project& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const ProjectSource& GetSource() const { return m_source; }
108 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
109 template <typename SourceT = ProjectSource>
110 void SetSource(SourceT&& value) {
111 m_sourceHasBeenSet = true;
112 m_source = std::forward<SourceT>(value);
113 }
114 template <typename SourceT = ProjectSource>
115 Project& WithSource(SourceT&& value) {
116 SetSource(std::forward<SourceT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Vector<ProjectSource>& GetSecondarySources() const { return m_secondarySources; }
126 inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
127 template <typename SecondarySourcesT = Aws::Vector<ProjectSource>>
128 void SetSecondarySources(SecondarySourcesT&& value) {
129 m_secondarySourcesHasBeenSet = true;
130 m_secondarySources = std::forward<SecondarySourcesT>(value);
131 }
132 template <typename SecondarySourcesT = Aws::Vector<ProjectSource>>
133 Project& WithSecondarySources(SecondarySourcesT&& value) {
134 SetSecondarySources(std::forward<SecondarySourcesT>(value));
135 return *this;
136 }
137 template <typename SecondarySourcesT = ProjectSource>
138 Project& AddSecondarySources(SecondarySourcesT&& value) {
139 m_secondarySourcesHasBeenSet = true;
140 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
141 return *this;
142 }
144
146
167 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
168 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
169 template <typename SourceVersionT = Aws::String>
170 void SetSourceVersion(SourceVersionT&& value) {
171 m_sourceVersionHasBeenSet = true;
172 m_sourceVersion = std::forward<SourceVersionT>(value);
173 }
174 template <typename SourceVersionT = Aws::String>
175 Project& WithSourceVersion(SourceVersionT&& value) {
176 SetSourceVersion(std::forward<SourceVersionT>(value));
177 return *this;
178 }
180
182
188 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const { return m_secondarySourceVersions; }
189 inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
190 template <typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
191 void SetSecondarySourceVersions(SecondarySourceVersionsT&& value) {
192 m_secondarySourceVersionsHasBeenSet = true;
193 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
194 }
195 template <typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
196 Project& WithSecondarySourceVersions(SecondarySourceVersionsT&& value) {
197 SetSecondarySourceVersions(std::forward<SecondarySourceVersionsT>(value));
198 return *this;
199 }
200 template <typename SecondarySourceVersionsT = ProjectSourceVersion>
201 Project& AddSecondarySourceVersions(SecondarySourceVersionsT&& value) {
202 m_secondarySourceVersionsHasBeenSet = true;
203 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
204 return *this;
205 }
207
209
212 inline const ProjectArtifacts& GetArtifacts() const { return m_artifacts; }
213 inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
214 template <typename ArtifactsT = ProjectArtifacts>
215 void SetArtifacts(ArtifactsT&& value) {
216 m_artifactsHasBeenSet = true;
217 m_artifacts = std::forward<ArtifactsT>(value);
218 }
219 template <typename ArtifactsT = ProjectArtifacts>
220 Project& WithArtifacts(ArtifactsT&& value) {
221 SetArtifacts(std::forward<ArtifactsT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifacts() const { return m_secondaryArtifacts; }
231 inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
232 template <typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
233 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) {
234 m_secondaryArtifactsHasBeenSet = true;
235 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
236 }
237 template <typename SecondaryArtifactsT = Aws::Vector<ProjectArtifacts>>
238 Project& WithSecondaryArtifacts(SecondaryArtifactsT&& value) {
239 SetSecondaryArtifacts(std::forward<SecondaryArtifactsT>(value));
240 return *this;
241 }
242 template <typename SecondaryArtifactsT = ProjectArtifacts>
243 Project& AddSecondaryArtifacts(SecondaryArtifactsT&& value) {
244 m_secondaryArtifactsHasBeenSet = true;
245 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
246 return *this;
247 }
249
251
254 inline const ProjectCache& GetCache() const { return m_cache; }
255 inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
256 template <typename CacheT = ProjectCache>
257 void SetCache(CacheT&& value) {
258 m_cacheHasBeenSet = true;
259 m_cache = std::forward<CacheT>(value);
260 }
261 template <typename CacheT = ProjectCache>
262 Project& WithCache(CacheT&& value) {
263 SetCache(std::forward<CacheT>(value));
264 return *this;
265 }
267
269
272 inline const ProjectEnvironment& GetEnvironment() const { return m_environment; }
273 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
274 template <typename EnvironmentT = ProjectEnvironment>
275 void SetEnvironment(EnvironmentT&& value) {
276 m_environmentHasBeenSet = true;
277 m_environment = std::forward<EnvironmentT>(value);
278 }
279 template <typename EnvironmentT = ProjectEnvironment>
280 Project& WithEnvironment(EnvironmentT&& value) {
281 SetEnvironment(std::forward<EnvironmentT>(value));
282 return *this;
283 }
285
287
291 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
292 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
293 template <typename ServiceRoleT = Aws::String>
294 void SetServiceRole(ServiceRoleT&& value) {
295 m_serviceRoleHasBeenSet = true;
296 m_serviceRole = std::forward<ServiceRoleT>(value);
297 }
298 template <typename ServiceRoleT = Aws::String>
299 Project& WithServiceRole(ServiceRoleT&& value) {
300 SetServiceRole(std::forward<ServiceRoleT>(value));
301 return *this;
302 }
304
306
311 inline int GetTimeoutInMinutes() const { return m_timeoutInMinutes; }
312 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
313 inline void SetTimeoutInMinutes(int value) {
314 m_timeoutInMinutesHasBeenSet = true;
315 m_timeoutInMinutes = value;
316 }
317 inline Project& WithTimeoutInMinutes(int value) {
318 SetTimeoutInMinutes(value);
319 return *this;
320 }
322
324
328 inline int GetQueuedTimeoutInMinutes() const { return m_queuedTimeoutInMinutes; }
329 inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
330 inline void SetQueuedTimeoutInMinutes(int value) {
331 m_queuedTimeoutInMinutesHasBeenSet = true;
332 m_queuedTimeoutInMinutes = value;
333 }
336 return *this;
337 }
339
341
351 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
352 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
353 template <typename EncryptionKeyT = Aws::String>
354 void SetEncryptionKey(EncryptionKeyT&& value) {
355 m_encryptionKeyHasBeenSet = true;
356 m_encryptionKey = std::forward<EncryptionKeyT>(value);
357 }
358 template <typename EncryptionKeyT = Aws::String>
359 Project& WithEncryptionKey(EncryptionKeyT&& value) {
360 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
361 return *this;
362 }
364
366
371 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
372 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
373 template <typename TagsT = Aws::Vector<Tag>>
374 void SetTags(TagsT&& value) {
375 m_tagsHasBeenSet = true;
376 m_tags = std::forward<TagsT>(value);
377 }
378 template <typename TagsT = Aws::Vector<Tag>>
379 Project& WithTags(TagsT&& value) {
380 SetTags(std::forward<TagsT>(value));
381 return *this;
382 }
383 template <typename TagsT = Tag>
384 Project& AddTags(TagsT&& value) {
385 m_tagsHasBeenSet = true;
386 m_tags.emplace_back(std::forward<TagsT>(value));
387 return *this;
388 }
390
392
395 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
396 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
397 template <typename CreatedT = Aws::Utils::DateTime>
398 void SetCreated(CreatedT&& value) {
399 m_createdHasBeenSet = true;
400 m_created = std::forward<CreatedT>(value);
401 }
402 template <typename CreatedT = Aws::Utils::DateTime>
403 Project& WithCreated(CreatedT&& value) {
404 SetCreated(std::forward<CreatedT>(value));
405 return *this;
406 }
408
410
414 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
415 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
416 template <typename LastModifiedT = Aws::Utils::DateTime>
417 void SetLastModified(LastModifiedT&& value) {
418 m_lastModifiedHasBeenSet = true;
419 m_lastModified = std::forward<LastModifiedT>(value);
420 }
421 template <typename LastModifiedT = Aws::Utils::DateTime>
422 Project& WithLastModified(LastModifiedT&& value) {
423 SetLastModified(std::forward<LastModifiedT>(value));
424 return *this;
425 }
427
429
433 inline const Webhook& GetWebhook() const { return m_webhook; }
434 inline bool WebhookHasBeenSet() const { return m_webhookHasBeenSet; }
435 template <typename WebhookT = Webhook>
436 void SetWebhook(WebhookT&& value) {
437 m_webhookHasBeenSet = true;
438 m_webhook = std::forward<WebhookT>(value);
439 }
440 template <typename WebhookT = Webhook>
441 Project& WithWebhook(WebhookT&& value) {
442 SetWebhook(std::forward<WebhookT>(value));
443 return *this;
444 }
446
448
451 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
452 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
453 template <typename VpcConfigT = VpcConfig>
454 void SetVpcConfig(VpcConfigT&& value) {
455 m_vpcConfigHasBeenSet = true;
456 m_vpcConfig = std::forward<VpcConfigT>(value);
457 }
458 template <typename VpcConfigT = VpcConfig>
459 Project& WithVpcConfig(VpcConfigT&& value) {
460 SetVpcConfig(std::forward<VpcConfigT>(value));
461 return *this;
462 }
464
466
469 inline const ProjectBadge& GetBadge() const { return m_badge; }
470 inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; }
471 template <typename BadgeT = ProjectBadge>
472 void SetBadge(BadgeT&& value) {
473 m_badgeHasBeenSet = true;
474 m_badge = std::forward<BadgeT>(value);
475 }
476 template <typename BadgeT = ProjectBadge>
477 Project& WithBadge(BadgeT&& value) {
478 SetBadge(std::forward<BadgeT>(value));
479 return *this;
480 }
482
484
488 inline const LogsConfig& GetLogsConfig() const { return m_logsConfig; }
489 inline bool LogsConfigHasBeenSet() const { return m_logsConfigHasBeenSet; }
490 template <typename LogsConfigT = LogsConfig>
491 void SetLogsConfig(LogsConfigT&& value) {
492 m_logsConfigHasBeenSet = true;
493 m_logsConfig = std::forward<LogsConfigT>(value);
494 }
495 template <typename LogsConfigT = LogsConfig>
496 Project& WithLogsConfig(LogsConfigT&& value) {
497 SetLogsConfig(std::forward<LogsConfigT>(value));
498 return *this;
499 }
501
503
510 inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const { return m_fileSystemLocations; }
511 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
512 template <typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
513 void SetFileSystemLocations(FileSystemLocationsT&& value) {
514 m_fileSystemLocationsHasBeenSet = true;
515 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
516 }
517 template <typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
518 Project& WithFileSystemLocations(FileSystemLocationsT&& value) {
519 SetFileSystemLocations(std::forward<FileSystemLocationsT>(value));
520 return *this;
521 }
522 template <typename FileSystemLocationsT = ProjectFileSystemLocation>
523 Project& AddFileSystemLocations(FileSystemLocationsT&& value) {
524 m_fileSystemLocationsHasBeenSet = true;
525 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
526 return *this;
527 }
529
531
535 inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const { return m_buildBatchConfig; }
536 inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
537 template <typename BuildBatchConfigT = ProjectBuildBatchConfig>
538 void SetBuildBatchConfig(BuildBatchConfigT&& value) {
539 m_buildBatchConfigHasBeenSet = true;
540 m_buildBatchConfig = std::forward<BuildBatchConfigT>(value);
541 }
542 template <typename BuildBatchConfigT = ProjectBuildBatchConfig>
543 Project& WithBuildBatchConfig(BuildBatchConfigT&& value) {
544 SetBuildBatchConfig(std::forward<BuildBatchConfigT>(value));
545 return *this;
546 }
548
550
556 inline int GetConcurrentBuildLimit() const { return m_concurrentBuildLimit; }
557 inline bool ConcurrentBuildLimitHasBeenSet() const { return m_concurrentBuildLimitHasBeenSet; }
558 inline void SetConcurrentBuildLimit(int value) {
559 m_concurrentBuildLimitHasBeenSet = true;
560 m_concurrentBuildLimit = value;
561 }
564 return *this;
565 }
567
569
570 inline ProjectVisibilityType GetProjectVisibility() const { return m_projectVisibility; }
571 inline bool ProjectVisibilityHasBeenSet() const { return m_projectVisibilityHasBeenSet; }
573 m_projectVisibilityHasBeenSet = true;
574 m_projectVisibility = value;
575 }
578 return *this;
579 }
581
583
586 inline const Aws::String& GetPublicProjectAlias() const { return m_publicProjectAlias; }
587 inline bool PublicProjectAliasHasBeenSet() const { return m_publicProjectAliasHasBeenSet; }
588 template <typename PublicProjectAliasT = Aws::String>
589 void SetPublicProjectAlias(PublicProjectAliasT&& value) {
590 m_publicProjectAliasHasBeenSet = true;
591 m_publicProjectAlias = std::forward<PublicProjectAliasT>(value);
592 }
593 template <typename PublicProjectAliasT = Aws::String>
594 Project& WithPublicProjectAlias(PublicProjectAliasT&& value) {
595 SetPublicProjectAlias(std::forward<PublicProjectAliasT>(value));
596 return *this;
597 }
599
601
605 inline const Aws::String& GetResourceAccessRole() const { return m_resourceAccessRole; }
606 inline bool ResourceAccessRoleHasBeenSet() const { return m_resourceAccessRoleHasBeenSet; }
607 template <typename ResourceAccessRoleT = Aws::String>
608 void SetResourceAccessRole(ResourceAccessRoleT&& value) {
609 m_resourceAccessRoleHasBeenSet = true;
610 m_resourceAccessRole = std::forward<ResourceAccessRoleT>(value);
611 }
612 template <typename ResourceAccessRoleT = Aws::String>
613 Project& WithResourceAccessRole(ResourceAccessRoleT&& value) {
614 SetResourceAccessRole(std::forward<ResourceAccessRoleT>(value));
615 return *this;
616 }
618
620
626 inline int GetAutoRetryLimit() const { return m_autoRetryLimit; }
627 inline bool AutoRetryLimitHasBeenSet() const { return m_autoRetryLimitHasBeenSet; }
628 inline void SetAutoRetryLimit(int value) {
629 m_autoRetryLimitHasBeenSet = true;
630 m_autoRetryLimit = value;
631 }
632 inline Project& WithAutoRetryLimit(int value) {
633 SetAutoRetryLimit(value);
634 return *this;
635 }
637 private:
638 Aws::String m_name;
639
640 Aws::String m_arn;
641
642 Aws::String m_description;
643
644 ProjectSource m_source;
645
646 Aws::Vector<ProjectSource> m_secondarySources;
647
648 Aws::String m_sourceVersion;
649
650 Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
651
652 ProjectArtifacts m_artifacts;
653
654 Aws::Vector<ProjectArtifacts> m_secondaryArtifacts;
655
656 ProjectCache m_cache;
657
658 ProjectEnvironment m_environment;
659
660 Aws::String m_serviceRole;
661
662 int m_timeoutInMinutes{0};
663
664 int m_queuedTimeoutInMinutes{0};
665
666 Aws::String m_encryptionKey;
667
668 Aws::Vector<Tag> m_tags;
669
670 Aws::Utils::DateTime m_created{};
671
672 Aws::Utils::DateTime m_lastModified{};
673
674 Webhook m_webhook;
675
676 VpcConfig m_vpcConfig;
677
678 ProjectBadge m_badge;
679
680 LogsConfig m_logsConfig;
681
682 Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
683
684 ProjectBuildBatchConfig m_buildBatchConfig;
685
686 int m_concurrentBuildLimit{0};
687
689
690 Aws::String m_publicProjectAlias;
691
692 Aws::String m_resourceAccessRole;
693
694 int m_autoRetryLimit{0};
695 bool m_nameHasBeenSet = false;
696 bool m_arnHasBeenSet = false;
697 bool m_descriptionHasBeenSet = false;
698 bool m_sourceHasBeenSet = false;
699 bool m_secondarySourcesHasBeenSet = false;
700 bool m_sourceVersionHasBeenSet = false;
701 bool m_secondarySourceVersionsHasBeenSet = false;
702 bool m_artifactsHasBeenSet = false;
703 bool m_secondaryArtifactsHasBeenSet = false;
704 bool m_cacheHasBeenSet = false;
705 bool m_environmentHasBeenSet = false;
706 bool m_serviceRoleHasBeenSet = false;
707 bool m_timeoutInMinutesHasBeenSet = false;
708 bool m_queuedTimeoutInMinutesHasBeenSet = false;
709 bool m_encryptionKeyHasBeenSet = false;
710 bool m_tagsHasBeenSet = false;
711 bool m_createdHasBeenSet = false;
712 bool m_lastModifiedHasBeenSet = false;
713 bool m_webhookHasBeenSet = false;
714 bool m_vpcConfigHasBeenSet = false;
715 bool m_badgeHasBeenSet = false;
716 bool m_logsConfigHasBeenSet = false;
717 bool m_fileSystemLocationsHasBeenSet = false;
718 bool m_buildBatchConfigHasBeenSet = false;
719 bool m_concurrentBuildLimitHasBeenSet = false;
720 bool m_projectVisibilityHasBeenSet = false;
721 bool m_publicProjectAliasHasBeenSet = false;
722 bool m_resourceAccessRoleHasBeenSet = false;
723 bool m_autoRetryLimitHasBeenSet = false;
724};
725
726} // namespace Model
727} // namespace CodeBuild
728} // namespace Aws
bool DescriptionHasBeenSet() const
Definition Project.h:90
Project & WithArtifacts(ArtifactsT &&value)
Definition Project.h:220
const ProjectArtifacts & GetArtifacts() const
Definition Project.h:212
void SetCache(CacheT &&value)
Definition Project.h:257
bool ResourceAccessRoleHasBeenSet() const
Definition Project.h:606
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutInMinutesHasBeenSet() const
Definition Project.h:312
Project & WithLogsConfig(LogsConfigT &&value)
Definition Project.h:496
bool VpcConfigHasBeenSet() const
Definition Project.h:452
bool AutoRetryLimitHasBeenSet() const
Definition Project.h:627
bool SecondaryArtifactsHasBeenSet() const
Definition Project.h:231
void SetSource(SourceT &&value)
Definition Project.h:110
const Aws::Vector< Tag > & GetTags() const
Definition Project.h:371
bool SecondarySourcesHasBeenSet() const
Definition Project.h:126
void SetLogsConfig(LogsConfigT &&value)
Definition Project.h:491
const Aws::String & GetSourceVersion() const
Definition Project.h:167
Project & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:201
void SetArn(ArnT &&value)
Definition Project.h:74
AWS_CODEBUILD_API Project()=default
void SetWebhook(WebhookT &&value)
Definition Project.h:436
Project & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:196
const LogsConfig & GetLogsConfig() const
Definition Project.h:488
Project & WithWebhook(WebhookT &&value)
Definition Project.h:441
bool ServiceRoleHasBeenSet() const
Definition Project.h:292
Project & WithBadge(BadgeT &&value)
Definition Project.h:477
void SetEncryptionKey(EncryptionKeyT &&value)
Definition Project.h:354
const ProjectBadge & GetBadge() const
Definition Project.h:469
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:233
bool ArtifactsHasBeenSet() const
Definition Project.h:213
void SetBadge(BadgeT &&value)
Definition Project.h:472
const VpcConfig & GetVpcConfig() const
Definition Project.h:451
void SetServiceRole(ServiceRoleT &&value)
Definition Project.h:294
const Aws::Utils::DateTime & GetLastModified() const
Definition Project.h:414
Project & WithEnvironment(EnvironmentT &&value)
Definition Project.h:280
Project & WithBuildBatchConfig(BuildBatchConfigT &&value)
Definition Project.h:543
void SetDescription(DescriptionT &&value)
Definition Project.h:92
void SetName(NameT &&value)
Definition Project.h:56
Project & WithVpcConfig(VpcConfigT &&value)
Definition Project.h:459
bool EncryptionKeyHasBeenSet() const
Definition Project.h:352
Project & WithLastModified(LastModifiedT &&value)
Definition Project.h:422
void SetSourceVersion(SourceVersionT &&value)
Definition Project.h:170
Project & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:238
Project & WithArn(ArnT &&value)
Definition Project.h:79
const Aws::String & GetName() const
Definition Project.h:53
Project & WithName(NameT &&value)
Definition Project.h:61
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Definition Project.h:125
bool FileSystemLocationsHasBeenSet() const
Definition Project.h:511
Project & WithProjectVisibility(ProjectVisibilityType value)
Definition Project.h:576
bool PublicProjectAliasHasBeenSet() const
Definition Project.h:587
Project & WithSourceVersion(SourceVersionT &&value)
Definition Project.h:175
Project & WithResourceAccessRole(ResourceAccessRoleT &&value)
Definition Project.h:613
bool QueuedTimeoutInMinutesHasBeenSet() const
Definition Project.h:329
void SetCreated(CreatedT &&value)
Definition Project.h:398
int GetQueuedTimeoutInMinutes() const
Definition Project.h:328
Project & WithServiceRole(ServiceRoleT &&value)
Definition Project.h:299
const Webhook & GetWebhook() const
Definition Project.h:433
void SetFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:513
Project & WithCreated(CreatedT &&value)
Definition Project.h:403
const Aws::String & GetPublicProjectAlias() const
Definition Project.h:586
Project & WithAutoRetryLimit(int value)
Definition Project.h:632
Project & WithFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:518
Project & WithDescription(DescriptionT &&value)
Definition Project.h:97
void SetArtifacts(ArtifactsT &&value)
Definition Project.h:215
Project & WithCache(CacheT &&value)
Definition Project.h:262
void SetAutoRetryLimit(int value)
Definition Project.h:628
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Definition Project.h:191
Project & WithSecondarySources(SecondarySourcesT &&value)
Definition Project.h:133
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Definition Project.h:535
void SetVpcConfig(VpcConfigT &&value)
Definition Project.h:454
const Aws::String & GetDescription() const
Definition Project.h:89
const Aws::String & GetEncryptionKey() const
Definition Project.h:351
AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
Definition Project.h:273
bool ConcurrentBuildLimitHasBeenSet() const
Definition Project.h:557
Project & WithConcurrentBuildLimit(int value)
Definition Project.h:562
ProjectVisibilityType GetProjectVisibility() const
Definition Project.h:570
bool LastModifiedHasBeenSet() const
Definition Project.h:415
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Definition Project.h:188
const Aws::String & GetResourceAccessRole() const
Definition Project.h:605
void SetBuildBatchConfig(BuildBatchConfigT &&value)
Definition Project.h:538
int GetConcurrentBuildLimit() const
Definition Project.h:556
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:395
void SetQueuedTimeoutInMinutes(int value)
Definition Project.h:330
const ProjectCache & GetCache() const
Definition Project.h:254
void SetProjectVisibility(ProjectVisibilityType value)
Definition Project.h:572
const ProjectEnvironment & GetEnvironment() const
Definition Project.h:272
Project & WithTimeoutInMinutes(int value)
Definition Project.h:317
Project & WithTags(TagsT &&value)
Definition Project.h:379
Project & WithSource(SourceT &&value)
Definition Project.h:115
Project & AddTags(TagsT &&value)
Definition Project.h:384
void SetTags(TagsT &&value)
Definition Project.h:374
bool ProjectVisibilityHasBeenSet() const
Definition Project.h:571
Project & AddFileSystemLocations(FileSystemLocationsT &&value)
Definition Project.h:523
const Aws::String & GetServiceRole() const
Definition Project.h:291
void SetLastModified(LastModifiedT &&value)
Definition Project.h:417
Project & WithQueuedTimeoutInMinutes(int value)
Definition Project.h:334
Project & AddSecondarySources(SecondarySourcesT &&value)
Definition Project.h:138
Project & WithPublicProjectAlias(PublicProjectAliasT &&value)
Definition Project.h:594
const ProjectSource & GetSource() const
Definition Project.h:107
void SetTimeoutInMinutes(int value)
Definition Project.h:313
bool SourceVersionHasBeenSet() const
Definition Project.h:168
bool BuildBatchConfigHasBeenSet() const
Definition Project.h:536
void SetSecondarySources(SecondarySourcesT &&value)
Definition Project.h:128
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
Definition Project.h:230
void SetPublicProjectAlias(PublicProjectAliasT &&value)
Definition Project.h:589
void SetResourceAccessRole(ResourceAccessRoleT &&value)
Definition Project.h:608
void SetConcurrentBuildLimit(int value)
Definition Project.h:558
void SetEnvironment(EnvironmentT &&value)
Definition Project.h:275
bool LogsConfigHasBeenSet() const
Definition Project.h:489
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Definition Project.h:510
Project & WithEncryptionKey(EncryptionKeyT &&value)
Definition Project.h:359
bool SecondarySourceVersionsHasBeenSet() const
Definition Project.h:189
Project & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
Definition Project.h:243
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue