AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
Run.h
1
6#pragma once
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>
29
30#include <utility>
31
32namespace Aws {
33namespace Utils {
34namespace Json {
35class JsonValue;
36class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace DeviceFarm {
40namespace Model {
41
48class Run {
49 public:
50 AWS_DEVICEFARM_API Run() = default;
51 AWS_DEVICEFARM_API Run(Aws::Utils::Json::JsonView jsonValue);
52 AWS_DEVICEFARM_API Run& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
67 Run& WithArn(ArnT&& value) {
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 Run& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
102 inline TestType GetType() const { return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(TestType value) {
105 m_typeHasBeenSet = true;
106 m_type = value;
107 }
108 inline Run& WithType(TestType value) {
109 SetType(value);
110 return *this;
111 }
113
115
119 inline DevicePlatform GetPlatform() const { return m_platform; }
120 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
121 inline void SetPlatform(DevicePlatform value) {
122 m_platformHasBeenSet = true;
123 m_platform = value;
124 }
126 SetPlatform(value);
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
136 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
137 template <typename CreatedT = Aws::Utils::DateTime>
138 void SetCreated(CreatedT&& value) {
139 m_createdHasBeenSet = true;
140 m_created = std::forward<CreatedT>(value);
141 }
142 template <typename CreatedT = Aws::Utils::DateTime>
143 Run& WithCreated(CreatedT&& value) {
144 SetCreated(std::forward<CreatedT>(value));
145 return *this;
146 }
148
150
157 inline ExecutionStatus GetStatus() const { return m_status; }
158 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 inline void SetStatus(ExecutionStatus value) {
160 m_statusHasBeenSet = true;
161 m_status = value;
162 }
164 SetStatus(value);
165 return *this;
166 }
168
170
176 inline ExecutionResult GetResult() const { return m_result; }
177 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
178 inline void SetResult(ExecutionResult value) {
179 m_resultHasBeenSet = true;
180 m_result = value;
181 }
183 SetResult(value);
184 return *this;
185 }
187
189
192 inline const Aws::Utils::DateTime& GetStarted() const { return m_started; }
193 inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; }
194 template <typename StartedT = Aws::Utils::DateTime>
195 void SetStarted(StartedT&& value) {
196 m_startedHasBeenSet = true;
197 m_started = std::forward<StartedT>(value);
198 }
199 template <typename StartedT = Aws::Utils::DateTime>
200 Run& WithStarted(StartedT&& value) {
201 SetStarted(std::forward<StartedT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Utils::DateTime& GetStopped() const { return m_stopped; }
211 inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
212 template <typename StoppedT = Aws::Utils::DateTime>
213 void SetStopped(StoppedT&& value) {
214 m_stoppedHasBeenSet = true;
215 m_stopped = std::forward<StoppedT>(value);
216 }
217 template <typename StoppedT = Aws::Utils::DateTime>
218 Run& WithStopped(StoppedT&& value) {
219 SetStopped(std::forward<StoppedT>(value));
220 return *this;
221 }
223
225
228 inline const Counters& GetCounters() const { return m_counters; }
229 inline bool CountersHasBeenSet() const { return m_countersHasBeenSet; }
230 template <typename CountersT = Counters>
231 void SetCounters(CountersT&& value) {
232 m_countersHasBeenSet = true;
233 m_counters = std::forward<CountersT>(value);
234 }
235 template <typename CountersT = Counters>
236 Run& WithCounters(CountersT&& value) {
237 SetCounters(std::forward<CountersT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::String& GetMessage() const { return m_message; }
247 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
248 template <typename MessageT = Aws::String>
249 void SetMessage(MessageT&& value) {
250 m_messageHasBeenSet = true;
251 m_message = std::forward<MessageT>(value);
252 }
253 template <typename MessageT = Aws::String>
254 Run& WithMessage(MessageT&& value) {
255 SetMessage(std::forward<MessageT>(value));
256 return *this;
257 }
259
261
264 inline int GetTotalJobs() const { return m_totalJobs; }
265 inline bool TotalJobsHasBeenSet() const { return m_totalJobsHasBeenSet; }
266 inline void SetTotalJobs(int value) {
267 m_totalJobsHasBeenSet = true;
268 m_totalJobs = value;
269 }
270 inline Run& WithTotalJobs(int value) {
271 SetTotalJobs(value);
272 return *this;
273 }
275
277
280 inline int GetCompletedJobs() const { return m_completedJobs; }
281 inline bool CompletedJobsHasBeenSet() const { return m_completedJobsHasBeenSet; }
282 inline void SetCompletedJobs(int value) {
283 m_completedJobsHasBeenSet = true;
284 m_completedJobs = value;
285 }
286 inline Run& WithCompletedJobs(int value) {
287 SetCompletedJobs(value);
288 return *this;
289 }
291
293
300 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
301 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
302 inline void SetBillingMethod(BillingMethod value) {
303 m_billingMethodHasBeenSet = true;
304 m_billingMethod = value;
305 }
307 SetBillingMethod(value);
308 return *this;
309 }
311
313
316 inline const DeviceMinutes& GetDeviceMinutes() const { return m_deviceMinutes; }
317 inline bool DeviceMinutesHasBeenSet() const { return m_deviceMinutesHasBeenSet; }
318 template <typename DeviceMinutesT = DeviceMinutes>
319 void SetDeviceMinutes(DeviceMinutesT&& value) {
320 m_deviceMinutesHasBeenSet = true;
321 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
322 }
323 template <typename DeviceMinutesT = DeviceMinutes>
324 Run& WithDeviceMinutes(DeviceMinutesT&& value) {
325 SetDeviceMinutes(std::forward<DeviceMinutesT>(value));
326 return *this;
327 }
329
331
334 inline const NetworkProfile& GetNetworkProfile() const { return m_networkProfile; }
335 inline bool NetworkProfileHasBeenSet() const { return m_networkProfileHasBeenSet; }
336 template <typename NetworkProfileT = NetworkProfile>
337 void SetNetworkProfile(NetworkProfileT&& value) {
338 m_networkProfileHasBeenSet = true;
339 m_networkProfile = std::forward<NetworkProfileT>(value);
340 }
341 template <typename NetworkProfileT = NetworkProfile>
342 Run& WithNetworkProfile(NetworkProfileT&& value) {
343 SetNetworkProfile(std::forward<NetworkProfileT>(value));
344 return *this;
345 }
347
349
352 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
353 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
354 template <typename DeviceProxyT = DeviceProxy>
355 void SetDeviceProxy(DeviceProxyT&& value) {
356 m_deviceProxyHasBeenSet = true;
357 m_deviceProxy = std::forward<DeviceProxyT>(value);
358 }
359 template <typename DeviceProxyT = DeviceProxy>
360 Run& WithDeviceProxy(DeviceProxyT&& value) {
361 SetDeviceProxy(std::forward<DeviceProxyT>(value));
362 return *this;
363 }
365
367
372 inline const Aws::String& GetParsingResultUrl() const { return m_parsingResultUrl; }
373 inline bool ParsingResultUrlHasBeenSet() const { return m_parsingResultUrlHasBeenSet; }
374 template <typename ParsingResultUrlT = Aws::String>
375 void SetParsingResultUrl(ParsingResultUrlT&& value) {
376 m_parsingResultUrlHasBeenSet = true;
377 m_parsingResultUrl = std::forward<ParsingResultUrlT>(value);
378 }
379 template <typename ParsingResultUrlT = Aws::String>
380 Run& WithParsingResultUrl(ParsingResultUrlT&& value) {
381 SetParsingResultUrl(std::forward<ParsingResultUrlT>(value));
382 return *this;
383 }
385
387
392 inline ExecutionResultCode GetResultCode() const { return m_resultCode; }
393 inline bool ResultCodeHasBeenSet() const { return m_resultCodeHasBeenSet; }
395 m_resultCodeHasBeenSet = true;
396 m_resultCode = value;
397 }
399 SetResultCode(value);
400 return *this;
401 }
403
405
409 inline int GetSeed() const { return m_seed; }
410 inline bool SeedHasBeenSet() const { return m_seedHasBeenSet; }
411 inline void SetSeed(int value) {
412 m_seedHasBeenSet = true;
413 m_seed = value;
414 }
415 inline Run& WithSeed(int value) {
416 SetSeed(value);
417 return *this;
418 }
420
422
425 inline const Aws::String& GetAppUpload() const { return m_appUpload; }
426 inline bool AppUploadHasBeenSet() const { return m_appUploadHasBeenSet; }
427 template <typename AppUploadT = Aws::String>
428 void SetAppUpload(AppUploadT&& value) {
429 m_appUploadHasBeenSet = true;
430 m_appUpload = std::forward<AppUploadT>(value);
431 }
432 template <typename AppUploadT = Aws::String>
433 Run& WithAppUpload(AppUploadT&& value) {
434 SetAppUpload(std::forward<AppUploadT>(value));
435 return *this;
436 }
438
440
444 inline int GetEventCount() const { return m_eventCount; }
445 inline bool EventCountHasBeenSet() const { return m_eventCountHasBeenSet; }
446 inline void SetEventCount(int value) {
447 m_eventCountHasBeenSet = true;
448 m_eventCount = value;
449 }
450 inline Run& WithEventCount(int value) {
451 SetEventCount(value);
452 return *this;
453 }
455
457
460 inline int GetJobTimeoutMinutes() const { return m_jobTimeoutMinutes; }
461 inline bool JobTimeoutMinutesHasBeenSet() const { return m_jobTimeoutMinutesHasBeenSet; }
462 inline void SetJobTimeoutMinutes(int value) {
463 m_jobTimeoutMinutesHasBeenSet = true;
464 m_jobTimeoutMinutes = value;
465 }
466 inline Run& WithJobTimeoutMinutes(int value) {
468 return *this;
469 }
471
473
476 inline const Aws::String& GetDevicePoolArn() const { return m_devicePoolArn; }
477 inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; }
478 template <typename DevicePoolArnT = Aws::String>
479 void SetDevicePoolArn(DevicePoolArnT&& value) {
480 m_devicePoolArnHasBeenSet = true;
481 m_devicePoolArn = std::forward<DevicePoolArnT>(value);
482 }
483 template <typename DevicePoolArnT = Aws::String>
484 Run& WithDevicePoolArn(DevicePoolArnT&& value) {
485 SetDevicePoolArn(std::forward<DevicePoolArnT>(value));
486 return *this;
487 }
489
491
494 inline const Aws::String& GetLocale() const { return m_locale; }
495 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
496 template <typename LocaleT = Aws::String>
497 void SetLocale(LocaleT&& value) {
498 m_localeHasBeenSet = true;
499 m_locale = std::forward<LocaleT>(value);
500 }
501 template <typename LocaleT = Aws::String>
502 Run& WithLocale(LocaleT&& value) {
503 SetLocale(std::forward<LocaleT>(value));
504 return *this;
505 }
507
509
512 inline const Radios& GetRadios() const { return m_radios; }
513 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
514 template <typename RadiosT = Radios>
515 void SetRadios(RadiosT&& value) {
516 m_radiosHasBeenSet = true;
517 m_radios = std::forward<RadiosT>(value);
518 }
519 template <typename RadiosT = Radios>
520 Run& WithRadios(RadiosT&& value) {
521 SetRadios(std::forward<RadiosT>(value));
522 return *this;
523 }
525
527
530 inline const Location& GetLocation() const { return m_location; }
531 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
532 template <typename LocationT = Location>
533 void SetLocation(LocationT&& value) {
534 m_locationHasBeenSet = true;
535 m_location = std::forward<LocationT>(value);
536 }
537 template <typename LocationT = Location>
538 Run& WithLocation(LocationT&& value) {
539 SetLocation(std::forward<LocationT>(value));
540 return *this;
541 }
543
545
548 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const { return m_customerArtifactPaths; }
549 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
550 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
551 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
552 m_customerArtifactPathsHasBeenSet = true;
553 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
554 }
555 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
556 Run& WithCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
557 SetCustomerArtifactPaths(std::forward<CustomerArtifactPathsT>(value));
558 return *this;
559 }
561
563
566 inline const Aws::String& GetWebUrl() const { return m_webUrl; }
567 inline bool WebUrlHasBeenSet() const { return m_webUrlHasBeenSet; }
568 template <typename WebUrlT = Aws::String>
569 void SetWebUrl(WebUrlT&& value) {
570 m_webUrlHasBeenSet = true;
571 m_webUrl = std::forward<WebUrlT>(value);
572 }
573 template <typename WebUrlT = Aws::String>
574 Run& WithWebUrl(WebUrlT&& value) {
575 SetWebUrl(std::forward<WebUrlT>(value));
576 return *this;
577 }
579
581
588 inline bool GetSkipAppResign() const { return m_skipAppResign; }
589 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
590 inline void SetSkipAppResign(bool value) {
591 m_skipAppResignHasBeenSet = true;
592 m_skipAppResign = value;
593 }
594 inline Run& WithSkipAppResign(bool value) {
595 SetSkipAppResign(value);
596 return *this;
597 }
599
601
604 inline const Aws::String& GetTestSpecArn() const { return m_testSpecArn; }
605 inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
606 template <typename TestSpecArnT = Aws::String>
607 void SetTestSpecArn(TestSpecArnT&& value) {
608 m_testSpecArnHasBeenSet = true;
609 m_testSpecArn = std::forward<TestSpecArnT>(value);
610 }
611 template <typename TestSpecArnT = Aws::String>
612 Run& WithTestSpecArn(TestSpecArnT&& value) {
613 SetTestSpecArn(std::forward<TestSpecArnT>(value));
614 return *this;
615 }
617
619
622 inline const DeviceSelectionResult& GetDeviceSelectionResult() const { return m_deviceSelectionResult; }
623 inline bool DeviceSelectionResultHasBeenSet() const { return m_deviceSelectionResultHasBeenSet; }
624 template <typename DeviceSelectionResultT = DeviceSelectionResult>
625 void SetDeviceSelectionResult(DeviceSelectionResultT&& value) {
626 m_deviceSelectionResultHasBeenSet = true;
627 m_deviceSelectionResult = std::forward<DeviceSelectionResultT>(value);
628 }
629 template <typename DeviceSelectionResultT = DeviceSelectionResult>
630 Run& WithDeviceSelectionResult(DeviceSelectionResultT&& value) {
631 SetDeviceSelectionResult(std::forward<DeviceSelectionResultT>(value));
632 return *this;
633 }
635
637
640 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
641 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
642 template <typename VpcConfigT = VpcConfig>
643 void SetVpcConfig(VpcConfigT&& value) {
644 m_vpcConfigHasBeenSet = true;
645 m_vpcConfig = std::forward<VpcConfigT>(value);
646 }
647 template <typename VpcConfigT = VpcConfig>
648 Run& WithVpcConfig(VpcConfigT&& value) {
649 SetVpcConfig(std::forward<VpcConfigT>(value));
650 return *this;
651 }
653
655
658 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
659 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
660 template <typename ExecutionRoleArnT = Aws::String>
661 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
662 m_executionRoleArnHasBeenSet = true;
663 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
664 }
665 template <typename ExecutionRoleArnT = Aws::String>
666 Run& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
667 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
668 return *this;
669 }
671
673
676 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariables() const { return m_environmentVariables; }
677 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
678 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
679 void SetEnvironmentVariables(EnvironmentVariablesT&& value) {
680 m_environmentVariablesHasBeenSet = true;
681 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
682 }
683 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
684 Run& WithEnvironmentVariables(EnvironmentVariablesT&& value) {
685 SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value));
686 return *this;
687 }
688 template <typename EnvironmentVariablesT = EnvironmentVariable>
689 Run& AddEnvironmentVariables(EnvironmentVariablesT&& value) {
690 m_environmentVariablesHasBeenSet = true;
691 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
692 return *this;
693 }
695
697
700 inline const Aws::Vector<InsightsType>& GetInsightsTypes() const { return m_insightsTypes; }
701 inline bool InsightsTypesHasBeenSet() const { return m_insightsTypesHasBeenSet; }
702 template <typename InsightsTypesT = Aws::Vector<InsightsType>>
703 void SetInsightsTypes(InsightsTypesT&& value) {
704 m_insightsTypesHasBeenSet = true;
705 m_insightsTypes = std::forward<InsightsTypesT>(value);
706 }
707 template <typename InsightsTypesT = Aws::Vector<InsightsType>>
708 Run& WithInsightsTypes(InsightsTypesT&& value) {
709 SetInsightsTypes(std::forward<InsightsTypesT>(value));
710 return *this;
711 }
713 m_insightsTypesHasBeenSet = true;
714 m_insightsTypes.push_back(value);
715 return *this;
716 }
718
720
725 inline const RunInsights& GetInsights() const { return m_insights; }
726 inline bool InsightsHasBeenSet() const { return m_insightsHasBeenSet; }
727 template <typename InsightsT = RunInsights>
728 void SetInsights(InsightsT&& value) {
729 m_insightsHasBeenSet = true;
730 m_insights = std::forward<InsightsT>(value);
731 }
732 template <typename InsightsT = RunInsights>
733 Run& WithInsights(InsightsT&& value) {
734 SetInsights(std::forward<InsightsT>(value));
735 return *this;
736 }
738 private:
739 Aws::String m_arn;
740
741 Aws::String m_name;
742
744
746
747 Aws::Utils::DateTime m_created{};
748
750
752
753 Aws::Utils::DateTime m_started{};
754
755 Aws::Utils::DateTime m_stopped{};
756
757 Counters m_counters;
758
759 Aws::String m_message;
760
761 int m_totalJobs{0};
762
763 int m_completedJobs{0};
764
765 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
766
767 DeviceMinutes m_deviceMinutes;
768
769 NetworkProfile m_networkProfile;
770
771 DeviceProxy m_deviceProxy;
772
773 Aws::String m_parsingResultUrl;
774
776
777 int m_seed{0};
778
779 Aws::String m_appUpload;
780
781 int m_eventCount{0};
782
783 int m_jobTimeoutMinutes{0};
784
785 Aws::String m_devicePoolArn;
786
787 Aws::String m_locale;
788
789 Radios m_radios;
790
791 Location m_location;
792
793 CustomerArtifactPaths m_customerArtifactPaths;
794
795 Aws::String m_webUrl;
796
797 bool m_skipAppResign{false};
798
799 Aws::String m_testSpecArn;
800
801 DeviceSelectionResult m_deviceSelectionResult;
802
803 VpcConfig m_vpcConfig;
804
805 Aws::String m_executionRoleArn;
806
807 Aws::Vector<EnvironmentVariable> m_environmentVariables;
808
809 Aws::Vector<InsightsType> m_insightsTypes;
810
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;
849};
850
851} // namespace Model
852} // namespace DeviceFarm
853} // namespace Aws
Run & WithWebUrl(WebUrlT &&value)
Definition Run.h:574
Run & WithArn(ArnT &&value)
Definition Run.h:67
Run & WithStopped(StoppedT &&value)
Definition Run.h:218
void SetLocation(LocationT &&value)
Definition Run.h:533
bool CountersHasBeenSet() const
Definition Run.h:229
void SetResult(ExecutionResult value)
Definition Run.h:178
void SetPlatform(DevicePlatform value)
Definition Run.h:121
void SetCustomerArtifactPaths(CustomerArtifactPathsT &&value)
Definition Run.h:551
void SetNetworkProfile(NetworkProfileT &&value)
Definition Run.h:337
AWS_DEVICEFARM_API Run & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BillingMethodHasBeenSet() const
Definition Run.h:301
const Aws::String & GetDevicePoolArn() const
Definition Run.h:476
const Aws::String & GetLocale() const
Definition Run.h:494
const Aws::String & GetMessage() const
Definition Run.h:246
bool DeviceMinutesHasBeenSet() const
Definition Run.h:317
Run & WithLocation(LocationT &&value)
Definition Run.h:538
void SetVpcConfig(VpcConfigT &&value)
Definition Run.h:643
int GetCompletedJobs() const
Definition Run.h:280
Run & WithInsights(InsightsT &&value)
Definition Run.h:733
const Aws::String & GetParsingResultUrl() const
Definition Run.h:372
bool LocaleHasBeenSet() const
Definition Run.h:495
Run & WithAppUpload(AppUploadT &&value)
Definition Run.h:433
TestType GetType() const
Definition Run.h:102
void SetInsights(InsightsT &&value)
Definition Run.h:728
bool StoppedHasBeenSet() const
Definition Run.h:211
void SetWebUrl(WebUrlT &&value)
Definition Run.h:569
bool AppUploadHasBeenSet() const
Definition Run.h:426
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
Definition Run.h:676
int GetTotalJobs() const
Definition Run.h:264
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:679
int GetJobTimeoutMinutes() const
Definition Run.h:460
bool ParsingResultUrlHasBeenSet() const
Definition Run.h:373
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Run.h:661
void SetName(NameT &&value)
Definition Run.h:80
void SetStopped(StoppedT &&value)
Definition Run.h:213
void SetResultCode(ExecutionResultCode value)
Definition Run.h:394
bool EnvironmentVariablesHasBeenSet() const
Definition Run.h:677
bool WebUrlHasBeenSet() const
Definition Run.h:567
void SetDeviceMinutes(DeviceMinutesT &&value)
Definition Run.h:319
void SetMessage(MessageT &&value)
Definition Run.h:249
Run & WithType(TestType value)
Definition Run.h:108
void SetAppUpload(AppUploadT &&value)
Definition Run.h:428
void SetInsightsTypes(InsightsTypesT &&value)
Definition Run.h:703
Run & WithCompletedJobs(int value)
Definition Run.h:286
bool InsightsTypesHasBeenSet() const
Definition Run.h:701
void SetTotalJobs(int value)
Definition Run.h:266
bool SeedHasBeenSet() const
Definition Run.h:410
Run & WithEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:684
void SetType(TestType value)
Definition Run.h:104
Run & WithSkipAppResign(bool value)
Definition Run.h:594
bool CreatedHasBeenSet() const
Definition Run.h:136
Run & WithJobTimeoutMinutes(int value)
Definition Run.h:466
const Aws::String & GetTestSpecArn() const
Definition Run.h:604
Run & WithTestSpecArn(TestSpecArnT &&value)
Definition Run.h:612
Run & WithResult(ExecutionResult value)
Definition Run.h:182
bool DevicePoolArnHasBeenSet() const
Definition Run.h:477
bool TestSpecArnHasBeenSet() const
Definition Run.h:605
Run & WithMessage(MessageT &&value)
Definition Run.h:254
Run & WithTotalJobs(int value)
Definition Run.h:270
Run & WithBillingMethod(BillingMethod value)
Definition Run.h:306
void SetSkipAppResign(bool value)
Definition Run.h:590
void SetLocale(LocaleT &&value)
Definition Run.h:497
bool ExecutionRoleArnHasBeenSet() const
Definition Run.h:659
Run & WithCounters(CountersT &&value)
Definition Run.h:236
const Radios & GetRadios() const
Definition Run.h:512
bool ArnHasBeenSet() const
Definition Run.h:60
bool LocationHasBeenSet() const
Definition Run.h:531
const VpcConfig & GetVpcConfig() const
Definition Run.h:640
int GetEventCount() const
Definition Run.h:444
const Aws::Vector< InsightsType > & GetInsightsTypes() const
Definition Run.h:700
bool SkipAppResignHasBeenSet() const
Definition Run.h:589
Run & WithRadios(RadiosT &&value)
Definition Run.h:520
Run & WithResultCode(ExecutionResultCode value)
Definition Run.h:398
Run & WithEventCount(int value)
Definition Run.h:450
bool TypeHasBeenSet() const
Definition Run.h:103
bool StatusHasBeenSet() const
Definition Run.h:158
bool NetworkProfileHasBeenSet() const
Definition Run.h:335
void SetJobTimeoutMinutes(int value)
Definition Run.h:462
const Aws::String & GetWebUrl() const
Definition Run.h:566
bool CustomerArtifactPathsHasBeenSet() const
Definition Run.h:549
Run & WithCustomerArtifactPaths(CustomerArtifactPathsT &&value)
Definition Run.h:556
Run & WithNetworkProfile(NetworkProfileT &&value)
Definition Run.h:342
Run & WithInsightsTypes(InsightsTypesT &&value)
Definition Run.h:708
DevicePlatform GetPlatform() const
Definition Run.h:119
Run & WithStatus(ExecutionStatus value)
Definition Run.h:163
const RunInsights & GetInsights() const
Definition Run.h:725
int GetSeed() const
Definition Run.h:409
Run & WithVpcConfig(VpcConfigT &&value)
Definition Run.h:648
BillingMethod GetBillingMethod() const
Definition Run.h:300
bool RadiosHasBeenSet() const
Definition Run.h:513
bool EventCountHasBeenSet() const
Definition Run.h:445
const DeviceSelectionResult & GetDeviceSelectionResult() const
Definition Run.h:622
bool ResultCodeHasBeenSet() const
Definition Run.h:393
const Aws::String & GetName() const
Definition Run.h:77
Run & WithDevicePoolArn(DevicePoolArnT &&value)
Definition Run.h:484
void SetDeviceSelectionResult(DeviceSelectionResultT &&value)
Definition Run.h:625
Run & WithCreated(CreatedT &&value)
Definition Run.h:143
Run & WithDeviceSelectionResult(DeviceSelectionResultT &&value)
Definition Run.h:630
AWS_DEVICEFARM_API Run()=default
bool NameHasBeenSet() const
Definition Run.h:78
bool CompletedJobsHasBeenSet() const
Definition Run.h:281
const Aws::Utils::DateTime & GetCreated() const
Definition Run.h:135
Run & AddEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:689
void SetStatus(ExecutionStatus value)
Definition Run.h:159
Run & WithStarted(StartedT &&value)
Definition Run.h:200
const Counters & GetCounters() const
Definition Run.h:228
void SetBillingMethod(BillingMethod value)
Definition Run.h:302
bool JobTimeoutMinutesHasBeenSet() const
Definition Run.h:461
void SetEventCount(int value)
Definition Run.h:446
bool DeviceProxyHasBeenSet() const
Definition Run.h:353
bool PlatformHasBeenSet() const
Definition Run.h:120
Run & WithExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Run.h:666
Run & WithDeviceProxy(DeviceProxyT &&value)
Definition Run.h:360
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
Definition Run.h:59
const DeviceMinutes & GetDeviceMinutes() const
Definition Run.h:316
Run & AddInsightsTypes(InsightsType value)
Definition Run.h:712
const Aws::String & GetExecutionRoleArn() const
Definition Run.h:658
bool MessageHasBeenSet() const
Definition Run.h:247
const Aws::String & GetAppUpload() const
Definition Run.h:425
ExecutionResult GetResult() const
Definition Run.h:176
bool GetSkipAppResign() const
Definition Run.h:588
void SetDeviceProxy(DeviceProxyT &&value)
Definition Run.h:355
void SetStarted(StartedT &&value)
Definition Run.h:195
void SetCounters(CountersT &&value)
Definition Run.h:231
ExecutionStatus GetStatus() const
Definition Run.h:157
Run & WithDeviceMinutes(DeviceMinutesT &&value)
Definition Run.h:324
const Aws::Utils::DateTime & GetStopped() const
Definition Run.h:210
Run & WithSeed(int value)
Definition Run.h:415
void SetArn(ArnT &&value)
Definition Run.h:62
void SetCompletedJobs(int value)
Definition Run.h:282
AWS_DEVICEFARM_API Run(Aws::Utils::Json::JsonView jsonValue)
bool VpcConfigHasBeenSet() const
Definition Run.h:641
const CustomerArtifactPaths & GetCustomerArtifactPaths() const
Definition Run.h:548
bool ResultHasBeenSet() const
Definition Run.h:177
const Location & GetLocation() const
Definition Run.h:530
const DeviceProxy & GetDeviceProxy() const
Definition Run.h:352
ExecutionResultCode GetResultCode() const
Definition Run.h:392
void SetCreated(CreatedT &&value)
Definition Run.h:138
void SetTestSpecArn(TestSpecArnT &&value)
Definition Run.h:607
Run & WithName(NameT &&value)
Definition Run.h:85
void SetSeed(int value)
Definition Run.h:411
Run & WithPlatform(DevicePlatform value)
Definition Run.h:125
bool TotalJobsHasBeenSet() const
Definition Run.h:265
bool InsightsHasBeenSet() const
Definition Run.h:726
Run & WithLocale(LocaleT &&value)
Definition Run.h:502
bool StartedHasBeenSet() const
Definition Run.h:193
void SetRadios(RadiosT &&value)
Definition Run.h:515
void SetDevicePoolArn(DevicePoolArnT &&value)
Definition Run.h:479
Run & WithParsingResultUrl(ParsingResultUrlT &&value)
Definition Run.h:380
void SetParsingResultUrl(ParsingResultUrlT &&value)
Definition Run.h:375
const Aws::Utils::DateTime & GetStarted() const
Definition Run.h:192
bool DeviceSelectionResultHasBeenSet() const
Definition Run.h:623
const NetworkProfile & GetNetworkProfile() const
Definition Run.h:334
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue