7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
11#include <aws/devicefarm/model/BillingMethod.h>
12#include <aws/devicefarm/model/Counters.h>
13#include <aws/devicefarm/model/CustomerArtifactPaths.h>
14#include <aws/devicefarm/model/DeviceMinutes.h>
15#include <aws/devicefarm/model/DevicePlatform.h>
16#include <aws/devicefarm/model/DeviceProxy.h>
17#include <aws/devicefarm/model/DeviceSelectionResult.h>
18#include <aws/devicefarm/model/EnvironmentVariable.h>
19#include <aws/devicefarm/model/ExecutionResult.h>
20#include <aws/devicefarm/model/ExecutionResultCode.h>
21#include <aws/devicefarm/model/ExecutionStatus.h>
22#include <aws/devicefarm/model/Location.h>
23#include <aws/devicefarm/model/NetworkProfile.h>
24#include <aws/devicefarm/model/Radios.h>
25#include <aws/devicefarm/model/TestType.h>
26#include <aws/devicefarm/model/VpcConfig.h>
48 AWS_DEVICEFARM_API
Run() =
default;
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
77 template <
typename NameT = Aws::String>
79 m_nameHasBeenSet =
true;
80 m_name = std::forward<NameT>(value);
82 template <
typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
103 m_typeHasBeenSet =
true;
120 m_platformHasBeenSet =
true;
135 template <
typename CreatedT = Aws::Utils::DateTime>
137 m_createdHasBeenSet =
true;
138 m_created = std::forward<CreatedT>(value);
140 template <
typename CreatedT = Aws::Utils::DateTime>
158 m_statusHasBeenSet =
true;
177 m_resultHasBeenSet =
true;
192 template <
typename StartedT = Aws::Utils::DateTime>
194 m_startedHasBeenSet =
true;
195 m_started = std::forward<StartedT>(value);
197 template <
typename StartedT = Aws::Utils::DateTime>
210 template <
typename StoppedT = Aws::Utils::DateTime>
212 m_stoppedHasBeenSet =
true;
213 m_stopped = std::forward<StoppedT>(value);
215 template <
typename StoppedT = Aws::Utils::DateTime>
228 template <
typename CountersT = Counters>
230 m_countersHasBeenSet =
true;
231 m_counters = std::forward<CountersT>(value);
233 template <
typename CountersT = Counters>
246 template <
typename MessageT = Aws::String>
248 m_messageHasBeenSet =
true;
249 m_message = std::forward<MessageT>(value);
251 template <
typename MessageT = Aws::String>
265 m_totalJobsHasBeenSet =
true;
281 m_completedJobsHasBeenSet =
true;
282 m_completedJobs = value;
301 m_billingMethodHasBeenSet =
true;
302 m_billingMethod = value;
316 template <
typename DeviceMinutesT = DeviceMinutes>
318 m_deviceMinutesHasBeenSet =
true;
319 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
321 template <
typename DeviceMinutesT = DeviceMinutes>
334 template <
typename NetworkProfileT = NetworkProfile>
336 m_networkProfileHasBeenSet =
true;
337 m_networkProfile = std::forward<NetworkProfileT>(value);
339 template <
typename NetworkProfileT = NetworkProfile>
352 template <
typename DeviceProxyT = DeviceProxy>
354 m_deviceProxyHasBeenSet =
true;
355 m_deviceProxy = std::forward<DeviceProxyT>(value);
357 template <
typename DeviceProxyT = DeviceProxy>
372 template <
typename ParsingResultUrlT = Aws::String>
374 m_parsingResultUrlHasBeenSet =
true;
375 m_parsingResultUrl = std::forward<ParsingResultUrlT>(value);
377 template <
typename ParsingResultUrlT = Aws::String>
393 m_resultCodeHasBeenSet =
true;
394 m_resultCode = value;
410 m_seedHasBeenSet =
true;
425 template <
typename AppUploadT = Aws::String>
427 m_appUploadHasBeenSet =
true;
428 m_appUpload = std::forward<AppUploadT>(value);
430 template <
typename AppUploadT = Aws::String>
445 m_eventCountHasBeenSet =
true;
446 m_eventCount = value;
461 m_jobTimeoutMinutesHasBeenSet =
true;
462 m_jobTimeoutMinutes = value;
476 template <
typename DevicePoolArnT = Aws::String>
478 m_devicePoolArnHasBeenSet =
true;
479 m_devicePoolArn = std::forward<DevicePoolArnT>(value);
481 template <
typename DevicePoolArnT = Aws::String>
494 template <
typename LocaleT = Aws::String>
496 m_localeHasBeenSet =
true;
497 m_locale = std::forward<LocaleT>(value);
499 template <
typename LocaleT = Aws::String>
512 template <
typename RadiosT = Radios>
514 m_radiosHasBeenSet =
true;
515 m_radios = std::forward<RadiosT>(value);
517 template <
typename RadiosT = Radios>
530 template <
typename LocationT = Location>
532 m_locationHasBeenSet =
true;
533 m_location = std::forward<LocationT>(value);
535 template <
typename LocationT = Location>
548 template <
typename CustomerArtifactPathsT = CustomerArtifactPaths>
550 m_customerArtifactPathsHasBeenSet =
true;
551 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
553 template <
typename CustomerArtifactPathsT = CustomerArtifactPaths>
566 template <
typename WebUrlT = Aws::String>
568 m_webUrlHasBeenSet =
true;
569 m_webUrl = std::forward<WebUrlT>(value);
571 template <
typename WebUrlT = Aws::String>
589 m_skipAppResignHasBeenSet =
true;
590 m_skipAppResign = value;
604 template <
typename TestSpecArnT = Aws::String>
606 m_testSpecArnHasBeenSet =
true;
607 m_testSpecArn = std::forward<TestSpecArnT>(value);
609 template <
typename TestSpecArnT = Aws::String>
622 template <
typename DeviceSelectionResultT = DeviceSelectionResult>
624 m_deviceSelectionResultHasBeenSet =
true;
625 m_deviceSelectionResult = std::forward<DeviceSelectionResultT>(value);
627 template <
typename DeviceSelectionResultT = DeviceSelectionResult>
640 template <
typename VpcConfigT = VpcConfig>
642 m_vpcConfigHasBeenSet =
true;
643 m_vpcConfig = std::forward<VpcConfigT>(value);
645 template <
typename VpcConfigT = VpcConfig>
658 template <
typename ExecutionRoleArnT = Aws::String>
660 m_executionRoleArnHasBeenSet =
true;
661 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
663 template <
typename ExecutionRoleArnT = Aws::String>
676 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
678 m_environmentVariablesHasBeenSet =
true;
679 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
681 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
686 template <
typename EnvironmentVariablesT = EnvironmentVariable>
688 m_environmentVariablesHasBeenSet =
true;
689 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
718 int m_completedJobs{0};
722 DeviceMinutes m_deviceMinutes;
724 NetworkProfile m_networkProfile;
726 DeviceProxy m_deviceProxy;
738 int m_jobTimeoutMinutes{0};
748 CustomerArtifactPaths m_customerArtifactPaths;
752 bool m_skipAppResign{
false};
756 DeviceSelectionResult m_deviceSelectionResult;
758 VpcConfig m_vpcConfig;
763 bool m_arnHasBeenSet =
false;
764 bool m_nameHasBeenSet =
false;
765 bool m_typeHasBeenSet =
false;
766 bool m_platformHasBeenSet =
false;
767 bool m_createdHasBeenSet =
false;
768 bool m_statusHasBeenSet =
false;
769 bool m_resultHasBeenSet =
false;
770 bool m_startedHasBeenSet =
false;
771 bool m_stoppedHasBeenSet =
false;
772 bool m_countersHasBeenSet =
false;
773 bool m_messageHasBeenSet =
false;
774 bool m_totalJobsHasBeenSet =
false;
775 bool m_completedJobsHasBeenSet =
false;
776 bool m_billingMethodHasBeenSet =
false;
777 bool m_deviceMinutesHasBeenSet =
false;
778 bool m_networkProfileHasBeenSet =
false;
779 bool m_deviceProxyHasBeenSet =
false;
780 bool m_parsingResultUrlHasBeenSet =
false;
781 bool m_resultCodeHasBeenSet =
false;
782 bool m_seedHasBeenSet =
false;
783 bool m_appUploadHasBeenSet =
false;
784 bool m_eventCountHasBeenSet =
false;
785 bool m_jobTimeoutMinutesHasBeenSet =
false;
786 bool m_devicePoolArnHasBeenSet =
false;
787 bool m_localeHasBeenSet =
false;
788 bool m_radiosHasBeenSet =
false;
789 bool m_locationHasBeenSet =
false;
790 bool m_customerArtifactPathsHasBeenSet =
false;
791 bool m_webUrlHasBeenSet =
false;
792 bool m_skipAppResignHasBeenSet =
false;
793 bool m_testSpecArnHasBeenSet =
false;
794 bool m_deviceSelectionResultHasBeenSet =
false;
795 bool m_vpcConfigHasBeenSet =
false;
796 bool m_executionRoleArnHasBeenSet =
false;
797 bool m_environmentVariablesHasBeenSet =
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
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
int GetJobTimeoutMinutes() const
bool ParsingResultUrlHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetName(NameT &&value)
void SetStopped(StoppedT &&value)
void SetResultCode(ExecutionResultCode value)
bool EnvironmentVariablesHasBeenSet() const
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
Run & WithEnvironmentVariables(EnvironmentVariablesT &&value)
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)
bool ExecutionRoleArnHasBeenSet() const
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
Run & AddEnvironmentVariables(EnvironmentVariablesT &&value)
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 & WithExecutionRoleArn(ExecutionRoleArnT &&value)
Run & WithDeviceProxy(DeviceProxyT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
const DeviceMinutes & GetDeviceMinutes() const
const Aws::String & GetExecutionRoleArn() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue