/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a stage for a build.See Also:
AWS
* API Reference
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build * phase.
The build process is completing in * this build phase.
Installation activities * typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build * phase.
The build environment is being * set up.
The build has been submitted and is * queued behind other submitted builds.
The * build has been submitted.
Build * output artifacts are being uploaded to the output location.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build * phase is still in progress.
The build phase * stopped.
The build phase succeeded.
*The build phase timed out.
When the build phase started, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *When the build phase started, expressed in Unix time format.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *When the build phase started, expressed in Unix time format.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *When the build phase started, expressed in Unix time format.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *When the build phase started, expressed in Unix time format.
*/ inline BuildPhase& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *When the build phase started, expressed in Unix time format.
*/ inline BuildPhase& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *When the build phase ended, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *When the build phase ended, expressed in Unix time format.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *When the build phase ended, expressed in Unix time format.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *When the build phase ended, expressed in Unix time format.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *When the build phase ended, expressed in Unix time format.
*/ inline BuildPhase& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *When the build phase ended, expressed in Unix time format.
*/ inline BuildPhase& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *How long, in seconds, between the starting and ending times of the build's * phase.
*/ inline long long GetDurationInSeconds() const{ return m_durationInSeconds; } /** *How long, in seconds, between the starting and ending times of the build's * phase.
*/ inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; } /** *How long, in seconds, between the starting and ending times of the build's * phase.
*/ inline void SetDurationInSeconds(long long value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; } /** *How long, in seconds, between the starting and ending times of the build's * phase.
*/ inline BuildPhase& WithDurationInSeconds(long long value) { SetDurationInSeconds(value); return *this;} /** *Additional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline const Aws::VectorAdditional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline bool ContextsHasBeenSet() const { return m_contextsHasBeenSet; } /** *Additional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline void SetContexts(const Aws::VectorAdditional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline void SetContexts(Aws::VectorAdditional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline BuildPhase& WithContexts(const Aws::VectorAdditional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline BuildPhase& WithContexts(Aws::VectorAdditional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline BuildPhase& AddContexts(const PhaseContext& value) { m_contextsHasBeenSet = true; m_contexts.push_back(value); return *this; } /** *Additional information about a build phase, especially to help troubleshoot a * failed build.
*/ inline BuildPhase& AddContexts(PhaseContext&& value) { m_contextsHasBeenSet = true; m_contexts.push_back(std::move(value)); return *this; } private: BuildPhaseType m_phaseType; bool m_phaseTypeHasBeenSet = false; StatusType m_phaseStatus; bool m_phaseStatusHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; long long m_durationInSeconds; bool m_durationInSecondsHasBeenSet = false; Aws::Vector