7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/LogsLocation.h>
9#include <aws/codebuild/model/NetworkInterface.h>
10#include <aws/codebuild/model/SandboxSessionPhase.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename StatusT = Aws::String>
65 m_statusHasBeenSet =
true;
66 m_status = std::forward<StatusT>(value);
68 template <
typename StatusT = Aws::String>
81 template <
typename StartTimeT = Aws::Utils::DateTime>
83 m_startTimeHasBeenSet =
true;
84 m_startTime = std::forward<StartTimeT>(value);
86 template <
typename StartTimeT = Aws::Utils::DateTime>
99 template <
typename EndTimeT = Aws::Utils::DateTime>
101 m_endTimeHasBeenSet =
true;
102 m_endTime = std::forward<EndTimeT>(value);
104 template <
typename EndTimeT = Aws::Utils::DateTime>
117 template <
typename CurrentPhaseT = Aws::String>
119 m_currentPhaseHasBeenSet =
true;
120 m_currentPhase = std::forward<CurrentPhaseT>(value);
122 template <
typename CurrentPhaseT = Aws::String>
135 template <
typename PhasesT = Aws::Vector<SandboxSessionPhase>>
137 m_phasesHasBeenSet =
true;
138 m_phases = std::forward<PhasesT>(value);
140 template <
typename PhasesT = Aws::Vector<SandboxSessionPhase>>
145 template <
typename PhasesT = SandboxSessionPhase>
147 m_phasesHasBeenSet =
true;
148 m_phases.emplace_back(std::forward<PhasesT>(value));
159 template <
typename ResolvedSourceVersionT = Aws::String>
161 m_resolvedSourceVersionHasBeenSet =
true;
162 m_resolvedSourceVersion = std::forward<ResolvedSourceVersionT>(value);
164 template <
typename ResolvedSourceVersionT = Aws::String>
175 template <
typename LogsT = LogsLocation>
177 m_logsHasBeenSet =
true;
178 m_logs = std::forward<LogsT>(value);
180 template <
typename LogsT = LogsLocation>
182 SetLogs(std::forward<LogsT>(value));
191 template <
typename NetworkInterfaceT = NetworkInterface>
193 m_networkInterfaceHasBeenSet =
true;
194 m_networkInterface = std::forward<NetworkInterfaceT>(value);
196 template <
typename NetworkInterfaceT = NetworkInterface>
219 NetworkInterface m_networkInterface;
220 bool m_idHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
222 bool m_startTimeHasBeenSet =
false;
223 bool m_endTimeHasBeenSet =
false;
224 bool m_currentPhaseHasBeenSet =
false;
225 bool m_phasesHasBeenSet =
false;
226 bool m_resolvedSourceVersionHasBeenSet =
false;
227 bool m_logsHasBeenSet =
false;
228 bool m_networkInterfaceHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetId() const
SandboxSession & WithPhases(PhasesT &&value)
SandboxSession & WithLogs(LogsT &&value)
AWS_CODEBUILD_API SandboxSession & operator=(Aws::Utils::Json::JsonView jsonValue)
SandboxSession & WithNetworkInterface(NetworkInterfaceT &&value)
void SetCurrentPhase(CurrentPhaseT &&value)
void SetNetworkInterface(NetworkInterfaceT &&value)
void SetLogs(LogsT &&value)
void SetStatus(StatusT &&value)
SandboxSession & WithStartTime(StartTimeT &&value)
const LogsLocation & GetLogs() const
const Aws::String & GetResolvedSourceVersion() const
SandboxSession & WithStatus(StatusT &&value)
bool EndTimeHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetPhases(PhasesT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
const Aws::String & GetStatus() const
const Aws::Vector< SandboxSessionPhase > & GetPhases() const
AWS_CODEBUILD_API SandboxSession()=default
bool CurrentPhaseHasBeenSet() const
void SetEndTime(EndTimeT &&value)
bool ResolvedSourceVersionHasBeenSet() const
SandboxSession & WithCurrentPhase(CurrentPhaseT &&value)
const Aws::String & GetCurrentPhase() const
SandboxSession & WithEndTime(EndTimeT &&value)
void SetResolvedSourceVersion(ResolvedSourceVersionT &&value)
const NetworkInterface & GetNetworkInterface() const
bool LogsHasBeenSet() const
AWS_CODEBUILD_API SandboxSession(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
SandboxSession & WithId(IdT &&value)
bool NetworkInterfaceHasBeenSet() const
SandboxSession & WithResolvedSourceVersion(ResolvedSourceVersionT &&value)
bool PhasesHasBeenSet() const
SandboxSession & AddPhases(PhasesT &&value)
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue