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/DeviceMinutes.h>
40 AWS_DEVICEFARM_API
Test() =
default;
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
93 template<
typename CreatedT = Aws::Utils::DateTime>
94 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
95 template<
typename CreatedT = Aws::Utils::DateTime>
132 template<
typename StartedT = Aws::Utils::DateTime>
133 void SetStarted(StartedT&& value) { m_startedHasBeenSet =
true; m_started = std::forward<StartedT>(value); }
134 template<
typename StartedT = Aws::Utils::DateTime>
144 template<
typename StoppedT = Aws::Utils::DateTime>
145 void SetStopped(StoppedT&& value) { m_stoppedHasBeenSet =
true; m_stopped = std::forward<StoppedT>(value); }
146 template<
typename StoppedT = Aws::Utils::DateTime>
156 template<
typename CountersT = Counters>
157 void SetCounters(CountersT&& value) { m_countersHasBeenSet =
true; m_counters = std::forward<CountersT>(value); }
158 template<
typename CountersT = Counters>
168 template<
typename MessageT = Aws::String>
169 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
170 template<
typename MessageT = Aws::String>
180 template<
typename DeviceMinutesT = DeviceMinutes>
181 void SetDeviceMinutes(DeviceMinutesT&& value) { m_deviceMinutesHasBeenSet =
true; m_deviceMinutes = std::forward<DeviceMinutesT>(value); }
182 template<
typename DeviceMinutesT = DeviceMinutes>
188 bool m_arnHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
194 bool m_typeHasBeenSet =
false;
197 bool m_createdHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
203 bool m_resultHasBeenSet =
false;
206 bool m_startedHasBeenSet =
false;
209 bool m_stoppedHasBeenSet =
false;
212 bool m_countersHasBeenSet =
false;
215 bool m_messageHasBeenSet =
false;
217 DeviceMinutes m_deviceMinutes;
218 bool m_deviceMinutesHasBeenSet =
false;
void SetResult(ExecutionResult value)
bool StartedHasBeenSet() const
bool StoppedHasBeenSet() const
void SetStatus(ExecutionStatus value)
void SetCreated(CreatedT &&value)
const Aws::String & GetName() const
Test & WithStatus(ExecutionStatus value)
bool StatusHasBeenSet() const
ExecutionStatus GetStatus() const
AWS_DEVICEFARM_API Test()=default
void SetType(TestType value)
void SetStopped(StoppedT &&value)
const Aws::String & GetArn() const
bool CountersHasBeenSet() const
void SetName(NameT &&value)
void SetDeviceMinutes(DeviceMinutesT &&value)
const DeviceMinutes & GetDeviceMinutes() const
bool ArnHasBeenSet() const
bool DeviceMinutesHasBeenSet() const
bool ResultHasBeenSet() const
Test & WithArn(ArnT &&value)
bool CreatedHasBeenSet() const
Test & WithDeviceMinutes(DeviceMinutesT &&value)
void SetArn(ArnT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
ExecutionResult GetResult() const
const Aws::Utils::DateTime & GetStopped() const
void SetCounters(CountersT &&value)
Test & WithResult(ExecutionResult value)
Test & WithMessage(MessageT &&value)
Test & WithCreated(CreatedT &&value)
bool NameHasBeenSet() const
AWS_DEVICEFARM_API Test & operator=(Aws::Utils::Json::JsonView jsonValue)
Test & WithStarted(StartedT &&value)
Test & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreated() const
const Aws::String & GetMessage() const
bool TypeHasBeenSet() const
void SetStarted(StartedT &&value)
const Aws::Utils::DateTime & GetStarted() const
Test & WithCounters(CountersT &&value)
bool MessageHasBeenSet() const
Test & WithStopped(StoppedT &&value)
AWS_DEVICEFARM_API Test(Aws::Utils::Json::JsonView jsonValue)
const Counters & GetCounters() const
Test & WithType(TestType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue