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/TestType.h>
36 AWS_DEVICEFARM_API
Job() =
default;
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
91 m_typeHasBeenSet =
true;
106 template <
typename CreatedT = Aws::Utils::DateTime>
108 m_createdHasBeenSet =
true;
109 m_created = std::forward<CreatedT>(value);
111 template <
typename CreatedT = Aws::Utils::DateTime>
129 m_statusHasBeenSet =
true;
148 m_resultHasBeenSet =
true;
163 template <
typename StartedT = Aws::Utils::DateTime>
165 m_startedHasBeenSet =
true;
166 m_started = std::forward<StartedT>(value);
168 template <
typename StartedT = Aws::Utils::DateTime>
181 template <
typename StoppedT = Aws::Utils::DateTime>
183 m_stoppedHasBeenSet =
true;
184 m_stopped = std::forward<StoppedT>(value);
186 template <
typename StoppedT = Aws::Utils::DateTime>
199 template <
typename CountersT = Counters>
201 m_countersHasBeenSet =
true;
202 m_counters = std::forward<CountersT>(value);
204 template <
typename CountersT = Counters>
217 template <
typename MessageT = Aws::String>
219 m_messageHasBeenSet =
true;
220 m_message = std::forward<MessageT>(value);
222 template <
typename MessageT = Aws::String>
235 template <
typename DeviceT = Device>
237 m_deviceHasBeenSet =
true;
238 m_device = std::forward<DeviceT>(value);
240 template <
typename DeviceT = Device>
253 template <
typename InstanceArnT = Aws::String>
255 m_instanceArnHasBeenSet =
true;
256 m_instanceArn = std::forward<InstanceArnT>(value);
258 template <
typename InstanceArnT = Aws::String>
271 template <
typename DeviceMinutesT = DeviceMinutes>
273 m_deviceMinutesHasBeenSet =
true;
274 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
276 template <
typename DeviceMinutesT = DeviceMinutes>
289 template <
typename V
ideoEndpo
intT = Aws::String>
291 m_videoEndpointHasBeenSet =
true;
292 m_videoEndpoint = std::forward<VideoEndpointT>(value);
294 template <
typename V
ideoEndpo
intT = Aws::String>
309 m_videoCaptureHasBeenSet =
true;
310 m_videoCapture = value;
342 DeviceMinutes m_deviceMinutes;
346 bool m_videoCapture{
false};
347 bool m_arnHasBeenSet =
false;
348 bool m_nameHasBeenSet =
false;
349 bool m_typeHasBeenSet =
false;
350 bool m_createdHasBeenSet =
false;
351 bool m_statusHasBeenSet =
false;
352 bool m_resultHasBeenSet =
false;
353 bool m_startedHasBeenSet =
false;
354 bool m_stoppedHasBeenSet =
false;
355 bool m_countersHasBeenSet =
false;
356 bool m_messageHasBeenSet =
false;
357 bool m_deviceHasBeenSet =
false;
358 bool m_instanceArnHasBeenSet =
false;
359 bool m_deviceMinutesHasBeenSet =
false;
360 bool m_videoEndpointHasBeenSet =
false;
361 bool m_videoCaptureHasBeenSet =
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)
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 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)
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