/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a stage for a batch build.See
* Also:
AWS
* API Reference
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The name of the batch build phase. Valid values include:
Build output artifacts are being combined and * uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch * build was stopped.
The btach build has been * submitted.
The batch build succeeded.
*The current status of the batch 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 batch 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 batch 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 batch 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 batch 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 batch 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 batch build phase started, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *When the batch build phase started, expressed in Unix time format.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *When the batch build phase started, expressed in Unix time format.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *When the batch 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 batch build phase started, expressed in Unix time format.
*/ inline BuildBatchPhase& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *When the batch build phase started, expressed in Unix time format.
*/ inline BuildBatchPhase& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *When the batch build phase ended, expressed in Unix time format.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *When the batch build phase ended, expressed in Unix time format.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *When the batch build phase ended, expressed in Unix time format.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *When the batch 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 batch build phase ended, expressed in Unix time format.
*/ inline BuildBatchPhase& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *When the batch build phase ended, expressed in Unix time format.
*/ inline BuildBatchPhase& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *How long, in seconds, between the starting and ending times of the batch * build's phase.
*/ inline long long GetDurationInSeconds() const{ return m_durationInSeconds; } /** *How long, in seconds, between the starting and ending times of the batch * build's phase.
*/ inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; } /** *How long, in seconds, between the starting and ending times of the batch * 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 batch * build's phase.
*/ inline BuildBatchPhase& WithDurationInSeconds(long long value) { SetDurationInSeconds(value); return *this;} /** *Additional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline const Aws::VectorAdditional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline bool ContextsHasBeenSet() const { return m_contextsHasBeenSet; } /** *Additional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline void SetContexts(const Aws::VectorAdditional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline void SetContexts(Aws::VectorAdditional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline BuildBatchPhase& WithContexts(const Aws::VectorAdditional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline BuildBatchPhase& WithContexts(Aws::VectorAdditional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline BuildBatchPhase& AddContexts(const PhaseContext& value) { m_contextsHasBeenSet = true; m_contexts.push_back(value); return *this; } /** *Additional information about the batch build phase. Especially to help * troubleshoot a failed batch build.
*/ inline BuildBatchPhase& AddContexts(PhaseContext&& value) { m_contextsHasBeenSet = true; m_contexts.push_back(std::move(value)); return *this; } private: BuildBatchPhaseType 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