7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildPhaseType.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>
117 inline void SetDurationInSeconds(
long long value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
138 bool m_phaseTypeHasBeenSet =
false;
141 bool m_phaseStatusHasBeenSet =
false;
144 bool m_startTimeHasBeenSet =
false;
147 bool m_endTimeHasBeenSet =
false;
149 long long m_durationInSeconds;
150 bool m_durationInSecondsHasBeenSet =
false;
153 bool m_contextsHasBeenSet =
false;
void SetEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetPhaseStatus(StatusType &&value)
const Aws::Vector< PhaseContext > & GetContexts() const
BuildPhase & WithEndTime(const Aws::Utils::DateTime &value)
const StatusType & GetPhaseStatus() const
bool StartTimeHasBeenSet() const
void SetDurationInSeconds(long long value)
bool PhaseStatusHasBeenSet() const
void SetPhaseStatus(const StatusType &value)
BuildPhase & WithPhaseType(const BuildPhaseType &value)
AWS_CODEBUILD_API BuildPhase(Aws::Utils::Json::JsonView jsonValue)
BuildPhase & WithContexts(const Aws::Vector< PhaseContext > &value)
void SetContexts(const Aws::Vector< PhaseContext > &value)
BuildPhase & WithDurationInSeconds(long long value)
AWS_CODEBUILD_API BuildPhase()
bool EndTimeHasBeenSet() const
BuildPhase & WithStartTime(const Aws::Utils::DateTime &value)
BuildPhase & WithStartTime(Aws::Utils::DateTime &&value)
BuildPhase & WithPhaseType(BuildPhaseType &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetPhaseType(BuildPhaseType &&value)
BuildPhase & AddContexts(const PhaseContext &value)
void SetPhaseType(const BuildPhaseType &value)
const BuildPhaseType & GetPhaseType() const
AWS_CODEBUILD_API BuildPhase & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetDurationInSeconds() const
bool PhaseTypeHasBeenSet() const
bool DurationInSecondsHasBeenSet() const
BuildPhase & WithPhaseStatus(const StatusType &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetContexts(Aws::Vector< PhaseContext > &&value)
bool ContextsHasBeenSet() const
BuildPhase & WithPhaseStatus(StatusType &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
BuildPhase & AddContexts(PhaseContext &&value)
BuildPhase & WithContexts(Aws::Vector< PhaseContext > &&value)
const Aws::Utils::DateTime & GetStartTime() const
BuildPhase & WithEndTime(Aws::Utils::DateTime &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue