7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildBatchPhaseType.h>
9#include <aws/codebuild/model/StatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codebuild/model/PhaseContext.h>
113 inline void SetDurationInSeconds(
long long value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
134 bool m_phaseTypeHasBeenSet =
false;
137 bool m_phaseStatusHasBeenSet =
false;
140 bool m_startTimeHasBeenSet =
false;
143 bool m_endTimeHasBeenSet =
false;
145 long long m_durationInSeconds;
146 bool m_durationInSecondsHasBeenSet =
false;
149 bool m_contextsHasBeenSet =
false;
bool PhaseTypeHasBeenSet() const
AWS_CODEBUILD_API BuildBatchPhase & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetDurationInSeconds() const
const Aws::Vector< PhaseContext > & GetContexts() const
const Aws::Utils::DateTime & GetEndTime() const
void SetContexts(const Aws::Vector< PhaseContext > &value)
BuildBatchPhase & WithPhaseType(const BuildBatchPhaseType &value)
void SetEndTime(const Aws::Utils::DateTime &value)
bool PhaseStatusHasBeenSet() const
BuildBatchPhase & WithEndTime(const Aws::Utils::DateTime &value)
bool ContextsHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
BuildBatchPhase & AddContexts(PhaseContext &&value)
void SetPhaseType(const BuildBatchPhaseType &value)
BuildBatchPhase & WithContexts(Aws::Vector< PhaseContext > &&value)
void SetDurationInSeconds(long long value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildBatchPhase & WithPhaseStatus(StatusType &&value)
AWS_CODEBUILD_API BuildBatchPhase(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
const BuildBatchPhaseType & GetPhaseType() const
BuildBatchPhase & AddContexts(const PhaseContext &value)
void SetPhaseStatus(const StatusType &value)
BuildBatchPhase & WithPhaseType(BuildBatchPhaseType &&value)
BuildBatchPhase & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetContexts(Aws::Vector< PhaseContext > &&value)
void SetPhaseStatus(StatusType &&value)
BuildBatchPhase & WithDurationInSeconds(long long value)
bool StartTimeHasBeenSet() const
BuildBatchPhase & WithEndTime(Aws::Utils::DateTime &&value)
BuildBatchPhase & WithStartTime(Aws::Utils::DateTime &&value)
bool EndTimeHasBeenSet() const
void SetPhaseType(BuildBatchPhaseType &&value)
const StatusType & GetPhaseStatus() const
bool DurationInSecondsHasBeenSet() const
BuildBatchPhase & WithContexts(const Aws::Vector< PhaseContext > &value)
AWS_CODEBUILD_API BuildBatchPhase()
BuildBatchPhase & WithPhaseStatus(const StatusType &value)
void SetStartTime(Aws::Utils::DateTime &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue