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/devicefarm/model/DevicePlatform.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/devicefarm/model/ExecutionStatus.h>
13#include <aws/devicefarm/model/ExecutionResult.h>
14#include <aws/devicefarm/model/Counters.h>
15#include <aws/devicefarm/model/BillingMethod.h>
16#include <aws/devicefarm/model/DeviceMinutes.h>
17#include <aws/devicefarm/model/NetworkProfile.h>
18#include <aws/devicefarm/model/DeviceProxy.h>
19#include <aws/devicefarm/model/ExecutionResultCode.h>
20#include <aws/devicefarm/model/Radios.h>
21#include <aws/devicefarm/model/Location.h>
22#include <aws/devicefarm/model/CustomerArtifactPaths.h>
23#include <aws/devicefarm/model/DeviceSelectionResult.h>
24#include <aws/devicefarm/model/VpcConfig.h>
51 AWS_DEVICEFARM_API
Run() =
default;
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
115 template<
typename CreatedT = Aws::Utils::DateTime>
116 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
117 template<
typename CreatedT = Aws::Utils::DateTime>
154 template<
typename StartedT = Aws::Utils::DateTime>
155 void SetStarted(StartedT&& value) { m_startedHasBeenSet =
true; m_started = std::forward<StartedT>(value); }
156 template<
typename StartedT = Aws::Utils::DateTime>
166 template<
typename StoppedT = Aws::Utils::DateTime>
167 void SetStopped(StoppedT&& value) { m_stoppedHasBeenSet =
true; m_stopped = std::forward<StoppedT>(value); }
168 template<
typename StoppedT = Aws::Utils::DateTime>
178 template<
typename CountersT = Counters>
179 void SetCounters(CountersT&& value) { m_countersHasBeenSet =
true; m_counters = std::forward<CountersT>(value); }
180 template<
typename CountersT = Counters>
190 template<
typename MessageT = Aws::String>
191 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
192 template<
typename MessageT = Aws::String>
202 inline void SetTotalJobs(
int value) { m_totalJobsHasBeenSet =
true; m_totalJobs = value; }
212 inline void SetCompletedJobs(
int value) { m_completedJobsHasBeenSet =
true; m_completedJobs = value; }
236 template<
typename DeviceMinutesT = DeviceMinutes>
237 void SetDeviceMinutes(DeviceMinutesT&& value) { m_deviceMinutesHasBeenSet =
true; m_deviceMinutes = std::forward<DeviceMinutesT>(value); }
238 template<
typename DeviceMinutesT = DeviceMinutes>
248 template<
typename NetworkProfileT = NetworkProfile>
249 void SetNetworkProfile(NetworkProfileT&& value) { m_networkProfileHasBeenSet =
true; m_networkProfile = std::forward<NetworkProfileT>(value); }
250 template<
typename NetworkProfileT = NetworkProfile>
260 template<
typename DeviceProxyT = DeviceProxy>
261 void SetDeviceProxy(DeviceProxyT&& value) { m_deviceProxyHasBeenSet =
true; m_deviceProxy = std::forward<DeviceProxyT>(value); }
262 template<
typename DeviceProxyT = DeviceProxy>
274 template<
typename ParsingResultUrlT = Aws::String>
275 void SetParsingResultUrl(ParsingResultUrlT&& value) { m_parsingResultUrlHasBeenSet =
true; m_parsingResultUrl = std::forward<ParsingResultUrlT>(value); }
276 template<
typename ParsingResultUrlT = Aws::String>
299 inline void SetSeed(
int value) { m_seedHasBeenSet =
true; m_seed = value; }
309 template<
typename AppUploadT = Aws::String>
310 void SetAppUpload(AppUploadT&& value) { m_appUploadHasBeenSet =
true; m_appUpload = std::forward<AppUploadT>(value); }
311 template<
typename AppUploadT = Aws::String>
322 inline void SetEventCount(
int value) { m_eventCountHasBeenSet =
true; m_eventCount = value; }
332 inline void SetJobTimeoutMinutes(
int value) { m_jobTimeoutMinutesHasBeenSet =
true; m_jobTimeoutMinutes = value; }
342 template<
typename DevicePoolArnT = Aws::String>
343 void SetDevicePoolArn(DevicePoolArnT&& value) { m_devicePoolArnHasBeenSet =
true; m_devicePoolArn = std::forward<DevicePoolArnT>(value); }
344 template<
typename DevicePoolArnT = Aws::String>
354 template<
typename LocaleT = Aws::String>
355 void SetLocale(LocaleT&& value) { m_localeHasBeenSet =
true; m_locale = std::forward<LocaleT>(value); }
356 template<
typename LocaleT = Aws::String>
366 template<
typename RadiosT = Radios>
367 void SetRadios(RadiosT&& value) { m_radiosHasBeenSet =
true; m_radios = std::forward<RadiosT>(value); }
368 template<
typename RadiosT = Radios>
378 template<
typename LocationT = Location>
379 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
380 template<
typename LocationT = Location>
390 template<
typename CustomerArtifactPathsT = CustomerArtifactPaths>
391 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) { m_customerArtifactPathsHasBeenSet =
true; m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value); }
392 template<
typename CustomerArtifactPathsT = CustomerArtifactPaths>
402 template<
typename WebUrlT = Aws::String>
403 void SetWebUrl(WebUrlT&& value) { m_webUrlHasBeenSet =
true; m_webUrl = std::forward<WebUrlT>(value); }
404 template<
typename WebUrlT = Aws::String>
418 inline void SetSkipAppResign(
bool value) { m_skipAppResignHasBeenSet =
true; m_skipAppResign = value; }
428 template<
typename TestSpecArnT = Aws::String>
429 void SetTestSpecArn(TestSpecArnT&& value) { m_testSpecArnHasBeenSet =
true; m_testSpecArn = std::forward<TestSpecArnT>(value); }
430 template<
typename TestSpecArnT = Aws::String>
440 template<
typename DeviceSelectionResultT = DeviceSelectionResult>
441 void SetDeviceSelectionResult(DeviceSelectionResultT&& value) { m_deviceSelectionResultHasBeenSet =
true; m_deviceSelectionResult = std::forward<DeviceSelectionResultT>(value); }
442 template<
typename DeviceSelectionResultT = DeviceSelectionResult>
452 template<
typename VpcConfigT = VpcConfig>
453 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
454 template<
typename VpcConfigT = VpcConfig>
460 bool m_arnHasBeenSet =
false;
463 bool m_nameHasBeenSet =
false;
466 bool m_typeHasBeenSet =
false;
469 bool m_platformHasBeenSet =
false;
472 bool m_createdHasBeenSet =
false;
475 bool m_statusHasBeenSet =
false;
478 bool m_resultHasBeenSet =
false;
481 bool m_startedHasBeenSet =
false;
484 bool m_stoppedHasBeenSet =
false;
487 bool m_countersHasBeenSet =
false;
490 bool m_messageHasBeenSet =
false;
493 bool m_totalJobsHasBeenSet =
false;
495 int m_completedJobs{0};
496 bool m_completedJobsHasBeenSet =
false;
499 bool m_billingMethodHasBeenSet =
false;
501 DeviceMinutes m_deviceMinutes;
502 bool m_deviceMinutesHasBeenSet =
false;
504 NetworkProfile m_networkProfile;
505 bool m_networkProfileHasBeenSet =
false;
507 DeviceProxy m_deviceProxy;
508 bool m_deviceProxyHasBeenSet =
false;
511 bool m_parsingResultUrlHasBeenSet =
false;
514 bool m_resultCodeHasBeenSet =
false;
517 bool m_seedHasBeenSet =
false;
520 bool m_appUploadHasBeenSet =
false;
523 bool m_eventCountHasBeenSet =
false;
525 int m_jobTimeoutMinutes{0};
526 bool m_jobTimeoutMinutesHasBeenSet =
false;
529 bool m_devicePoolArnHasBeenSet =
false;
532 bool m_localeHasBeenSet =
false;
535 bool m_radiosHasBeenSet =
false;
538 bool m_locationHasBeenSet =
false;
540 CustomerArtifactPaths m_customerArtifactPaths;
541 bool m_customerArtifactPathsHasBeenSet =
false;
544 bool m_webUrlHasBeenSet =
false;
546 bool m_skipAppResign{
false};
547 bool m_skipAppResignHasBeenSet =
false;
550 bool m_testSpecArnHasBeenSet =
false;
552 DeviceSelectionResult m_deviceSelectionResult;
553 bool m_deviceSelectionResultHasBeenSet =
false;
555 VpcConfig m_vpcConfig;
556 bool m_vpcConfigHasBeenSet =
false;
Run & WithWebUrl(WebUrlT &&value)
Run & WithArn(ArnT &&value)
Run & WithStopped(StoppedT &&value)
void SetLocation(LocationT &&value)
bool CountersHasBeenSet() const
void SetResult(ExecutionResult value)
void SetPlatform(DevicePlatform value)
void SetCustomerArtifactPaths(CustomerArtifactPathsT &&value)
void SetNetworkProfile(NetworkProfileT &&value)
AWS_DEVICEFARM_API Run & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BillingMethodHasBeenSet() const
const Aws::String & GetDevicePoolArn() const
const Aws::String & GetLocale() const
const Aws::String & GetMessage() const
bool DeviceMinutesHasBeenSet() const
Run & WithLocation(LocationT &&value)
void SetVpcConfig(VpcConfigT &&value)
int GetCompletedJobs() const
const Aws::String & GetParsingResultUrl() const
bool LocaleHasBeenSet() const
Run & WithAppUpload(AppUploadT &&value)
bool StoppedHasBeenSet() const
void SetWebUrl(WebUrlT &&value)
bool AppUploadHasBeenSet() const
int GetJobTimeoutMinutes() const
bool ParsingResultUrlHasBeenSet() const
void SetName(NameT &&value)
void SetStopped(StoppedT &&value)
void SetResultCode(ExecutionResultCode value)
bool WebUrlHasBeenSet() const
void SetDeviceMinutes(DeviceMinutesT &&value)
void SetMessage(MessageT &&value)
Run & WithType(TestType value)
void SetAppUpload(AppUploadT &&value)
Run & WithCompletedJobs(int value)
void SetTotalJobs(int value)
bool SeedHasBeenSet() const
void SetType(TestType value)
Run & WithSkipAppResign(bool value)
bool CreatedHasBeenSet() const
Run & WithJobTimeoutMinutes(int value)
const Aws::String & GetTestSpecArn() const
Run & WithTestSpecArn(TestSpecArnT &&value)
Run & WithResult(ExecutionResult value)
bool DevicePoolArnHasBeenSet() const
bool TestSpecArnHasBeenSet() const
Run & WithMessage(MessageT &&value)
Run & WithTotalJobs(int value)
Run & WithBillingMethod(BillingMethod value)
void SetSkipAppResign(bool value)
void SetLocale(LocaleT &&value)
Run & WithCounters(CountersT &&value)
const Radios & GetRadios() const
bool ArnHasBeenSet() const
bool LocationHasBeenSet() const
const VpcConfig & GetVpcConfig() const
int GetEventCount() const
bool SkipAppResignHasBeenSet() const
Run & WithRadios(RadiosT &&value)
Run & WithResultCode(ExecutionResultCode value)
Run & WithEventCount(int value)
bool TypeHasBeenSet() const
bool StatusHasBeenSet() const
bool NetworkProfileHasBeenSet() const
void SetJobTimeoutMinutes(int value)
const Aws::String & GetWebUrl() const
bool CustomerArtifactPathsHasBeenSet() const
Run & WithCustomerArtifactPaths(CustomerArtifactPathsT &&value)
Run & WithNetworkProfile(NetworkProfileT &&value)
DevicePlatform GetPlatform() const
Run & WithStatus(ExecutionStatus value)
Run & WithVpcConfig(VpcConfigT &&value)
BillingMethod GetBillingMethod() const
bool RadiosHasBeenSet() const
bool EventCountHasBeenSet() const
const DeviceSelectionResult & GetDeviceSelectionResult() const
bool ResultCodeHasBeenSet() const
const Aws::String & GetName() const
Run & WithDevicePoolArn(DevicePoolArnT &&value)
void SetDeviceSelectionResult(DeviceSelectionResultT &&value)
Run & WithCreated(CreatedT &&value)
Run & WithDeviceSelectionResult(DeviceSelectionResultT &&value)
AWS_DEVICEFARM_API Run()=default
bool NameHasBeenSet() const
bool CompletedJobsHasBeenSet() const
const Aws::Utils::DateTime & GetCreated() const
void SetStatus(ExecutionStatus value)
Run & WithStarted(StartedT &&value)
const Counters & GetCounters() const
void SetBillingMethod(BillingMethod value)
bool JobTimeoutMinutesHasBeenSet() const
void SetEventCount(int value)
bool DeviceProxyHasBeenSet() const
bool PlatformHasBeenSet() const
Run & WithDeviceProxy(DeviceProxyT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
const DeviceMinutes & GetDeviceMinutes() const
bool MessageHasBeenSet() const
const Aws::String & GetAppUpload() const
ExecutionResult GetResult() const
bool GetSkipAppResign() const
void SetDeviceProxy(DeviceProxyT &&value)
void SetStarted(StartedT &&value)
void SetCounters(CountersT &&value)
ExecutionStatus GetStatus() const
Run & WithDeviceMinutes(DeviceMinutesT &&value)
const Aws::Utils::DateTime & GetStopped() const
Run & WithSeed(int value)
void SetArn(ArnT &&value)
void SetCompletedJobs(int value)
AWS_DEVICEFARM_API Run(Aws::Utils::Json::JsonView jsonValue)
bool VpcConfigHasBeenSet() const
const CustomerArtifactPaths & GetCustomerArtifactPaths() const
bool ResultHasBeenSet() const
const Location & GetLocation() const
const DeviceProxy & GetDeviceProxy() const
ExecutionResultCode GetResultCode() const
void SetCreated(CreatedT &&value)
void SetTestSpecArn(TestSpecArnT &&value)
Run & WithName(NameT &&value)
Run & WithPlatform(DevicePlatform value)
bool TotalJobsHasBeenSet() const
Run & WithLocale(LocaleT &&value)
bool StartedHasBeenSet() const
void SetRadios(RadiosT &&value)
void SetDevicePoolArn(DevicePoolArnT &&value)
Run & WithParsingResultUrl(ParsingResultUrlT &&value)
void SetParsingResultUrl(ParsingResultUrlT &&value)
const Aws::Utils::DateTime & GetStarted() const
bool DeviceSelectionResultHasBeenSet() const
const NetworkProfile & GetNetworkProfile() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue