7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/PhaseContext.h>
9#include <aws/codebuild/model/StatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename PhaseTypeT = Aws::String>
46 m_phaseTypeHasBeenSet =
true;
47 m_phaseType = std::forward<PhaseTypeT>(value);
49 template <
typename PhaseTypeT = Aws::String>
68 m_phaseStatusHasBeenSet =
true;
69 m_phaseStatus = value;
83 template <
typename StartTimeT = Aws::Utils::DateTime>
85 m_startTimeHasBeenSet =
true;
86 m_startTime = std::forward<StartTimeT>(value);
88 template <
typename StartTimeT = Aws::Utils::DateTime>
101 template <
typename EndTimeT = Aws::Utils::DateTime>
103 m_endTimeHasBeenSet =
true;
104 m_endTime = std::forward<EndTimeT>(value);
106 template <
typename EndTimeT = Aws::Utils::DateTime>
121 m_durationInSecondsHasBeenSet =
true;
122 m_durationInSeconds = value;
136 template <
typename ContextsT = Aws::Vector<PhaseContext>>
138 m_contextsHasBeenSet =
true;
139 m_contexts = std::forward<ContextsT>(value);
141 template <
typename ContextsT = Aws::Vector<PhaseContext>>
146 template <
typename ContextsT = PhaseContext>
148 m_contextsHasBeenSet =
true;
149 m_contexts.emplace_back(std::forward<ContextsT>(value));
162 long long m_durationInSeconds{0};
165 bool m_phaseTypeHasBeenSet =
false;
166 bool m_phaseStatusHasBeenSet =
false;
167 bool m_startTimeHasBeenSet =
false;
168 bool m_endTimeHasBeenSet =
false;
169 bool m_durationInSecondsHasBeenSet =
false;
170 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