7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/LogsLocation.h>
12#include <aws/codebuild/model/NetworkInterface.h>
13#include <aws/codebuild/model/SandboxSessionPhase.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename StatusT = Aws::String>
64 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
65 template<
typename StatusT = Aws::String>
75 template<
typename StartTimeT = Aws::Utils::DateTime>
76 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
77 template<
typename StartTimeT = Aws::Utils::DateTime>
87 template<
typename EndTimeT = Aws::Utils::DateTime>
88 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
89 template<
typename EndTimeT = Aws::Utils::DateTime>
99 template<
typename CurrentPhaseT = Aws::String>
100 void SetCurrentPhase(CurrentPhaseT&& value) { m_currentPhaseHasBeenSet =
true; m_currentPhase = std::forward<CurrentPhaseT>(value); }
101 template<
typename CurrentPhaseT = Aws::String>
111 template<
typename PhasesT = Aws::Vector<SandboxSessionPhase>>
112 void SetPhases(PhasesT&& value) { m_phasesHasBeenSet =
true; m_phases = std::forward<PhasesT>(value); }
113 template<
typename PhasesT = Aws::Vector<SandboxSessionPhase>>
115 template<
typename PhasesT = SandboxSessionPhase>
116 SandboxSession&
AddPhases(PhasesT&& value) { m_phasesHasBeenSet =
true; m_phases.emplace_back(std::forward<PhasesT>(value));
return *
this; }
125 template<
typename ResolvedSourceVersionT = Aws::String>
126 void SetResolvedSourceVersion(ResolvedSourceVersionT&& value) { m_resolvedSourceVersionHasBeenSet =
true; m_resolvedSourceVersion = std::forward<ResolvedSourceVersionT>(value); }
127 template<
typename ResolvedSourceVersionT = Aws::String>
135 template<
typename LogsT = LogsLocation>
136 void SetLogs(LogsT&& value) { m_logsHasBeenSet =
true; m_logs = std::forward<LogsT>(value); }
137 template<
typename LogsT = LogsLocation>
145 template<
typename NetworkInterfaceT = NetworkInterface>
146 void SetNetworkInterface(NetworkInterfaceT&& value) { m_networkInterfaceHasBeenSet =
true; m_networkInterface = std::forward<NetworkInterfaceT>(value); }
147 template<
typename NetworkInterfaceT = NetworkInterface>
153 bool m_idHasBeenSet =
false;
156 bool m_statusHasBeenSet =
false;
159 bool m_startTimeHasBeenSet =
false;
162 bool m_endTimeHasBeenSet =
false;
165 bool m_currentPhaseHasBeenSet =
false;
168 bool m_phasesHasBeenSet =
false;
171 bool m_resolvedSourceVersionHasBeenSet =
false;
174 bool m_logsHasBeenSet =
false;
176 NetworkInterface m_networkInterface;
177 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