7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/CommandType.h>
9#include <aws/codebuild/model/LogsLocation.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename SandboxIdT = Aws::String>
63 m_sandboxIdHasBeenSet =
true;
64 m_sandboxId = std::forward<SandboxIdT>(value);
66 template <
typename SandboxIdT = Aws::String>
80 template <
typename SubmitTimeT = Aws::Utils::DateTime>
82 m_submitTimeHasBeenSet =
true;
83 m_submitTime = std::forward<SubmitTimeT>(value);
85 template <
typename SubmitTimeT = Aws::Utils::DateTime>
99 template <
typename StartTimeT = Aws::Utils::DateTime>
101 m_startTimeHasBeenSet =
true;
102 m_startTime = std::forward<StartTimeT>(value);
104 template <
typename StartTimeT = Aws::Utils::DateTime>
117 template <
typename EndTimeT = Aws::Utils::DateTime>
119 m_endTimeHasBeenSet =
true;
120 m_endTime = std::forward<EndTimeT>(value);
122 template <
typename EndTimeT = Aws::Utils::DateTime>
135 template <
typename StatusT = Aws::String>
137 m_statusHasBeenSet =
true;
138 m_status = std::forward<StatusT>(value);
140 template <
typename StatusT = Aws::String>
153 template <
typename CommandT = Aws::String>
155 m_commandHasBeenSet =
true;
156 m_command = std::forward<CommandT>(value);
158 template <
typename CommandT = Aws::String>
172 m_typeHasBeenSet =
true;
187 template <
typename ExitCodeT = Aws::String>
189 m_exitCodeHasBeenSet =
true;
190 m_exitCode = std::forward<ExitCodeT>(value);
192 template <
typename ExitCodeT = Aws::String>
205 template <
typename StandardOutputContentT = Aws::String>
207 m_standardOutputContentHasBeenSet =
true;
208 m_standardOutputContent = std::forward<StandardOutputContentT>(value);
210 template <
typename StandardOutputContentT = Aws::String>
223 template <
typename StandardErrContentT = Aws::String>
225 m_standardErrContentHasBeenSet =
true;
226 m_standardErrContent = std::forward<StandardErrContentT>(value);
228 template <
typename StandardErrContentT = Aws::String>
239 template <
typename LogsT = LogsLocation>
241 m_logsHasBeenSet =
true;
242 m_logs = std::forward<LogsT>(value);
244 template <
typename LogsT = LogsLocation>
246 SetLogs(std::forward<LogsT>(value));
257 template <
typename SandboxArnT = Aws::String>
259 m_sandboxArnHasBeenSet =
true;
260 m_sandboxArn = std::forward<SandboxArnT>(value);
262 template <
typename SandboxArnT = Aws::String>
294 bool m_idHasBeenSet =
false;
295 bool m_sandboxIdHasBeenSet =
false;
296 bool m_submitTimeHasBeenSet =
false;
297 bool m_startTimeHasBeenSet =
false;
298 bool m_endTimeHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
300 bool m_commandHasBeenSet =
false;
301 bool m_typeHasBeenSet =
false;
302 bool m_exitCodeHasBeenSet =
false;
303 bool m_standardOutputContentHasBeenSet =
false;
304 bool m_standardErrContentHasBeenSet =
false;
305 bool m_logsHasBeenSet =
false;
306 bool m_sandboxArnHasBeenSet =
false;
CommandExecution & WithStandardOutputContent(StandardOutputContentT &&value)
bool StatusHasBeenSet() const
CommandExecution & WithStandardErrContent(StandardErrContentT &&value)
bool SandboxArnHasBeenSet() const
const Aws::Utils::DateTime & GetSubmitTime() const
void SetStandardErrContent(StandardErrContentT &&value)
void SetSandboxArn(SandboxArnT &&value)
void SetCommand(CommandT &&value)
bool LogsHasBeenSet() const
const Aws::String & GetSandboxArn() const
const Aws::Utils::DateTime & GetEndTime() const
CommandExecution & WithType(CommandType value)
CommandExecution & WithStatus(StatusT &&value)
bool StartTimeHasBeenSet() const
void SetType(CommandType value)
bool ExitCodeHasBeenSet() const
CommandExecution & WithEndTime(EndTimeT &&value)
const Aws::String & GetCommand() const
void SetStartTime(StartTimeT &&value)
const Aws::String & GetSandboxId() const
CommandExecution & WithSubmitTime(SubmitTimeT &&value)
CommandExecution & WithStartTime(StartTimeT &&value)
const Aws::String & GetExitCode() const
void SetSandboxId(SandboxIdT &&value)
CommandExecution & WithExitCode(ExitCodeT &&value)
const Aws::String & GetStandardErrContent() const
const LogsLocation & GetLogs() const
bool IdHasBeenSet() const
const Aws::String & GetStatus() const
AWS_CODEBUILD_API CommandExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubmitTime(SubmitTimeT &&value)
const Aws::String & GetStandardOutputContent() const
AWS_CODEBUILD_API CommandExecution(Aws::Utils::Json::JsonView jsonValue)
void SetStandardOutputContent(StandardOutputContentT &&value)
CommandExecution & WithLogs(LogsT &&value)
bool CommandHasBeenSet() const
CommandExecution & WithSandboxArn(SandboxArnT &&value)
CommandExecution & WithId(IdT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogs(LogsT &&value)
CommandType GetType() const
bool SubmitTimeHasBeenSet() const
bool StandardOutputContentHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
bool TypeHasBeenSet() const
void SetExitCode(ExitCodeT &&value)
bool SandboxIdHasBeenSet() const
const Aws::String & GetId() const
CommandExecution & WithSandboxId(SandboxIdT &&value)
AWS_CODEBUILD_API CommandExecution()=default
CommandExecution & WithCommand(CommandT &&value)
void SetStatus(StatusT &&value)
void SetEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
bool StandardErrContentHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue