7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codebuild/model/StatusType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codebuild/model/ProjectSource.h>
13#include <aws/codebuild/model/BuildArtifacts.h>
14#include <aws/codebuild/model/ProjectCache.h>
15#include <aws/codebuild/model/ProjectEnvironment.h>
16#include <aws/codebuild/model/LogsConfig.h>
17#include <aws/codebuild/model/VpcConfig.h>
18#include <aws/codebuild/model/ProjectBuildBatchConfig.h>
19#include <aws/codebuild/model/BuildBatchPhase.h>
20#include <aws/codebuild/model/ProjectSourceVersion.h>
21#include <aws/codebuild/model/ProjectFileSystemLocation.h>
22#include <aws/codebuild/model/BuildGroup.h>
61 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
62 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
75 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
76 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
114 inline void SetCurrentPhase(
const char* value) { m_currentPhaseHasBeenSet =
true; m_currentPhase.assign(value); }
140 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
158 inline void SetResolvedSourceVersion(
const char* value) { m_resolvedSourceVersionHasBeenSet =
true; m_resolvedSourceVersion.assign(value); }
172 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
301 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
345 inline void SetComplete(
bool value) { m_completeHasBeenSet =
true; m_complete = value; }
362 inline void SetInitiator(
const char* value) { m_initiatorHasBeenSet =
true; m_initiator.assign(value); }
391 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
407 inline void SetBuildBatchNumber(
long long value) { m_buildBatchNumberHasBeenSet =
true; m_buildBatchNumber = value; }
464 inline void SetDebugSessionEnabled(
bool value) { m_debugSessionEnabledHasBeenSet =
true; m_debugSessionEnabled = value; }
470 bool m_idHasBeenSet =
false;
473 bool m_arnHasBeenSet =
false;
476 bool m_startTimeHasBeenSet =
false;
479 bool m_endTimeHasBeenSet =
false;
482 bool m_currentPhaseHasBeenSet =
false;
485 bool m_buildBatchStatusHasBeenSet =
false;
488 bool m_sourceVersionHasBeenSet =
false;
491 bool m_resolvedSourceVersionHasBeenSet =
false;
494 bool m_projectNameHasBeenSet =
false;
497 bool m_phasesHasBeenSet =
false;
500 bool m_sourceHasBeenSet =
false;
503 bool m_secondarySourcesHasBeenSet =
false;
506 bool m_secondarySourceVersionsHasBeenSet =
false;
509 bool m_artifactsHasBeenSet =
false;
512 bool m_secondaryArtifactsHasBeenSet =
false;
515 bool m_cacheHasBeenSet =
false;
518 bool m_environmentHasBeenSet =
false;
521 bool m_serviceRoleHasBeenSet =
false;
524 bool m_logConfigHasBeenSet =
false;
526 int m_buildTimeoutInMinutes;
527 bool m_buildTimeoutInMinutesHasBeenSet =
false;
529 int m_queuedTimeoutInMinutes;
530 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
533 bool m_completeHasBeenSet =
false;
536 bool m_initiatorHasBeenSet =
false;
539 bool m_vpcConfigHasBeenSet =
false;
542 bool m_encryptionKeyHasBeenSet =
false;
544 long long m_buildBatchNumber;
545 bool m_buildBatchNumberHasBeenSet =
false;
548 bool m_fileSystemLocationsHasBeenSet =
false;
551 bool m_buildBatchConfigHasBeenSet =
false;
554 bool m_buildGroupsHasBeenSet =
false;
556 bool m_debugSessionEnabled;
557 bool m_debugSessionEnabledHasBeenSet =
false;
bool CurrentPhaseHasBeenSet() const
AWS_CODEBUILD_API BuildBatch()
BuildBatch & WithCurrentPhase(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
BuildBatch & WithSource(ProjectSource &&value)
AWS_CODEBUILD_API BuildBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
BuildBatch & WithStartTime(Aws::Utils::DateTime &&value)
void SetQueuedTimeoutInMinutes(int value)
BuildBatch & WithDebugSessionEnabled(bool value)
void SetSourceVersion(const char *value)
void SetVpcConfig(const VpcConfig &value)
bool ServiceRoleHasBeenSet() const
const Aws::String & GetServiceRole() const
void SetArn(const Aws::String &value)
BuildBatch & AddSecondaryArtifacts(const BuildArtifacts &value)
BuildBatch & WithCurrentPhase(const char *value)
void SetEnvironment(ProjectEnvironment &&value)
BuildBatch & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
const Aws::String & GetCurrentPhase() const
void SetArn(const char *value)
BuildBatch & WithBuildBatchNumber(long long value)
bool ProjectNameHasBeenSet() const
BuildBatch & AddPhases(const BuildBatchPhase &value)
int GetQueuedTimeoutInMinutes() const
BuildBatch & WithSource(const ProjectSource &value)
void SetPhases(Aws::Vector< BuildBatchPhase > &&value)
const ProjectBuildBatchConfig & GetBuildBatchConfig() const
bool VpcConfigHasBeenSet() const
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
BuildBatch & AddSecondarySourceVersions(const ProjectSourceVersion &value)
BuildBatch & WithBuildTimeoutInMinutes(int value)
BuildBatch & WithResolvedSourceVersion(const Aws::String &value)
void SetBuildBatchNumber(long long value)
bool StartTimeHasBeenSet() const
const Aws::String & GetProjectName() const
bool BuildBatchNumberHasBeenSet() const
BuildBatch & WithProjectName(const char *value)
BuildBatch & WithId(const Aws::String &value)
void SetEncryptionKey(Aws::String &&value)
const Aws::Vector< BuildBatchPhase > & GetPhases() const
bool IdHasBeenSet() const
BuildBatch & WithLogConfig(const LogsConfig &value)
void SetResolvedSourceVersion(const char *value)
bool FileSystemLocationsHasBeenSet() const
BuildBatch & WithCache(const ProjectCache &value)
BuildBatch & AddBuildGroups(BuildGroup &&value)
BuildBatch & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
BuildBatch & WithArn(const Aws::String &value)
BuildBatch & WithSourceVersion(const char *value)
void SetId(const Aws::String &value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
bool SourceVersionHasBeenSet() const
BuildBatch & WithEncryptionKey(const char *value)
void SetCache(ProjectCache &&value)
BuildBatch & WithArn(Aws::String &&value)
bool EncryptionKeyHasBeenSet() const
bool LogConfigHasBeenSet() const
BuildBatch & AddBuildGroups(const BuildGroup &value)
void SetEndTime(Aws::Utils::DateTime &&value)
BuildBatch & WithQueuedTimeoutInMinutes(int value)
bool BuildTimeoutInMinutesHasBeenSet() const
BuildBatch & WithCache(ProjectCache &&value)
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
BuildBatch & AddSecondarySources(ProjectSource &&value)
BuildBatch & WithServiceRole(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
void SetCurrentPhase(const char *value)
bool SourceHasBeenSet() const
BuildBatch & WithStartTime(const Aws::Utils::DateTime &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildBatch & WithPhases(Aws::Vector< BuildBatchPhase > &&value)
void SetBuildBatchStatus(const StatusType &value)
void SetBuildBatchConfig(ProjectBuildBatchConfig &&value)
BuildBatch & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
BuildBatch & WithInitiator(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetResolvedSourceVersion() const
const Aws::String & GetInitiator() const
BuildBatch & WithServiceRole(Aws::String &&value)
BuildBatch & WithBuildBatchConfig(const ProjectBuildBatchConfig &value)
BuildBatch & WithEnvironment(const ProjectEnvironment &value)
BuildBatch & WithBuildGroups(Aws::Vector< BuildGroup > &&value)
const Aws::Vector< BuildGroup > & GetBuildGroups() const
void SetLogConfig(const LogsConfig &value)
bool EndTimeHasBeenSet() const
void SetSourceVersion(const Aws::String &value)
bool SecondarySourceVersionsHasBeenSet() const
void SetSecondaryArtifacts(const Aws::Vector< BuildArtifacts > &value)
bool BuildBatchStatusHasBeenSet() const
BuildBatch & WithSourceVersion(Aws::String &&value)
void SetProjectName(Aws::String &&value)
void SetSourceVersion(Aws::String &&value)
BuildBatch & WithComplete(bool value)
BuildBatch & AddFileSystemLocations(const ProjectFileSystemLocation &value)
BuildBatch & WithResolvedSourceVersion(const char *value)
void SetBuildBatchConfig(const ProjectBuildBatchConfig &value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
BuildBatch & WithServiceRole(const Aws::String &value)
BuildBatch & WithEncryptionKey(const Aws::String &value)
void SetProjectName(const char *value)
void SetId(const char *value)
const ProjectEnvironment & GetEnvironment() const
long long GetBuildBatchNumber() const
BuildBatch & WithVpcConfig(const VpcConfig &value)
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
const Aws::String & GetSourceVersion() const
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts() const
void SetStartTime(const Aws::Utils::DateTime &value)
BuildBatch & WithBuildBatchStatus(const StatusType &value)
BuildBatch & WithVpcConfig(VpcConfig &&value)
void SetPhases(const Aws::Vector< BuildBatchPhase > &value)
const BuildArtifacts & GetArtifacts() const
BuildBatch & WithPhases(const Aws::Vector< BuildBatchPhase > &value)
BuildBatch & WithArn(const char *value)
void SetSource(ProjectSource &&value)
BuildBatch & AddPhases(BuildBatchPhase &&value)
void SetComplete(bool value)
BuildBatch & WithEndTime(Aws::Utils::DateTime &&value)
const StatusType & GetBuildBatchStatus() const
BuildBatch & WithId(Aws::String &&value)
bool EnvironmentHasBeenSet() const
void SetProjectName(const Aws::String &value)
void SetBuildBatchStatus(StatusType &&value)
void SetArtifacts(const BuildArtifacts &value)
BuildBatch & WithBuildBatchStatus(StatusType &&value)
BuildBatch & WithProjectName(const Aws::String &value)
bool SecondarySourcesHasBeenSet() const
bool InitiatorHasBeenSet() const
BuildBatch & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
BuildBatch & AddSecondarySourceVersions(ProjectSourceVersion &&value)
BuildBatch & AddFileSystemLocations(ProjectFileSystemLocation &&value)
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
BuildBatch & WithEndTime(const Aws::Utils::DateTime &value)
BuildBatch & AddSecondarySources(const ProjectSource &value)
void SetLogConfig(LogsConfig &&value)
AWS_CODEBUILD_API BuildBatch(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionKey(const char *value)
bool DebugSessionEnabledHasBeenSet() const
const Aws::String & GetId() const
const ProjectCache & GetCache() const
const VpcConfig & GetVpcConfig() const
void SetServiceRole(const Aws::String &value)
bool BuildGroupsHasBeenSet() const
void SetCache(const ProjectCache &value)
void SetInitiator(Aws::String &&value)
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
void SetServiceRole(Aws::String &&value)
void SetDebugSessionEnabled(bool value)
bool ArtifactsHasBeenSet() const
void SetInitiator(const char *value)
void SetEncryptionKey(const Aws::String &value)
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
bool PhasesHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetSource(const ProjectSource &value)
BuildBatch & AddSecondaryArtifacts(BuildArtifacts &&value)
bool ResolvedSourceVersionHasBeenSet() const
bool GetDebugSessionEnabled() const
BuildBatch & WithEncryptionKey(Aws::String &&value)
BuildBatch & WithEnvironment(ProjectEnvironment &&value)
BuildBatch & WithId(const char *value)
void SetArtifacts(BuildArtifacts &&value)
BuildBatch & WithLogConfig(LogsConfig &&value)
const LogsConfig & GetLogConfig() const
const ProjectSource & GetSource() const
bool QueuedTimeoutInMinutesHasBeenSet() const
BuildBatch & WithSourceVersion(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetServiceRole(const char *value)
BuildBatch & WithArtifacts(const BuildArtifacts &value)
void SetBuildTimeoutInMinutes(int value)
int GetBuildTimeoutInMinutes() const
BuildBatch & WithBuildBatchConfig(ProjectBuildBatchConfig &&value)
BuildBatch & WithInitiator(Aws::String &&value)
BuildBatch & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
bool BuildBatchConfigHasBeenSet() const
void SetCurrentPhase(const Aws::String &value)
void SetBuildGroups(Aws::Vector< BuildGroup > &&value)
BuildBatch & WithSecondaryArtifacts(Aws::Vector< BuildArtifacts > &&value)
BuildBatch & WithCurrentPhase(Aws::String &&value)
BuildBatch & WithResolvedSourceVersion(Aws::String &&value)
BuildBatch & WithInitiator(const char *value)
void SetEnvironment(const ProjectEnvironment &value)
void SetSecondaryArtifacts(Aws::Vector< BuildArtifacts > &&value)
bool CompleteHasBeenSet() const
bool SecondaryArtifactsHasBeenSet() const
const Aws::String & GetEncryptionKey() const
BuildBatch & WithArtifacts(BuildArtifacts &&value)
void SetCurrentPhase(Aws::String &&value)
BuildBatch & WithProjectName(Aws::String &&value)
void SetBuildGroups(const Aws::Vector< BuildGroup > &value)
void SetArn(Aws::String &&value)
BuildBatch & WithBuildGroups(const Aws::Vector< BuildGroup > &value)
BuildBatch & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
void SetResolvedSourceVersion(Aws::String &&value)
void SetVpcConfig(VpcConfig &&value)
void SetResolvedSourceVersion(const Aws::String &value)
void SetInitiator(const Aws::String &value)
bool CacheHasBeenSet() const
BuildBatch & WithSecondaryArtifacts(const Aws::Vector< BuildArtifacts > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue