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/codebuild/model/CommandType.h>
11#include <aws/codebuild/model/LogsLocation.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename SandboxIdT = Aws::String>
62 void SetSandboxId(SandboxIdT&& value) { m_sandboxIdHasBeenSet =
true; m_sandboxId = std::forward<SandboxIdT>(value); }
63 template<
typename SandboxIdT = Aws::String>
74 template<
typename SubmitTimeT = Aws::Utils::DateTime>
75 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet =
true; m_submitTime = std::forward<SubmitTimeT>(value); }
76 template<
typename SubmitTimeT = Aws::Utils::DateTime>
87 template<
typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
89 template<
typename StartTimeT = Aws::Utils::DateTime>
99 template<
typename EndTimeT = Aws::Utils::DateTime>
100 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
101 template<
typename EndTimeT = Aws::Utils::DateTime>
111 template<
typename StatusT = Aws::String>
112 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
113 template<
typename StatusT = Aws::String>
123 template<
typename CommandT = Aws::String>
124 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
125 template<
typename CommandT = Aws::String>
145 template<
typename ExitCodeT = Aws::String>
146 void SetExitCode(ExitCodeT&& value) { m_exitCodeHasBeenSet =
true; m_exitCode = std::forward<ExitCodeT>(value); }
147 template<
typename ExitCodeT = Aws::String>
157 template<
typename StandardOutputContentT = Aws::String>
158 void SetStandardOutputContent(StandardOutputContentT&& value) { m_standardOutputContentHasBeenSet =
true; m_standardOutputContent = std::forward<StandardOutputContentT>(value); }
159 template<
typename StandardOutputContentT = Aws::String>
169 template<
typename StandardErrContentT = Aws::String>
170 void SetStandardErrContent(StandardErrContentT&& value) { m_standardErrContentHasBeenSet =
true; m_standardErrContent = std::forward<StandardErrContentT>(value); }
171 template<
typename StandardErrContentT = Aws::String>
179 template<
typename LogsT = LogsLocation>
180 void SetLogs(LogsT&& value) { m_logsHasBeenSet =
true; m_logs = std::forward<LogsT>(value); }
181 template<
typename LogsT = LogsLocation>
191 template<
typename SandboxArnT = Aws::String>
192 void SetSandboxArn(SandboxArnT&& value) { m_sandboxArnHasBeenSet =
true; m_sandboxArn = std::forward<SandboxArnT>(value); }
193 template<
typename SandboxArnT = Aws::String>
199 bool m_idHasBeenSet =
false;
202 bool m_sandboxIdHasBeenSet =
false;
205 bool m_submitTimeHasBeenSet =
false;
208 bool m_startTimeHasBeenSet =
false;
211 bool m_endTimeHasBeenSet =
false;
214 bool m_statusHasBeenSet =
false;
217 bool m_commandHasBeenSet =
false;
220 bool m_typeHasBeenSet =
false;
223 bool m_exitCodeHasBeenSet =
false;
226 bool m_standardOutputContentHasBeenSet =
false;
229 bool m_standardErrContentHasBeenSet =
false;
232 bool m_logsHasBeenSet =
false;
235 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