AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline Project& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline Project& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetArn() const{ return m_arn; }
74 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
75 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
76 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
77 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
78 inline Project& WithArn(const Aws::String& value) { SetArn(value); return *this;}
79 inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
80 inline Project& WithArn(const char* value) { SetArn(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline Project& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline Project& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline Project& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const ProjectSource& GetSource() const{ return m_source; }
102 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
103 inline void SetSource(const ProjectSource& value) { m_sourceHasBeenSet = true; m_source = value; }
104 inline void SetSource(ProjectSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
105 inline Project& WithSource(const ProjectSource& value) { SetSource(value); return *this;}
106 inline Project& WithSource(ProjectSource&& value) { SetSource(std::move(value)); return *this;}
108
110
113 inline const Aws::Vector<ProjectSource>& GetSecondarySources() const{ return m_secondarySources; }
114 inline bool SecondarySourcesHasBeenSet() const { return m_secondarySourcesHasBeenSet; }
115 inline void SetSecondarySources(const Aws::Vector<ProjectSource>& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = value; }
116 inline void SetSecondarySources(Aws::Vector<ProjectSource>&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources = std::move(value); }
117 inline Project& WithSecondarySources(const Aws::Vector<ProjectSource>& value) { SetSecondarySources(value); return *this;}
118 inline Project& WithSecondarySources(Aws::Vector<ProjectSource>&& value) { SetSecondarySources(std::move(value)); return *this;}
119 inline Project& AddSecondarySources(const ProjectSource& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.push_back(value); return *this; }
120 inline Project& AddSecondarySources(ProjectSource&& value) { m_secondarySourcesHasBeenSet = true; m_secondarySources.push_back(std::move(value)); return *this; }
122
124
145 inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
146 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
147 inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
148 inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
149 inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
150 inline Project& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
151 inline Project& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
152 inline Project& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
154
156
162 inline const Aws::Vector<ProjectSourceVersion>& GetSecondarySourceVersions() const{ return m_secondarySourceVersions; }
163 inline bool SecondarySourceVersionsHasBeenSet() const { return m_secondarySourceVersionsHasBeenSet; }
164 inline void SetSecondarySourceVersions(const Aws::Vector<ProjectSourceVersion>& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = value; }
165 inline void SetSecondarySourceVersions(Aws::Vector<ProjectSourceVersion>&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions = std::move(value); }
168 inline Project& AddSecondarySourceVersions(const ProjectSourceVersion& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.push_back(value); return *this; }
169 inline Project& AddSecondarySourceVersions(ProjectSourceVersion&& value) { m_secondarySourceVersionsHasBeenSet = true; m_secondarySourceVersions.push_back(std::move(value)); return *this; }
171
173
176 inline const ProjectArtifacts& GetArtifacts() const{ return m_artifacts; }
177 inline bool ArtifactsHasBeenSet() const { return m_artifactsHasBeenSet; }
178 inline void SetArtifacts(const ProjectArtifacts& value) { m_artifactsHasBeenSet = true; m_artifacts = value; }
179 inline void SetArtifacts(ProjectArtifacts&& value) { m_artifactsHasBeenSet = true; m_artifacts = std::move(value); }
180 inline Project& WithArtifacts(const ProjectArtifacts& value) { SetArtifacts(value); return *this;}
181 inline Project& WithArtifacts(ProjectArtifacts&& value) { SetArtifacts(std::move(value)); return *this;}
183
185
188 inline const Aws::Vector<ProjectArtifacts>& GetSecondaryArtifacts() const{ return m_secondaryArtifacts; }
189 inline bool SecondaryArtifactsHasBeenSet() const { return m_secondaryArtifactsHasBeenSet; }
190 inline void SetSecondaryArtifacts(const Aws::Vector<ProjectArtifacts>& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = value; }
191 inline void SetSecondaryArtifacts(Aws::Vector<ProjectArtifacts>&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts = std::move(value); }
193 inline Project& WithSecondaryArtifacts(Aws::Vector<ProjectArtifacts>&& value) { SetSecondaryArtifacts(std::move(value)); return *this;}
194 inline Project& AddSecondaryArtifacts(const ProjectArtifacts& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.push_back(value); return *this; }
195 inline Project& AddSecondaryArtifacts(ProjectArtifacts&& value) { m_secondaryArtifactsHasBeenSet = true; m_secondaryArtifacts.push_back(std::move(value)); return *this; }
197
199
202 inline const ProjectCache& GetCache() const{ return m_cache; }
203 inline bool CacheHasBeenSet() const { return m_cacheHasBeenSet; }
204 inline void SetCache(const ProjectCache& value) { m_cacheHasBeenSet = true; m_cache = value; }
205 inline void SetCache(ProjectCache&& value) { m_cacheHasBeenSet = true; m_cache = std::move(value); }
206 inline Project& WithCache(const ProjectCache& value) { SetCache(value); return *this;}
207 inline Project& WithCache(ProjectCache&& value) { SetCache(std::move(value)); return *this;}
209
211
214 inline const ProjectEnvironment& GetEnvironment() const{ return m_environment; }
215 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
216 inline void SetEnvironment(const ProjectEnvironment& value) { m_environmentHasBeenSet = true; m_environment = value; }
217 inline void SetEnvironment(ProjectEnvironment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
218 inline Project& WithEnvironment(const ProjectEnvironment& value) { SetEnvironment(value); return *this;}
219 inline Project& WithEnvironment(ProjectEnvironment&& value) { SetEnvironment(std::move(value)); return *this;}
221
223
227 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
228 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
229 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
230 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
231 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
232 inline Project& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
233 inline Project& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
234 inline Project& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
236
238
243 inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
244 inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
245 inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
246 inline Project& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
248
250
254 inline int GetQueuedTimeoutInMinutes() const{ return m_queuedTimeoutInMinutes; }
255 inline bool QueuedTimeoutInMinutesHasBeenSet() const { return m_queuedTimeoutInMinutesHasBeenSet; }
256 inline void SetQueuedTimeoutInMinutes(int value) { m_queuedTimeoutInMinutesHasBeenSet = true; m_queuedTimeoutInMinutes = value; }
257 inline Project& WithQueuedTimeoutInMinutes(int value) { SetQueuedTimeoutInMinutes(value); return *this;}
259
261
271 inline const Aws::String& GetEncryptionKey() const{ return m_encryptionKey; }
272 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
273 inline void SetEncryptionKey(const Aws::String& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
274 inline void SetEncryptionKey(Aws::String&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
275 inline void SetEncryptionKey(const char* value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey.assign(value); }
276 inline Project& WithEncryptionKey(const Aws::String& value) { SetEncryptionKey(value); return *this;}
277 inline Project& WithEncryptionKey(Aws::String&& value) { SetEncryptionKey(std::move(value)); return *this;}
278 inline Project& WithEncryptionKey(const char* value) { SetEncryptionKey(value); return *this;}
280
282
287 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
288 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
289 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
290 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
291 inline Project& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
292 inline Project& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
293 inline Project& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
294 inline Project& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
296
298
301 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
302 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
303 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
304 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
305 inline Project& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
306 inline Project& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
308
310
314 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
315 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
316 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
317 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
318 inline Project& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
319 inline Project& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
321
323
327 inline const Webhook& GetWebhook() const{ return m_webhook; }
328 inline bool WebhookHasBeenSet() const { return m_webhookHasBeenSet; }
329 inline void SetWebhook(const Webhook& value) { m_webhookHasBeenSet = true; m_webhook = value; }
330 inline void SetWebhook(Webhook&& value) { m_webhookHasBeenSet = true; m_webhook = std::move(value); }
331 inline Project& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;}
332 inline Project& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;}
334
336
339 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
340 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
341 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
342 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
343 inline Project& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
344 inline Project& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
346
348
351 inline const ProjectBadge& GetBadge() const{ return m_badge; }
352 inline bool BadgeHasBeenSet() const { return m_badgeHasBeenSet; }
353 inline void SetBadge(const ProjectBadge& value) { m_badgeHasBeenSet = true; m_badge = value; }
354 inline void SetBadge(ProjectBadge&& value) { m_badgeHasBeenSet = true; m_badge = std::move(value); }
355 inline Project& WithBadge(const ProjectBadge& value) { SetBadge(value); return *this;}
356 inline Project& WithBadge(ProjectBadge&& value) { SetBadge(std::move(value)); return *this;}
358
360
364 inline const LogsConfig& GetLogsConfig() const{ return m_logsConfig; }
365 inline bool LogsConfigHasBeenSet() const { return m_logsConfigHasBeenSet; }
366 inline void SetLogsConfig(const LogsConfig& value) { m_logsConfigHasBeenSet = true; m_logsConfig = value; }
367 inline void SetLogsConfig(LogsConfig&& value) { m_logsConfigHasBeenSet = true; m_logsConfig = std::move(value); }
368 inline Project& WithLogsConfig(const LogsConfig& value) { SetLogsConfig(value); return *this;}
369 inline Project& WithLogsConfig(LogsConfig&& value) { SetLogsConfig(std::move(value)); return *this;}
371
373
380 inline const Aws::Vector<ProjectFileSystemLocation>& GetFileSystemLocations() const{ return m_fileSystemLocations; }
381 inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; }
382 inline void SetFileSystemLocations(const Aws::Vector<ProjectFileSystemLocation>& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = value; }
383 inline void SetFileSystemLocations(Aws::Vector<ProjectFileSystemLocation>&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::move(value); }
386 inline Project& AddFileSystemLocations(const ProjectFileSystemLocation& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(value); return *this; }
387 inline Project& AddFileSystemLocations(ProjectFileSystemLocation&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(std::move(value)); return *this; }
389
391
395 inline const ProjectBuildBatchConfig& GetBuildBatchConfig() const{ return m_buildBatchConfig; }
396 inline bool BuildBatchConfigHasBeenSet() const { return m_buildBatchConfigHasBeenSet; }
397 inline void SetBuildBatchConfig(const ProjectBuildBatchConfig& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = value; }
398 inline void SetBuildBatchConfig(ProjectBuildBatchConfig&& value) { m_buildBatchConfigHasBeenSet = true; m_buildBatchConfig = std::move(value); }
399 inline Project& WithBuildBatchConfig(const ProjectBuildBatchConfig& value) { SetBuildBatchConfig(value); return *this;}
400 inline Project& WithBuildBatchConfig(ProjectBuildBatchConfig&& value) { SetBuildBatchConfig(std::move(value)); return *this;}
402
404
410 inline int GetConcurrentBuildLimit() const{ return m_concurrentBuildLimit; }
411 inline bool ConcurrentBuildLimitHasBeenSet() const { return m_concurrentBuildLimitHasBeenSet; }
412 inline void SetConcurrentBuildLimit(int value) { m_concurrentBuildLimitHasBeenSet = true; m_concurrentBuildLimit = value; }
413 inline Project& WithConcurrentBuildLimit(int value) { SetConcurrentBuildLimit(value); return *this;}
415
417
418 inline const ProjectVisibilityType& GetProjectVisibility() const{ return m_projectVisibility; }
419 inline bool ProjectVisibilityHasBeenSet() const { return m_projectVisibilityHasBeenSet; }
420 inline void SetProjectVisibility(const ProjectVisibilityType& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = value; }
421 inline void SetProjectVisibility(ProjectVisibilityType&& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = std::move(value); }
422 inline Project& WithProjectVisibility(const ProjectVisibilityType& value) { SetProjectVisibility(value); return *this;}
423 inline Project& WithProjectVisibility(ProjectVisibilityType&& value) { SetProjectVisibility(std::move(value)); return *this;}
425
427
430 inline const Aws::String& GetPublicProjectAlias() const{ return m_publicProjectAlias; }
431 inline bool PublicProjectAliasHasBeenSet() const { return m_publicProjectAliasHasBeenSet; }
432 inline void SetPublicProjectAlias(const Aws::String& value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias = value; }
433 inline void SetPublicProjectAlias(Aws::String&& value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias = std::move(value); }
434 inline void SetPublicProjectAlias(const char* value) { m_publicProjectAliasHasBeenSet = true; m_publicProjectAlias.assign(value); }
435 inline Project& WithPublicProjectAlias(const Aws::String& value) { SetPublicProjectAlias(value); return *this;}
436 inline Project& WithPublicProjectAlias(Aws::String&& value) { SetPublicProjectAlias(std::move(value)); return *this;}
437 inline Project& WithPublicProjectAlias(const char* value) { SetPublicProjectAlias(value); return *this;}
439
441
445 inline const Aws::String& GetResourceAccessRole() const{ return m_resourceAccessRole; }
446 inline bool ResourceAccessRoleHasBeenSet() const { return m_resourceAccessRoleHasBeenSet; }
447 inline void SetResourceAccessRole(const Aws::String& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = value; }
448 inline void SetResourceAccessRole(Aws::String&& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = std::move(value); }
449 inline void SetResourceAccessRole(const char* value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole.assign(value); }
450 inline Project& WithResourceAccessRole(const Aws::String& value) { SetResourceAccessRole(value); return *this;}
451 inline Project& WithResourceAccessRole(Aws::String&& value) { SetResourceAccessRole(std::move(value)); return *this;}
452 inline Project& WithResourceAccessRole(const char* value) { SetResourceAccessRole(value); return *this;}
454
456
462 inline int GetAutoRetryLimit() const{ return m_autoRetryLimit; }
463 inline bool AutoRetryLimitHasBeenSet() const { return m_autoRetryLimitHasBeenSet; }
464 inline void SetAutoRetryLimit(int value) { m_autoRetryLimitHasBeenSet = true; m_autoRetryLimit = value; }
465 inline Project& WithAutoRetryLimit(int value) { SetAutoRetryLimit(value); return *this;}
467 private:
468
469 Aws::String m_name;
470 bool m_nameHasBeenSet = false;
471
472 Aws::String m_arn;
473 bool m_arnHasBeenSet = false;
474
475 Aws::String m_description;
476 bool m_descriptionHasBeenSet = false;
477
478 ProjectSource m_source;
479 bool m_sourceHasBeenSet = false;
480
481 Aws::Vector<ProjectSource> m_secondarySources;
482 bool m_secondarySourcesHasBeenSet = false;
483
484 Aws::String m_sourceVersion;
485 bool m_sourceVersionHasBeenSet = false;
486
487 Aws::Vector<ProjectSourceVersion> m_secondarySourceVersions;
488 bool m_secondarySourceVersionsHasBeenSet = false;
489
490 ProjectArtifacts m_artifacts;
491 bool m_artifactsHasBeenSet = false;
492
493 Aws::Vector<ProjectArtifacts> m_secondaryArtifacts;
494 bool m_secondaryArtifactsHasBeenSet = false;
495
496 ProjectCache m_cache;
497 bool m_cacheHasBeenSet = false;
498
499 ProjectEnvironment m_environment;
500 bool m_environmentHasBeenSet = false;
501
502 Aws::String m_serviceRole;
503 bool m_serviceRoleHasBeenSet = false;
504
505 int m_timeoutInMinutes;
506 bool m_timeoutInMinutesHasBeenSet = false;
507
508 int m_queuedTimeoutInMinutes;
509 bool m_queuedTimeoutInMinutesHasBeenSet = false;
510
511 Aws::String m_encryptionKey;
512 bool m_encryptionKeyHasBeenSet = false;
513
514 Aws::Vector<Tag> m_tags;
515 bool m_tagsHasBeenSet = false;
516
517 Aws::Utils::DateTime m_created;
518 bool m_createdHasBeenSet = false;
519
520 Aws::Utils::DateTime m_lastModified;
521 bool m_lastModifiedHasBeenSet = false;
522
523 Webhook m_webhook;
524 bool m_webhookHasBeenSet = false;
525
526 VpcConfig m_vpcConfig;
527 bool m_vpcConfigHasBeenSet = false;
528
529 ProjectBadge m_badge;
530 bool m_badgeHasBeenSet = false;
531
532 LogsConfig m_logsConfig;
533 bool m_logsConfigHasBeenSet = false;
534
535 Aws::Vector<ProjectFileSystemLocation> m_fileSystemLocations;
536 bool m_fileSystemLocationsHasBeenSet = false;
537
538 ProjectBuildBatchConfig m_buildBatchConfig;
539 bool m_buildBatchConfigHasBeenSet = false;
540
541 int m_concurrentBuildLimit;
542 bool m_concurrentBuildLimitHasBeenSet = false;
543
544 ProjectVisibilityType m_projectVisibility;
545 bool m_projectVisibilityHasBeenSet = false;
546
547 Aws::String m_publicProjectAlias;
548 bool m_publicProjectAliasHasBeenSet = false;
549
550 Aws::String m_resourceAccessRole;
551 bool m_resourceAccessRoleHasBeenSet = false;
552
553 int m_autoRetryLimit;
554 bool m_autoRetryLimitHasBeenSet = false;
555 };
556
557} // namespace Model
558} // namespace CodeBuild
559} // namespace Aws
bool DescriptionHasBeenSet() const
Definition Project.h:88
void SetSourceVersion(const Aws::String &value)
Definition Project.h:147
Project & AddFileSystemLocations(const ProjectFileSystemLocation &value)
Definition Project.h:386
void SetDescription(const Aws::String &value)
Definition Project.h:89
const ProjectArtifacts & GetArtifacts() const
Definition Project.h:176
Project & WithProjectVisibility(ProjectVisibilityType &&value)
Definition Project.h:423
bool ResourceAccessRoleHasBeenSet() const
Definition Project.h:446
void SetEnvironment(ProjectEnvironment &&value)
Definition Project.h:217
void SetArn(const Aws::String &value)
Definition Project.h:75
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeoutInMinutesHasBeenSet() const
Definition Project.h:244
Project & AddSecondaryArtifacts(ProjectArtifacts &&value)
Definition Project.h:195
Project & WithVpcConfig(const VpcConfig &value)
Definition Project.h:343
void SetServiceRole(const Aws::String &value)
Definition Project.h:229
void SetProjectVisibility(const ProjectVisibilityType &value)
Definition Project.h:420
bool VpcConfigHasBeenSet() const
Definition Project.h:340
bool AutoRetryLimitHasBeenSet() const
Definition Project.h:463
bool SecondaryArtifactsHasBeenSet() const
Definition Project.h:189
const Aws::Vector< Tag > & GetTags() const
Definition Project.h:287
bool SecondarySourcesHasBeenSet() const
Definition Project.h:114
Project & WithVpcConfig(VpcConfig &&value)
Definition Project.h:344
void SetPublicProjectAlias(const Aws::String &value)
Definition Project.h:432
Project & WithPublicProjectAlias(const Aws::String &value)
Definition Project.h:435
Project & WithArn(const char *value)
Definition Project.h:80
const Aws::String & GetSourceVersion() const
Definition Project.h:145
Project & WithBuildBatchConfig(const ProjectBuildBatchConfig &value)
Definition Project.h:399
Project & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
Definition Project.h:117
Project & AddSecondarySourceVersions(const ProjectSourceVersion &value)
Definition Project.h:168
void SetCache(ProjectCache &&value)
Definition Project.h:205
const ProjectVisibilityType & GetProjectVisibility() const
Definition Project.h:418
Project & WithWebhook(const Webhook &value)
Definition Project.h:331
void SetEncryptionKey(Aws::String &&value)
Definition Project.h:274
Project & WithArn(const Aws::String &value)
Definition Project.h:78
const LogsConfig & GetLogsConfig() const
Definition Project.h:364
void SetName(Aws::String &&value)
Definition Project.h:62
void SetTags(Aws::Vector< Tag > &&value)
Definition Project.h:290
Project & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
Definition Project.h:166
bool ServiceRoleHasBeenSet() const
Definition Project.h:228
void SetSourceVersion(Aws::String &&value)
Definition Project.h:148
void SetWebhook(Webhook &&value)
Definition Project.h:330
Project & WithServiceRole(const char *value)
Definition Project.h:234
void SetEncryptionKey(const Aws::String &value)
Definition Project.h:273
void SetServiceRole(Aws::String &&value)
Definition Project.h:230
Project & WithEncryptionKey(Aws::String &&value)
Definition Project.h:277
const ProjectBadge & GetBadge() const
Definition Project.h:351
Project & WithTags(Aws::Vector< Tag > &&value)
Definition Project.h:292
Project & WithBuildBatchConfig(ProjectBuildBatchConfig &&value)
Definition Project.h:400
Project & WithPublicProjectAlias(Aws::String &&value)
Definition Project.h:436
void SetBadge(const ProjectBadge &value)
Definition Project.h:353
Project & AddSecondarySources(const ProjectSource &value)
Definition Project.h:119
Project & WithArtifacts(const ProjectArtifacts &value)
Definition Project.h:180
void SetArtifacts(ProjectArtifacts &&value)
Definition Project.h:179
AWS_CODEBUILD_API Project()
void SetResourceAccessRole(const Aws::String &value)
Definition Project.h:447
bool ArtifactsHasBeenSet() const
Definition Project.h:177
const VpcConfig & GetVpcConfig() const
Definition Project.h:339
const Aws::Utils::DateTime & GetLastModified() const
Definition Project.h:314
void SetVpcConfig(VpcConfig &&value)
Definition Project.h:342
Project & WithDescription(const Aws::String &value)
Definition Project.h:92
Project & AddSecondaryArtifacts(const ProjectArtifacts &value)
Definition Project.h:194
Project & WithCreated(const Aws::Utils::DateTime &value)
Definition Project.h:305
Project & WithSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
Definition Project.h:192
bool EncryptionKeyHasBeenSet() const
Definition Project.h:272
Project & WithResourceAccessRole(const char *value)
Definition Project.h:452
Project & WithLastModified(const Aws::Utils::DateTime &value)
Definition Project.h:318
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
Definition Project.h:382
Project & AddFileSystemLocations(ProjectFileSystemLocation &&value)
Definition Project.h:387
void SetResourceAccessRole(const char *value)
Definition Project.h:449
void SetLogsConfig(const LogsConfig &value)
Definition Project.h:366
const Aws::String & GetName() const
Definition Project.h:59
Project & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
Definition Project.h:118
Project & WithDescription(const char *value)
Definition Project.h:94
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Definition Project.h:113
bool FileSystemLocationsHasBeenSet() const
Definition Project.h:381
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
Definition Project.h:164
void SetSecondaryArtifacts(const Aws::Vector< ProjectArtifacts > &value)
Definition Project.h:190
bool PublicProjectAliasHasBeenSet() const
Definition Project.h:431
void SetCreated(Aws::Utils::DateTime &&value)
Definition Project.h:304
void SetVpcConfig(const VpcConfig &value)
Definition Project.h:341
void SetResourceAccessRole(Aws::String &&value)
Definition Project.h:448
Project & WithEnvironment(ProjectEnvironment &&value)
Definition Project.h:219
bool QueuedTimeoutInMinutesHasBeenSet() const
Definition Project.h:255
int GetQueuedTimeoutInMinutes() const
Definition Project.h:254
Project & WithEncryptionKey(const char *value)
Definition Project.h:278
const Webhook & GetWebhook() const
Definition Project.h:327
Project & WithTags(const Aws::Vector< Tag > &value)
Definition Project.h:291
Project & WithDescription(Aws::String &&value)
Definition Project.h:93
const Aws::String & GetPublicProjectAlias() const
Definition Project.h:430
Project & WithSourceVersion(const char *value)
Definition Project.h:152
Project & WithAutoRetryLimit(int value)
Definition Project.h:465
Project & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
Definition Project.h:385
Project & WithName(const Aws::String &value)
Definition Project.h:64
Project & AddTags(Tag &&value)
Definition Project.h:294
void SetBuildBatchConfig(const ProjectBuildBatchConfig &value)
Definition Project.h:397
Project & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
Definition Project.h:167
void SetDescription(Aws::String &&value)
Definition Project.h:90
void SetLastModified(const Aws::Utils::DateTime &value)
Definition Project.h:316
Project & WithBadge(ProjectBadge &&value)
Definition Project.h:356
void SetAutoRetryLimit(int value)
Definition Project.h:464
void SetEnvironment(const ProjectEnvironment &value)
Definition Project.h:216
void SetSourceVersion(const char *value)
Definition Project.h:149
void SetBadge(ProjectBadge &&value)
Definition Project.h:354
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
Definition Project.h:395
Project & WithSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
Definition Project.h:193
const Aws::String & GetDescription() const
Definition Project.h:87
Project & WithCache(const ProjectCache &value)
Definition Project.h:206
Project & WithPublicProjectAlias(const char *value)
Definition Project.h:437
const Aws::String & GetEncryptionKey() const
Definition Project.h:271
AWS_CODEBUILD_API Project(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentHasBeenSet() const
Definition Project.h:215
Project & WithArn(Aws::String &&value)
Definition Project.h:79
bool ConcurrentBuildLimitHasBeenSet() const
Definition Project.h:411
Project & WithLastModified(Aws::Utils::DateTime &&value)
Definition Project.h:319
Project & WithEnvironment(const ProjectEnvironment &value)
Definition Project.h:218
Project & WithConcurrentBuildLimit(int value)
Definition Project.h:413
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
Definition Project.h:383
void SetTags(const Aws::Vector< Tag > &value)
Definition Project.h:289
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
Definition Project.h:116
void SetServiceRole(const char *value)
Definition Project.h:231
void SetName(const char *value)
Definition Project.h:63
Project & WithServiceRole(Aws::String &&value)
Definition Project.h:233
bool LastModifiedHasBeenSet() const
Definition Project.h:315
void SetWebhook(const Webhook &value)
Definition Project.h:329
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Definition Project.h:162
void SetSource(ProjectSource &&value)
Definition Project.h:104
const Aws::String & GetResourceAccessRole() const
Definition Project.h:445
Project & WithCreated(Aws::Utils::DateTime &&value)
Definition Project.h:306
int GetConcurrentBuildLimit() const
Definition Project.h:410
void SetCreated(const Aws::Utils::DateTime &value)
Definition Project.h:303
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
Definition Project.h:165
const Aws::String & GetArn() const
Definition Project.h:73
AWS_CODEBUILD_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithSource(const ProjectSource &value)
Definition Project.h:105
const Aws::Utils::DateTime & GetCreated() const
Definition Project.h:301
void SetSecondaryArtifacts(Aws::Vector< ProjectArtifacts > &&value)
Definition Project.h:191
void SetQueuedTimeoutInMinutes(int value)
Definition Project.h:256
const ProjectCache & GetCache() const
Definition Project.h:202
Project & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
Definition Project.h:384
const ProjectEnvironment & GetEnvironment() const
Definition Project.h:214
Project & WithArtifacts(ProjectArtifacts &&value)
Definition Project.h:181
Project & WithTimeoutInMinutes(int value)
Definition Project.h:246
Project & WithEncryptionKey(const Aws::String &value)
Definition Project.h:276
void SetProjectVisibility(ProjectVisibilityType &&value)
Definition Project.h:421
void SetSource(const ProjectSource &value)
Definition Project.h:103
Project & WithBadge(const ProjectBadge &value)
Definition Project.h:355
Project & AddSecondarySourceVersions(ProjectSourceVersion &&value)
Definition Project.h:169
void SetArn(Aws::String &&value)
Definition Project.h:76
Project & WithServiceRole(const Aws::String &value)
Definition Project.h:232
bool ProjectVisibilityHasBeenSet() const
Definition Project.h:419
void SetPublicProjectAlias(Aws::String &&value)
Definition Project.h:433
Project & WithCache(ProjectCache &&value)
Definition Project.h:207
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
Definition Project.h:115
Project & WithLogsConfig(LogsConfig &&value)
Definition Project.h:369
Project & WithWebhook(Webhook &&value)
Definition Project.h:332
void SetArtifacts(const ProjectArtifacts &value)
Definition Project.h:178
void SetEncryptionKey(const char *value)
Definition Project.h:275
void SetCache(const ProjectCache &value)
Definition Project.h:204
const Aws::String & GetServiceRole() const
Definition Project.h:227
void SetName(const Aws::String &value)
Definition Project.h:61
Project & WithQueuedTimeoutInMinutes(int value)
Definition Project.h:257
Project & WithResourceAccessRole(const Aws::String &value)
Definition Project.h:450
const ProjectSource & GetSource() const
Definition Project.h:101
Project & WithName(const char *value)
Definition Project.h:66
void SetTimeoutInMinutes(int value)
Definition Project.h:245
bool SourceVersionHasBeenSet() const
Definition Project.h:146
Project & WithName(Aws::String &&value)
Definition Project.h:65
Project & WithSource(ProjectSource &&value)
Definition Project.h:106
bool BuildBatchConfigHasBeenSet() const
Definition Project.h:396
void SetBuildBatchConfig(ProjectBuildBatchConfig &&value)
Definition Project.h:398
Project & AddTags(const Tag &value)
Definition Project.h:293
Project & WithSourceVersion(Aws::String &&value)
Definition Project.h:151
const Aws::Vector< ProjectArtifacts > & GetSecondaryArtifacts() const
Definition Project.h:188
Project & WithLogsConfig(const LogsConfig &value)
Definition Project.h:368
void SetArn(const char *value)
Definition Project.h:77
Project & WithSourceVersion(const Aws::String &value)
Definition Project.h:150
Project & WithResourceAccessRole(Aws::String &&value)
Definition Project.h:451
void SetConcurrentBuildLimit(int value)
Definition Project.h:412
void SetPublicProjectAlias(const char *value)
Definition Project.h:434
void SetLastModified(Aws::Utils::DateTime &&value)
Definition Project.h:317
void SetLogsConfig(LogsConfig &&value)
Definition Project.h:367
void SetDescription(const char *value)
Definition Project.h:91
Project & AddSecondarySources(ProjectSource &&value)
Definition Project.h:120
Project & WithProjectVisibility(const ProjectVisibilityType &value)
Definition Project.h:422
bool LogsConfigHasBeenSet() const
Definition Project.h:365
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Definition Project.h:380
bool SecondarySourceVersionsHasBeenSet() const
Definition Project.h:163
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue