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/LogsLocation.h>
17#include <aws/codebuild/model/VpcConfig.h>
18#include <aws/codebuild/model/NetworkInterface.h>
19#include <aws/codebuild/model/DebugSession.h>
20#include <aws/codebuild/model/AutoRetryConfig.h>
21#include <aws/codebuild/model/BuildPhase.h>
22#include <aws/codebuild/model/ProjectSourceVersion.h>
23#include <aws/codebuild/model/ExportedEnvironmentVariable.h>
24#include <aws/codebuild/model/ProjectFileSystemLocation.h>
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
77 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
78 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
93 inline void SetBuildNumber(
long long value) { m_buildNumberHasBeenSet =
true; m_buildNumber = value; }
129 inline void SetCurrentPhase(
const char* value) { m_currentPhaseHasBeenSet =
true; m_currentPhase.assign(value); }
165 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
183 inline void SetResolvedSourceVersion(
const char* value) { m_resolvedSourceVersionHasBeenSet =
true; m_resolvedSourceVersion.assign(value); }
197 inline void SetProjectName(
const char* value) { m_projectNameHasBeenSet =
true; m_projectName.assign(value); }
329 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
354 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
375 inline void SetBuildComplete(
bool value) { m_buildCompleteHasBeenSet =
true; m_buildComplete = value; }
392 inline void SetInitiator(
const char* value) { m_initiatorHasBeenSet =
true; m_initiator.assign(value); }
438 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
475 inline Build&
AddReportArns(
const char* value) { m_reportArnsHasBeenSet =
true; m_reportArns.push_back(value);
return *
this; }
516 inline void SetBuildBatchArn(
const char* value) { m_buildBatchArnHasBeenSet =
true; m_buildBatchArn.assign(value); }
536 bool m_idHasBeenSet =
false;
539 bool m_arnHasBeenSet =
false;
541 long long m_buildNumber;
542 bool m_buildNumberHasBeenSet =
false;
545 bool m_startTimeHasBeenSet =
false;
548 bool m_endTimeHasBeenSet =
false;
551 bool m_currentPhaseHasBeenSet =
false;
554 bool m_buildStatusHasBeenSet =
false;
557 bool m_sourceVersionHasBeenSet =
false;
560 bool m_resolvedSourceVersionHasBeenSet =
false;
563 bool m_projectNameHasBeenSet =
false;
566 bool m_phasesHasBeenSet =
false;
569 bool m_sourceHasBeenSet =
false;
572 bool m_secondarySourcesHasBeenSet =
false;
575 bool m_secondarySourceVersionsHasBeenSet =
false;
578 bool m_artifactsHasBeenSet =
false;
581 bool m_secondaryArtifactsHasBeenSet =
false;
584 bool m_cacheHasBeenSet =
false;
587 bool m_environmentHasBeenSet =
false;
590 bool m_serviceRoleHasBeenSet =
false;
593 bool m_logsHasBeenSet =
false;
595 int m_timeoutInMinutes;
596 bool m_timeoutInMinutesHasBeenSet =
false;
598 int m_queuedTimeoutInMinutes;
599 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
601 bool m_buildComplete;
602 bool m_buildCompleteHasBeenSet =
false;
605 bool m_initiatorHasBeenSet =
false;
608 bool m_vpcConfigHasBeenSet =
false;
611 bool m_networkInterfaceHasBeenSet =
false;
614 bool m_encryptionKeyHasBeenSet =
false;
617 bool m_exportedEnvironmentVariablesHasBeenSet =
false;
620 bool m_reportArnsHasBeenSet =
false;
623 bool m_fileSystemLocationsHasBeenSet =
false;
626 bool m_debugSessionHasBeenSet =
false;
629 bool m_buildBatchArnHasBeenSet =
false;
632 bool m_autoRetryConfigHasBeenSet =
false;
bool DebugSessionHasBeenSet() const
const Aws::String & GetServiceRole() const
const StatusType & GetBuildStatus() const
void SetDebugSession(DebugSession &&value)
Build & WithId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetSourceVersion(const Aws::String &value)
bool SecondaryArtifactsHasBeenSet() const
Build & WithServiceRole(const Aws::String &value)
Build & WithBuildBatchArn(Aws::String &&value)
int GetQueuedTimeoutInMinutes() const
void SetSource(ProjectSource &&value)
Build & WithCache(ProjectCache &&value)
const DebugSession & GetDebugSession() const
const Aws::String & GetId() const
Build & WithBuildBatchArn(const char *value)
const Aws::String & GetInitiator() const
Build & AddSecondarySourceVersions(const ProjectSourceVersion &value)
bool GetBuildComplete() const
void SetProjectName(Aws::String &&value)
void SetAutoRetryConfig(const AutoRetryConfig &value)
bool CacheHasBeenSet() const
void SetCache(const ProjectCache &value)
Build & WithInitiator(const char *value)
Build & WithStartTime(Aws::Utils::DateTime &&value)
void SetExportedEnvironmentVariables(const Aws::Vector< ExportedEnvironmentVariable > &value)
Build & AddSecondaryArtifacts(BuildArtifacts &&value)
void SetResolvedSourceVersion(const Aws::String &value)
void SetResolvedSourceVersion(const char *value)
void SetSourceVersion(Aws::String &&value)
Build & WithSecondarySources(const Aws::Vector< ProjectSource > &value)
Build & WithQueuedTimeoutInMinutes(int value)
void SetBuildNumber(long long value)
void SetEnvironment(ProjectEnvironment &&value)
Build & AddFileSystemLocations(ProjectFileSystemLocation &&value)
Build & WithArn(const Aws::String &value)
bool BuildNumberHasBeenSet() const
Build & WithSecondaryArtifacts(Aws::Vector< BuildArtifacts > &&value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
Build & WithPhases(Aws::Vector< BuildPhase > &&value)
void SetArn(const char *value)
void SetInitiator(const Aws::String &value)
Build & WithAutoRetryConfig(AutoRetryConfig &&value)
int GetTimeoutInMinutes() const
Build & WithArn(Aws::String &&value)
Build & WithDebugSession(const DebugSession &value)
void SetResolvedSourceVersion(Aws::String &&value)
bool CurrentPhaseHasBeenSet() const
Build & WithSourceVersion(const char *value)
void SetEncryptionKey(Aws::String &&value)
Build & WithEncryptionKey(const char *value)
Build & WithTimeoutInMinutes(int value)
void SetAutoRetryConfig(AutoRetryConfig &&value)
Build & AddPhases(BuildPhase &&value)
void SetTimeoutInMinutes(int value)
Build & WithLogs(const LogsLocation &value)
const Aws::String & GetProjectName() const
Build & WithResolvedSourceVersion(const Aws::String &value)
Build & WithEnvironment(const ProjectEnvironment &value)
void SetArn(Aws::String &&value)
Build & WithReportArns(Aws::Vector< Aws::String > &&value)
Build & AddReportArns(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
Build & WithArn(const char *value)
bool InitiatorHasBeenSet() const
Build & WithServiceRole(Aws::String &&value)
Build & WithProjectName(Aws::String &&value)
const Aws::String & GetResolvedSourceVersion() const
const Aws::String & GetBuildBatchArn() const
Build & WithServiceRole(const char *value)
bool ResolvedSourceVersionHasBeenSet() const
Build & WithCurrentPhase(const char *value)
Build & WithBuildBatchArn(const Aws::String &value)
void SetCache(ProjectCache &&value)
void SetSecondaryArtifacts(const Aws::Vector< BuildArtifacts > &value)
Build & WithEncryptionKey(const Aws::String &value)
const ProjectCache & GetCache() const
Build & WithCurrentPhase(Aws::String &&value)
bool ServiceRoleHasBeenSet() const
AWS_CODEBUILD_API Build()
Build & AddSecondarySources(ProjectSource &&value)
bool SecondarySourcesHasBeenSet() const
void SetProjectName(const char *value)
Build & WithResolvedSourceVersion(const char *value)
Build & WithReportArns(const Aws::Vector< Aws::String > &value)
Build & WithCache(const ProjectCache &value)
void SetVpcConfig(const VpcConfig &value)
Build & WithProjectName(const char *value)
bool QueuedTimeoutInMinutesHasBeenSet() const
bool BuildStatusHasBeenSet() const
Build & WithSecondaryArtifacts(const Aws::Vector< BuildArtifacts > &value)
void SetArn(const Aws::String &value)
const NetworkInterface & GetNetworkInterface() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
const BuildArtifacts & GetArtifacts() const
const Aws::Utils::DateTime & GetEndTime() const
bool BuildBatchArnHasBeenSet() const
void SetSourceVersion(const char *value)
Build & WithFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
Build & WithBuildComplete(bool value)
void SetReportArns(const Aws::Vector< Aws::String > &value)
const AutoRetryConfig & GetAutoRetryConfig() const
Build & WithPhases(const Aws::Vector< BuildPhase > &value)
Build & WithCurrentPhase(const Aws::String &value)
Build & WithSourceVersion(Aws::String &&value)
void SetEnvironment(const ProjectEnvironment &value)
bool IdHasBeenSet() const
void SetCurrentPhase(const Aws::String &value)
void SetEncryptionKey(const char *value)
const Aws::Vector< ExportedEnvironmentVariable > & GetExportedEnvironmentVariables() const
void SetArtifacts(const BuildArtifacts &value)
Build & WithId(const char *value)
Build & WithLogs(LogsLocation &&value)
Build & AddExportedEnvironmentVariables(ExportedEnvironmentVariable &&value)
bool SecondarySourceVersionsHasBeenSet() const
Build & AddReportArns(const char *value)
Build & WithSourceVersion(const Aws::String &value)
const LogsLocation & GetLogs() const
Build & WithNetworkInterface(NetworkInterface &&value)
Build & AddSecondaryArtifacts(const BuildArtifacts &value)
bool LogsHasBeenSet() const
void SetBuildBatchArn(Aws::String &&value)
Build & WithProjectName(const Aws::String &value)
const ProjectEnvironment & GetEnvironment() const
Build & WithId(Aws::String &&value)
const Aws::String & GetEncryptionKey() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
Build & WithSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
void SetSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
bool ArnHasBeenSet() const
bool ArtifactsHasBeenSet() const
const ProjectSource & GetSource() const
Build & WithExportedEnvironmentVariables(const Aws::Vector< ExportedEnvironmentVariable > &value)
void SetVpcConfig(VpcConfig &&value)
Build & WithAutoRetryConfig(const AutoRetryConfig &value)
Build & WithSource(const ProjectSource &value)
void SetSecondaryArtifacts(Aws::Vector< BuildArtifacts > &&value)
bool StartTimeHasBeenSet() const
void SetId(const Aws::String &value)
void SetBuildBatchArn(const char *value)
void SetCurrentPhase(Aws::String &&value)
void SetDebugSession(const DebugSession &value)
bool BuildCompleteHasBeenSet() const
void SetBuildStatus(const StatusType &value)
void SetSecondarySourceVersions(Aws::Vector< ProjectSourceVersion > &&value)
Build & WithBuildStatus(StatusType &&value)
const Aws::Vector< ProjectSource > & GetSecondarySources() const
Build & AddPhases(const BuildPhase &value)
Build & WithVpcConfig(VpcConfig &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetBuildStatus(StatusType &&value)
void SetInitiator(const char *value)
void SetPhases(const Aws::Vector< BuildPhase > &value)
Build & WithSource(ProjectSource &&value)
void SetProjectName(const Aws::String &value)
Build & WithNetworkInterface(const NetworkInterface &value)
const Aws::String & GetSourceVersion() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetSource(const ProjectSource &value)
void SetServiceRole(const Aws::String &value)
AWS_CODEBUILD_API Build(Aws::Utils::Json::JsonView jsonValue)
Build & WithEnvironment(ProjectEnvironment &&value)
void SetSecondarySources(Aws::Vector< ProjectSource > &&value)
void SetBuildComplete(bool value)
void SetInitiator(Aws::String &&value)
const Aws::String & GetCurrentPhase() const
bool EncryptionKeyHasBeenSet() const
void SetId(Aws::String &&value)
Build & WithExportedEnvironmentVariables(Aws::Vector< ExportedEnvironmentVariable > &&value)
void SetId(const char *value)
Build & WithDebugSession(DebugSession &&value)
bool NetworkInterfaceHasBeenSet() const
Build & WithEndTime(const Aws::Utils::DateTime &value)
Build & WithSecondarySourceVersions(const Aws::Vector< ProjectSourceVersion > &value)
void SetArtifacts(BuildArtifacts &&value)
bool AutoRetryConfigHasBeenSet() const
void SetServiceRole(Aws::String &&value)
Build & WithArtifacts(const BuildArtifacts &value)
Build & WithSecondarySources(Aws::Vector< ProjectSource > &&value)
Build & AddExportedEnvironmentVariables(const ExportedEnvironmentVariable &value)
Build & WithInitiator(const Aws::String &value)
Build & AddReportArns(const Aws::String &value)
Build & WithBuildNumber(long long value)
Build & WithEndTime(Aws::Utils::DateTime &&value)
void SetNetworkInterface(NetworkInterface &&value)
Build & AddSecondarySources(const ProjectSource &value)
Build & WithStartTime(const Aws::Utils::DateTime &value)
Build & AddSecondarySourceVersions(ProjectSourceVersion &&value)
bool EnvironmentHasBeenSet() const
void SetServiceRole(const char *value)
void SetExportedEnvironmentVariables(Aws::Vector< ExportedEnvironmentVariable > &&value)
void SetCurrentPhase(const char *value)
void SetQueuedTimeoutInMinutes(int value)
bool PhasesHasBeenSet() const
bool FileSystemLocationsHasBeenSet() const
void SetBuildBatchArn(const Aws::String &value)
bool VpcConfigHasBeenSet() const
Build & WithResolvedSourceVersion(Aws::String &&value)
const Aws::Vector< BuildPhase > & GetPhases() const
void SetStartTime(const Aws::Utils::DateTime &value)
bool SourceHasBeenSet() const
void SetReportArns(Aws::Vector< Aws::String > &&value)
void SetSecondarySources(const Aws::Vector< ProjectSource > &value)
Build & WithEncryptionKey(Aws::String &&value)
Build & WithBuildStatus(const StatusType &value)
bool SourceVersionHasBeenSet() const
void SetLogs(const LogsLocation &value)
bool TimeoutInMinutesHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_CODEBUILD_API Build & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExportedEnvironmentVariablesHasBeenSet() const
void SetEncryptionKey(const Aws::String &value)
long long GetBuildNumber() const
bool ProjectNameHasBeenSet() const
const VpcConfig & GetVpcConfig() const
Build & WithVpcConfig(const VpcConfig &value)
void SetNetworkInterface(const NetworkInterface &value)
const Aws::String & GetArn() const
void SetFileSystemLocations(const Aws::Vector< ProjectFileSystemLocation > &value)
void SetFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
void SetLogs(LogsLocation &&value)
Build & AddFileSystemLocations(const ProjectFileSystemLocation &value)
const Aws::Vector< BuildArtifacts > & GetSecondaryArtifacts() const
Build & WithInitiator(Aws::String &&value)
Build & WithArtifacts(BuildArtifacts &&value)
const Aws::Vector< Aws::String > & GetReportArns() const
Build & WithFileSystemLocations(Aws::Vector< ProjectFileSystemLocation > &&value)
bool ReportArnsHasBeenSet() const
void SetPhases(Aws::Vector< BuildPhase > &&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