7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/Counters.h>
11#include <aws/devicefarm/model/Device.h>
12#include <aws/devicefarm/model/DeviceMinutes.h>
13#include <aws/devicefarm/model/ExecutionResult.h>
14#include <aws/devicefarm/model/ExecutionStatus.h>
15#include <aws/devicefarm/model/JobInsights.h>
16#include <aws/devicefarm/model/TestType.h>
37 AWS_DEVICEFARM_API
Job() =
default;
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
92 m_typeHasBeenSet =
true;
107 template <
typename CreatedT = Aws::Utils::DateTime>
109 m_createdHasBeenSet =
true;
110 m_created = std::forward<CreatedT>(value);
112 template <
typename CreatedT = Aws::Utils::DateTime>
130 m_statusHasBeenSet =
true;
149 m_resultHasBeenSet =
true;
164 template <
typename StartedT = Aws::Utils::DateTime>
166 m_startedHasBeenSet =
true;
167 m_started = std::forward<StartedT>(value);
169 template <
typename StartedT = Aws::Utils::DateTime>
182 template <
typename StoppedT = Aws::Utils::DateTime>
184 m_stoppedHasBeenSet =
true;
185 m_stopped = std::forward<StoppedT>(value);
187 template <
typename StoppedT = Aws::Utils::DateTime>
200 template <
typename CountersT = Counters>
202 m_countersHasBeenSet =
true;
203 m_counters = std::forward<CountersT>(value);
205 template <
typename CountersT = Counters>
218 template <
typename MessageT = Aws::String>
220 m_messageHasBeenSet =
true;
221 m_message = std::forward<MessageT>(value);
223 template <
typename MessageT = Aws::String>
236 template <
typename DeviceT = Device>
238 m_deviceHasBeenSet =
true;
239 m_device = std::forward<DeviceT>(value);
241 template <
typename DeviceT = Device>
254 template <
typename InstanceArnT = Aws::String>
256 m_instanceArnHasBeenSet =
true;
257 m_instanceArn = std::forward<InstanceArnT>(value);
259 template <
typename InstanceArnT = Aws::String>
272 template <
typename DeviceMinutesT = DeviceMinutes>
274 m_deviceMinutesHasBeenSet =
true;
275 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
277 template <
typename DeviceMinutesT = DeviceMinutes>
290 template <
typename V
ideoEndpo
intT = Aws::String>
292 m_videoEndpointHasBeenSet =
true;
293 m_videoEndpoint = std::forward<VideoEndpointT>(value);
295 template <
typename V
ideoEndpo
intT = Aws::String>
310 m_videoCaptureHasBeenSet =
true;
311 m_videoCapture = value;
327 template <
typename InsightsT = JobInsights>
329 m_insightsHasBeenSet =
true;
330 m_insights = std::forward<InsightsT>(value);
332 template <
typename InsightsT = JobInsights>
363 DeviceMinutes m_deviceMinutes;
367 bool m_videoCapture{
false};
369 JobInsights m_insights;
370 bool m_arnHasBeenSet =
false;
371 bool m_nameHasBeenSet =
false;
372 bool m_typeHasBeenSet =
false;
373 bool m_createdHasBeenSet =
false;
374 bool m_statusHasBeenSet =
false;
375 bool m_resultHasBeenSet =
false;
376 bool m_startedHasBeenSet =
false;
377 bool m_stoppedHasBeenSet =
false;
378 bool m_countersHasBeenSet =
false;
379 bool m_messageHasBeenSet =
false;
380 bool m_deviceHasBeenSet =
false;
381 bool m_instanceArnHasBeenSet =
false;
382 bool m_deviceMinutesHasBeenSet =
false;
383 bool m_videoEndpointHasBeenSet =
false;
384 bool m_videoCaptureHasBeenSet =
false;
385 bool m_insightsHasBeenSet =
false;
bool DeviceMinutesHasBeenSet() const
void SetName(NameT &&value)
bool VideoEndpointHasBeenSet() const
const Counters & GetCounters() const
bool NameHasBeenSet() const
void SetResult(ExecutionResult value)
const Device & GetDevice() const
void SetArn(ArnT &&value)
void SetStatus(ExecutionStatus value)
Job & WithVideoEndpoint(VideoEndpointT &&value)
const Aws::String & GetVideoEndpoint() const
bool StartedHasBeenSet() const
bool StatusHasBeenSet() const
Job & WithName(NameT &&value)
void SetVideoCapture(bool value)
Job & WithResult(ExecutionResult value)
const Aws::String & GetInstanceArn() const
Job & WithCreated(CreatedT &&value)
Job & WithStatus(ExecutionStatus value)
AWS_DEVICEFARM_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceMinutes(DeviceMinutesT &&value)
bool CreatedHasBeenSet() const
Job & WithStopped(StoppedT &&value)
void SetStopped(StoppedT &&value)
void SetVideoEndpoint(VideoEndpointT &&value)
Job & WithInstanceArn(InstanceArnT &&value)
const Aws::String & GetMessage() const
Job & WithArn(ArnT &&value)
bool InsightsHasBeenSet() const
Job & WithType(TestType value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreated() const
bool TypeHasBeenSet() const
const Aws::String & GetName() const
bool CountersHasBeenSet() const
AWS_DEVICEFARM_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeviceHasBeenSet() const
void SetInsights(InsightsT &&value)
void SetDevice(DeviceT &&value)
bool ResultHasBeenSet() const
bool StoppedHasBeenSet() const
ExecutionResult GetResult() const
AWS_DEVICEFARM_API Job()=default
Job & WithMessage(MessageT &&value)
Job & WithDeviceMinutes(DeviceMinutesT &&value)
const JobInsights & GetInsights() const
Job & WithInsights(InsightsT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
bool GetVideoCapture() const
const Aws::String & GetArn() const
Job & WithVideoCapture(bool value)
bool VideoCaptureHasBeenSet() const
void SetStarted(StartedT &&value)
void SetType(TestType value)
const Aws::Utils::DateTime & GetStarted() const
void SetCounters(CountersT &&value)
Job & WithStarted(StartedT &&value)
void SetInstanceArn(InstanceArnT &&value)
void SetMessage(MessageT &&value)
bool InstanceArnHasBeenSet() const
ExecutionStatus GetStatus() const
Job & WithDevice(DeviceT &&value)
const Aws::Utils::DateTime & GetStopped() const
void SetCreated(CreatedT &&value)
const DeviceMinutes & GetDeviceMinutes() const
Job & WithCounters(CountersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue