7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/TestType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/devicefarm/model/ExecutionStatus.h>
12#include <aws/devicefarm/model/ExecutionResult.h>
13#include <aws/devicefarm/model/Counters.h>
14#include <aws/devicefarm/model/Device.h>
15#include <aws/devicefarm/model/DeviceMinutes.h>
41 AWS_DEVICEFARM_API
Job() =
default;
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
94 template<
typename CreatedT = Aws::Utils::DateTime>
95 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
96 template<
typename CreatedT = Aws::Utils::DateTime>
133 template<
typename StartedT = Aws::Utils::DateTime>
134 void SetStarted(StartedT&& value) { m_startedHasBeenSet =
true; m_started = std::forward<StartedT>(value); }
135 template<
typename StartedT = Aws::Utils::DateTime>
145 template<
typename StoppedT = Aws::Utils::DateTime>
146 void SetStopped(StoppedT&& value) { m_stoppedHasBeenSet =
true; m_stopped = std::forward<StoppedT>(value); }
147 template<
typename StoppedT = Aws::Utils::DateTime>
157 template<
typename CountersT = Counters>
158 void SetCounters(CountersT&& value) { m_countersHasBeenSet =
true; m_counters = std::forward<CountersT>(value); }
159 template<
typename CountersT = Counters>
169 template<
typename MessageT = Aws::String>
170 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
171 template<
typename MessageT = Aws::String>
181 template<
typename DeviceT = Device>
182 void SetDevice(DeviceT&& value) { m_deviceHasBeenSet =
true; m_device = std::forward<DeviceT>(value); }
183 template<
typename DeviceT = Device>
193 template<
typename InstanceArnT = Aws::String>
194 void SetInstanceArn(InstanceArnT&& value) { m_instanceArnHasBeenSet =
true; m_instanceArn = std::forward<InstanceArnT>(value); }
195 template<
typename InstanceArnT = Aws::String>
205 template<
typename DeviceMinutesT = DeviceMinutes>
206 void SetDeviceMinutes(DeviceMinutesT&& value) { m_deviceMinutesHasBeenSet =
true; m_deviceMinutes = std::forward<DeviceMinutesT>(value); }
207 template<
typename DeviceMinutesT = DeviceMinutes>
217 template<
typename V
ideoEndpo
intT = Aws::String>
218 void SetVideoEndpoint(VideoEndpointT&& value) { m_videoEndpointHasBeenSet =
true; m_videoEndpoint = std::forward<VideoEndpointT>(value); }
219 template<
typename V
ideoEndpo
intT = Aws::String>
230 inline void SetVideoCapture(
bool value) { m_videoCaptureHasBeenSet =
true; m_videoCapture = value; }
236 bool m_arnHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
245 bool m_createdHasBeenSet =
false;
248 bool m_statusHasBeenSet =
false;
251 bool m_resultHasBeenSet =
false;
254 bool m_startedHasBeenSet =
false;
257 bool m_stoppedHasBeenSet =
false;
260 bool m_countersHasBeenSet =
false;
263 bool m_messageHasBeenSet =
false;
266 bool m_deviceHasBeenSet =
false;
269 bool m_instanceArnHasBeenSet =
false;
271 DeviceMinutes m_deviceMinutes;
272 bool m_deviceMinutesHasBeenSet =
false;
275 bool m_videoEndpointHasBeenSet =
false;
277 bool m_videoCapture{
false};
278 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