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/InsightsType.h>
23#include <aws/devicefarm/model/Location.h>
24#include <aws/devicefarm/model/NetworkProfile.h>
25#include <aws/devicefarm/model/Radios.h>
26#include <aws/devicefarm/model/RunInsights.h>
27#include <aws/devicefarm/model/TestType.h>
28#include <aws/devicefarm/model/VpcConfig.h>
50 AWS_DEVICEFARM_API
Run() =
default;
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
105 m_typeHasBeenSet =
true;
122 m_platformHasBeenSet =
true;
137 template <
typename CreatedT = Aws::Utils::DateTime>
139 m_createdHasBeenSet =
true;
140 m_created = std::forward<CreatedT>(value);
142 template <
typename CreatedT = Aws::Utils::DateTime>
160 m_statusHasBeenSet =
true;
179 m_resultHasBeenSet =
true;
194 template <
typename StartedT = Aws::Utils::DateTime>
196 m_startedHasBeenSet =
true;
197 m_started = std::forward<StartedT>(value);
199 template <
typename StartedT = Aws::Utils::DateTime>
212 template <
typename StoppedT = Aws::Utils::DateTime>
214 m_stoppedHasBeenSet =
true;
215 m_stopped = std::forward<StoppedT>(value);
217 template <
typename StoppedT = Aws::Utils::DateTime>
230 template <
typename CountersT = Counters>
232 m_countersHasBeenSet =
true;
233 m_counters = std::forward<CountersT>(value);
235 template <
typename CountersT = Counters>
248 template <
typename MessageT = Aws::String>
250 m_messageHasBeenSet =
true;
251 m_message = std::forward<MessageT>(value);
253 template <
typename MessageT = Aws::String>
267 m_totalJobsHasBeenSet =
true;
283 m_completedJobsHasBeenSet =
true;
284 m_completedJobs = value;
303 m_billingMethodHasBeenSet =
true;
304 m_billingMethod = value;
318 template <
typename DeviceMinutesT = DeviceMinutes>
320 m_deviceMinutesHasBeenSet =
true;
321 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
323 template <
typename DeviceMinutesT = DeviceMinutes>
336 template <
typename NetworkProfileT = NetworkProfile>
338 m_networkProfileHasBeenSet =
true;
339 m_networkProfile = std::forward<NetworkProfileT>(value);
341 template <
typename NetworkProfileT = NetworkProfile>
354 template <
typename DeviceProxyT = DeviceProxy>
356 m_deviceProxyHasBeenSet =
true;
357 m_deviceProxy = std::forward<DeviceProxyT>(value);
359 template <
typename DeviceProxyT = DeviceProxy>
374 template <
typename ParsingResultUrlT = Aws::String>
376 m_parsingResultUrlHasBeenSet =
true;
377 m_parsingResultUrl = std::forward<ParsingResultUrlT>(value);
379 template <
typename ParsingResultUrlT = Aws::String>
395 m_resultCodeHasBeenSet =
true;
396 m_resultCode = value;
412 m_seedHasBeenSet =
true;
427 template <
typename AppUploadT = Aws::String>
429 m_appUploadHasBeenSet =
true;
430 m_appUpload = std::forward<AppUploadT>(value);
432 template <
typename AppUploadT = Aws::String>
447 m_eventCountHasBeenSet =
true;
448 m_eventCount = value;
463 m_jobTimeoutMinutesHasBeenSet =
true;
464 m_jobTimeoutMinutes = value;
478 template <
typename DevicePoolArnT = Aws::String>
480 m_devicePoolArnHasBeenSet =
true;
481 m_devicePoolArn = std::forward<DevicePoolArnT>(value);
483 template <
typename DevicePoolArnT = Aws::String>
496 template <
typename LocaleT = Aws::String>
498 m_localeHasBeenSet =
true;
499 m_locale = std::forward<LocaleT>(value);
501 template <
typename LocaleT = Aws::String>
514 template <
typename RadiosT = Radios>
516 m_radiosHasBeenSet =
true;
517 m_radios = std::forward<RadiosT>(value);
519 template <
typename RadiosT = Radios>
532 template <
typename LocationT = Location>
534 m_locationHasBeenSet =
true;
535 m_location = std::forward<LocationT>(value);
537 template <
typename LocationT = Location>
550 template <
typename CustomerArtifactPathsT = CustomerArtifactPaths>
552 m_customerArtifactPathsHasBeenSet =
true;
553 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
555 template <
typename CustomerArtifactPathsT = CustomerArtifactPaths>
568 template <
typename WebUrlT = Aws::String>
570 m_webUrlHasBeenSet =
true;
571 m_webUrl = std::forward<WebUrlT>(value);
573 template <
typename WebUrlT = Aws::String>
591 m_skipAppResignHasBeenSet =
true;
592 m_skipAppResign = value;
606 template <
typename TestSpecArnT = Aws::String>
608 m_testSpecArnHasBeenSet =
true;
609 m_testSpecArn = std::forward<TestSpecArnT>(value);
611 template <
typename TestSpecArnT = Aws::String>
624 template <
typename DeviceSelectionResultT = DeviceSelectionResult>
626 m_deviceSelectionResultHasBeenSet =
true;
627 m_deviceSelectionResult = std::forward<DeviceSelectionResultT>(value);
629 template <
typename DeviceSelectionResultT = DeviceSelectionResult>
642 template <
typename VpcConfigT = VpcConfig>
644 m_vpcConfigHasBeenSet =
true;
645 m_vpcConfig = std::forward<VpcConfigT>(value);
647 template <
typename VpcConfigT = VpcConfig>
660 template <
typename ExecutionRoleArnT = Aws::String>
662 m_executionRoleArnHasBeenSet =
true;
663 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
665 template <
typename ExecutionRoleArnT = Aws::String>
678 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
680 m_environmentVariablesHasBeenSet =
true;
681 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
683 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
688 template <
typename EnvironmentVariablesT = EnvironmentVariable>
690 m_environmentVariablesHasBeenSet =
true;
691 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
702 template <
typename InsightsTypesT = Aws::Vector<InsightsType>>
704 m_insightsTypesHasBeenSet =
true;
705 m_insightsTypes = std::forward<InsightsTypesT>(value);
707 template <
typename InsightsTypesT = Aws::Vector<InsightsType>>
713 m_insightsTypesHasBeenSet =
true;
714 m_insightsTypes.push_back(value);
727 template <
typename InsightsT = RunInsights>
729 m_insightsHasBeenSet =
true;
730 m_insights = std::forward<InsightsT>(value);
732 template <
typename InsightsT = RunInsights>
763 int m_completedJobs{0};
767 DeviceMinutes m_deviceMinutes;
769 NetworkProfile m_networkProfile;
771 DeviceProxy m_deviceProxy;
783 int m_jobTimeoutMinutes{0};
793 CustomerArtifactPaths m_customerArtifactPaths;
797 bool m_skipAppResign{
false};
801 DeviceSelectionResult m_deviceSelectionResult;
803 VpcConfig m_vpcConfig;
811 RunInsights m_insights;
812 bool m_arnHasBeenSet =
false;
813 bool m_nameHasBeenSet =
false;
814 bool m_typeHasBeenSet =
false;
815 bool m_platformHasBeenSet =
false;
816 bool m_createdHasBeenSet =
false;
817 bool m_statusHasBeenSet =
false;
818 bool m_resultHasBeenSet =
false;
819 bool m_startedHasBeenSet =
false;
820 bool m_stoppedHasBeenSet =
false;
821 bool m_countersHasBeenSet =
false;
822 bool m_messageHasBeenSet =
false;
823 bool m_totalJobsHasBeenSet =
false;
824 bool m_completedJobsHasBeenSet =
false;
825 bool m_billingMethodHasBeenSet =
false;
826 bool m_deviceMinutesHasBeenSet =
false;
827 bool m_networkProfileHasBeenSet =
false;
828 bool m_deviceProxyHasBeenSet =
false;
829 bool m_parsingResultUrlHasBeenSet =
false;
830 bool m_resultCodeHasBeenSet =
false;
831 bool m_seedHasBeenSet =
false;
832 bool m_appUploadHasBeenSet =
false;
833 bool m_eventCountHasBeenSet =
false;
834 bool m_jobTimeoutMinutesHasBeenSet =
false;
835 bool m_devicePoolArnHasBeenSet =
false;
836 bool m_localeHasBeenSet =
false;
837 bool m_radiosHasBeenSet =
false;
838 bool m_locationHasBeenSet =
false;
839 bool m_customerArtifactPathsHasBeenSet =
false;
840 bool m_webUrlHasBeenSet =
false;
841 bool m_skipAppResignHasBeenSet =
false;
842 bool m_testSpecArnHasBeenSet =
false;
843 bool m_deviceSelectionResultHasBeenSet =
false;
844 bool m_vpcConfigHasBeenSet =
false;
845 bool m_executionRoleArnHasBeenSet =
false;
846 bool m_environmentVariablesHasBeenSet =
false;
847 bool m_insightsTypesHasBeenSet =
false;
848 bool m_insightsHasBeenSet =
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
Run & WithInsights(InsightsT &&value)
const Aws::String & GetParsingResultUrl() const
bool LocaleHasBeenSet() const
Run & WithAppUpload(AppUploadT &&value)
void SetInsights(InsightsT &&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)
void SetInsightsTypes(InsightsTypesT &&value)
Run & WithCompletedJobs(int value)
bool InsightsTypesHasBeenSet() const
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
const Aws::Vector< InsightsType > & GetInsightsTypes() 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)
Run & WithInsightsTypes(InsightsTypesT &&value)
DevicePlatform GetPlatform() const
Run & WithStatus(ExecutionStatus value)
const RunInsights & GetInsights() const
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
Run & AddInsightsTypes(InsightsType value)
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
bool InsightsHasBeenSet() 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