7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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>
50 template<
typename PhaseTypeT = Aws::String>
51 void SetPhaseType(PhaseTypeT&& value) { m_phaseTypeHasBeenSet =
true; m_phaseType = std::forward<PhaseTypeT>(value); }
52 template<
typename PhaseTypeT = Aws::String>
77 template<
typename StartTimeT = Aws::Utils::DateTime>
78 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
79 template<
typename StartTimeT = Aws::Utils::DateTime>
89 template<
typename EndTimeT = Aws::Utils::DateTime>
90 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
91 template<
typename EndTimeT = Aws::Utils::DateTime>
102 inline void SetDurationInSeconds(
long long value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
112 template<
typename ContextsT = Aws::Vector<PhaseContext>>
113 void SetContexts(ContextsT&& value) { m_contextsHasBeenSet =
true; m_contexts = std::forward<ContextsT>(value); }
114 template<
typename ContextsT = Aws::Vector<PhaseContext>>
116 template<
typename ContextsT = PhaseContext>
122 bool m_phaseTypeHasBeenSet =
false;
125 bool m_phaseStatusHasBeenSet =
false;
128 bool m_startTimeHasBeenSet =
false;
131 bool m_endTimeHasBeenSet =
false;
133 long long m_durationInSeconds{0};
134 bool m_durationInSecondsHasBeenSet =
false;
137 bool m_contextsHasBeenSet =
false;
AWS_CODEBUILD_API SandboxSessionPhase()=default
SandboxSessionPhase & AddContexts(ContextsT &&value)
bool StartTimeHasBeenSet() const
SandboxSessionPhase & WithEndTime(EndTimeT &&value)
void SetContexts(ContextsT &&value)
void SetStartTime(StartTimeT &&value)
bool EndTimeHasBeenSet() const
StatusType GetPhaseStatus() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
SandboxSessionPhase & WithPhaseType(PhaseTypeT &&value)
AWS_CODEBUILD_API SandboxSessionPhase(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(EndTimeT &&value)
SandboxSessionPhase & WithStartTime(StartTimeT &&value)
void SetDurationInSeconds(long long value)
bool PhaseStatusHasBeenSet() const
AWS_CODEBUILD_API SandboxSessionPhase & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetDurationInSeconds() const
bool PhaseTypeHasBeenSet() const
SandboxSessionPhase & WithContexts(ContextsT &&value)
void SetPhaseStatus(StatusType value)
const Aws::Vector< PhaseContext > & GetContexts() const
const Aws::String & GetPhaseType() const
bool ContextsHasBeenSet() const
bool DurationInSecondsHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
SandboxSessionPhase & WithPhaseStatus(StatusType value)
void SetPhaseType(PhaseTypeT &&value)
SandboxSessionPhase & WithDurationInSeconds(long long 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