AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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/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>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace DeviceFarm {
38namespace Model {
39
46class Run {
47 public:
48 AWS_DEVICEFARM_API Run() = default;
49 AWS_DEVICEFARM_API Run(Aws::Utils::Json::JsonView jsonValue);
50 AWS_DEVICEFARM_API Run& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
65 Run& WithArn(ArnT&& value) {
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 Run& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
100 inline TestType GetType() const { return m_type; }
101 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 inline void SetType(TestType value) {
103 m_typeHasBeenSet = true;
104 m_type = value;
105 }
106 inline Run& WithType(TestType value) {
107 SetType(value);
108 return *this;
109 }
111
113
117 inline DevicePlatform GetPlatform() const { return m_platform; }
118 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
119 inline void SetPlatform(DevicePlatform value) {
120 m_platformHasBeenSet = true;
121 m_platform = value;
122 }
124 SetPlatform(value);
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
134 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
135 template <typename CreatedT = Aws::Utils::DateTime>
136 void SetCreated(CreatedT&& value) {
137 m_createdHasBeenSet = true;
138 m_created = std::forward<CreatedT>(value);
139 }
140 template <typename CreatedT = Aws::Utils::DateTime>
141 Run& WithCreated(CreatedT&& value) {
142 SetCreated(std::forward<CreatedT>(value));
143 return *this;
144 }
146
148
155 inline ExecutionStatus GetStatus() const { return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
157 inline void SetStatus(ExecutionStatus value) {
158 m_statusHasBeenSet = true;
159 m_status = value;
160 }
162 SetStatus(value);
163 return *this;
164 }
166
168
174 inline ExecutionResult GetResult() const { return m_result; }
175 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
176 inline void SetResult(ExecutionResult value) {
177 m_resultHasBeenSet = true;
178 m_result = value;
179 }
181 SetResult(value);
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetStarted() const { return m_started; }
191 inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; }
192 template <typename StartedT = Aws::Utils::DateTime>
193 void SetStarted(StartedT&& value) {
194 m_startedHasBeenSet = true;
195 m_started = std::forward<StartedT>(value);
196 }
197 template <typename StartedT = Aws::Utils::DateTime>
198 Run& WithStarted(StartedT&& value) {
199 SetStarted(std::forward<StartedT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Utils::DateTime& GetStopped() const { return m_stopped; }
209 inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
210 template <typename StoppedT = Aws::Utils::DateTime>
211 void SetStopped(StoppedT&& value) {
212 m_stoppedHasBeenSet = true;
213 m_stopped = std::forward<StoppedT>(value);
214 }
215 template <typename StoppedT = Aws::Utils::DateTime>
216 Run& WithStopped(StoppedT&& value) {
217 SetStopped(std::forward<StoppedT>(value));
218 return *this;
219 }
221
223
226 inline const Counters& GetCounters() const { return m_counters; }
227 inline bool CountersHasBeenSet() const { return m_countersHasBeenSet; }
228 template <typename CountersT = Counters>
229 void SetCounters(CountersT&& value) {
230 m_countersHasBeenSet = true;
231 m_counters = std::forward<CountersT>(value);
232 }
233 template <typename CountersT = Counters>
234 Run& WithCounters(CountersT&& value) {
235 SetCounters(std::forward<CountersT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetMessage() const { return m_message; }
245 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
246 template <typename MessageT = Aws::String>
247 void SetMessage(MessageT&& value) {
248 m_messageHasBeenSet = true;
249 m_message = std::forward<MessageT>(value);
250 }
251 template <typename MessageT = Aws::String>
252 Run& WithMessage(MessageT&& value) {
253 SetMessage(std::forward<MessageT>(value));
254 return *this;
255 }
257
259
262 inline int GetTotalJobs() const { return m_totalJobs; }
263 inline bool TotalJobsHasBeenSet() const { return m_totalJobsHasBeenSet; }
264 inline void SetTotalJobs(int value) {
265 m_totalJobsHasBeenSet = true;
266 m_totalJobs = value;
267 }
268 inline Run& WithTotalJobs(int value) {
269 SetTotalJobs(value);
270 return *this;
271 }
273
275
278 inline int GetCompletedJobs() const { return m_completedJobs; }
279 inline bool CompletedJobsHasBeenSet() const { return m_completedJobsHasBeenSet; }
280 inline void SetCompletedJobs(int value) {
281 m_completedJobsHasBeenSet = true;
282 m_completedJobs = value;
283 }
284 inline Run& WithCompletedJobs(int value) {
285 SetCompletedJobs(value);
286 return *this;
287 }
289
291
298 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
299 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
300 inline void SetBillingMethod(BillingMethod value) {
301 m_billingMethodHasBeenSet = true;
302 m_billingMethod = value;
303 }
305 SetBillingMethod(value);
306 return *this;
307 }
309
311
314 inline const DeviceMinutes& GetDeviceMinutes() const { return m_deviceMinutes; }
315 inline bool DeviceMinutesHasBeenSet() const { return m_deviceMinutesHasBeenSet; }
316 template <typename DeviceMinutesT = DeviceMinutes>
317 void SetDeviceMinutes(DeviceMinutesT&& value) {
318 m_deviceMinutesHasBeenSet = true;
319 m_deviceMinutes = std::forward<DeviceMinutesT>(value);
320 }
321 template <typename DeviceMinutesT = DeviceMinutes>
322 Run& WithDeviceMinutes(DeviceMinutesT&& value) {
323 SetDeviceMinutes(std::forward<DeviceMinutesT>(value));
324 return *this;
325 }
327
329
332 inline const NetworkProfile& GetNetworkProfile() const { return m_networkProfile; }
333 inline bool NetworkProfileHasBeenSet() const { return m_networkProfileHasBeenSet; }
334 template <typename NetworkProfileT = NetworkProfile>
335 void SetNetworkProfile(NetworkProfileT&& value) {
336 m_networkProfileHasBeenSet = true;
337 m_networkProfile = std::forward<NetworkProfileT>(value);
338 }
339 template <typename NetworkProfileT = NetworkProfile>
340 Run& WithNetworkProfile(NetworkProfileT&& value) {
341 SetNetworkProfile(std::forward<NetworkProfileT>(value));
342 return *this;
343 }
345
347
350 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
351 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
352 template <typename DeviceProxyT = DeviceProxy>
353 void SetDeviceProxy(DeviceProxyT&& value) {
354 m_deviceProxyHasBeenSet = true;
355 m_deviceProxy = std::forward<DeviceProxyT>(value);
356 }
357 template <typename DeviceProxyT = DeviceProxy>
358 Run& WithDeviceProxy(DeviceProxyT&& value) {
359 SetDeviceProxy(std::forward<DeviceProxyT>(value));
360 return *this;
361 }
363
365
370 inline const Aws::String& GetParsingResultUrl() const { return m_parsingResultUrl; }
371 inline bool ParsingResultUrlHasBeenSet() const { return m_parsingResultUrlHasBeenSet; }
372 template <typename ParsingResultUrlT = Aws::String>
373 void SetParsingResultUrl(ParsingResultUrlT&& value) {
374 m_parsingResultUrlHasBeenSet = true;
375 m_parsingResultUrl = std::forward<ParsingResultUrlT>(value);
376 }
377 template <typename ParsingResultUrlT = Aws::String>
378 Run& WithParsingResultUrl(ParsingResultUrlT&& value) {
379 SetParsingResultUrl(std::forward<ParsingResultUrlT>(value));
380 return *this;
381 }
383
385
390 inline ExecutionResultCode GetResultCode() const { return m_resultCode; }
391 inline bool ResultCodeHasBeenSet() const { return m_resultCodeHasBeenSet; }
393 m_resultCodeHasBeenSet = true;
394 m_resultCode = value;
395 }
397 SetResultCode(value);
398 return *this;
399 }
401
403
407 inline int GetSeed() const { return m_seed; }
408 inline bool SeedHasBeenSet() const { return m_seedHasBeenSet; }
409 inline void SetSeed(int value) {
410 m_seedHasBeenSet = true;
411 m_seed = value;
412 }
413 inline Run& WithSeed(int value) {
414 SetSeed(value);
415 return *this;
416 }
418
420
423 inline const Aws::String& GetAppUpload() const { return m_appUpload; }
424 inline bool AppUploadHasBeenSet() const { return m_appUploadHasBeenSet; }
425 template <typename AppUploadT = Aws::String>
426 void SetAppUpload(AppUploadT&& value) {
427 m_appUploadHasBeenSet = true;
428 m_appUpload = std::forward<AppUploadT>(value);
429 }
430 template <typename AppUploadT = Aws::String>
431 Run& WithAppUpload(AppUploadT&& value) {
432 SetAppUpload(std::forward<AppUploadT>(value));
433 return *this;
434 }
436
438
442 inline int GetEventCount() const { return m_eventCount; }
443 inline bool EventCountHasBeenSet() const { return m_eventCountHasBeenSet; }
444 inline void SetEventCount(int value) {
445 m_eventCountHasBeenSet = true;
446 m_eventCount = value;
447 }
448 inline Run& WithEventCount(int value) {
449 SetEventCount(value);
450 return *this;
451 }
453
455
458 inline int GetJobTimeoutMinutes() const { return m_jobTimeoutMinutes; }
459 inline bool JobTimeoutMinutesHasBeenSet() const { return m_jobTimeoutMinutesHasBeenSet; }
460 inline void SetJobTimeoutMinutes(int value) {
461 m_jobTimeoutMinutesHasBeenSet = true;
462 m_jobTimeoutMinutes = value;
463 }
464 inline Run& WithJobTimeoutMinutes(int value) {
466 return *this;
467 }
469
471
474 inline const Aws::String& GetDevicePoolArn() const { return m_devicePoolArn; }
475 inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; }
476 template <typename DevicePoolArnT = Aws::String>
477 void SetDevicePoolArn(DevicePoolArnT&& value) {
478 m_devicePoolArnHasBeenSet = true;
479 m_devicePoolArn = std::forward<DevicePoolArnT>(value);
480 }
481 template <typename DevicePoolArnT = Aws::String>
482 Run& WithDevicePoolArn(DevicePoolArnT&& value) {
483 SetDevicePoolArn(std::forward<DevicePoolArnT>(value));
484 return *this;
485 }
487
489
492 inline const Aws::String& GetLocale() const { return m_locale; }
493 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
494 template <typename LocaleT = Aws::String>
495 void SetLocale(LocaleT&& value) {
496 m_localeHasBeenSet = true;
497 m_locale = std::forward<LocaleT>(value);
498 }
499 template <typename LocaleT = Aws::String>
500 Run& WithLocale(LocaleT&& value) {
501 SetLocale(std::forward<LocaleT>(value));
502 return *this;
503 }
505
507
510 inline const Radios& GetRadios() const { return m_radios; }
511 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
512 template <typename RadiosT = Radios>
513 void SetRadios(RadiosT&& value) {
514 m_radiosHasBeenSet = true;
515 m_radios = std::forward<RadiosT>(value);
516 }
517 template <typename RadiosT = Radios>
518 Run& WithRadios(RadiosT&& value) {
519 SetRadios(std::forward<RadiosT>(value));
520 return *this;
521 }
523
525
528 inline const Location& GetLocation() const { return m_location; }
529 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
530 template <typename LocationT = Location>
531 void SetLocation(LocationT&& value) {
532 m_locationHasBeenSet = true;
533 m_location = std::forward<LocationT>(value);
534 }
535 template <typename LocationT = Location>
536 Run& WithLocation(LocationT&& value) {
537 SetLocation(std::forward<LocationT>(value));
538 return *this;
539 }
541
543
546 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const { return m_customerArtifactPaths; }
547 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
548 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
549 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
550 m_customerArtifactPathsHasBeenSet = true;
551 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
552 }
553 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
554 Run& WithCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
555 SetCustomerArtifactPaths(std::forward<CustomerArtifactPathsT>(value));
556 return *this;
557 }
559
561
564 inline const Aws::String& GetWebUrl() const { return m_webUrl; }
565 inline bool WebUrlHasBeenSet() const { return m_webUrlHasBeenSet; }
566 template <typename WebUrlT = Aws::String>
567 void SetWebUrl(WebUrlT&& value) {
568 m_webUrlHasBeenSet = true;
569 m_webUrl = std::forward<WebUrlT>(value);
570 }
571 template <typename WebUrlT = Aws::String>
572 Run& WithWebUrl(WebUrlT&& value) {
573 SetWebUrl(std::forward<WebUrlT>(value));
574 return *this;
575 }
577
579
586 inline bool GetSkipAppResign() const { return m_skipAppResign; }
587 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
588 inline void SetSkipAppResign(bool value) {
589 m_skipAppResignHasBeenSet = true;
590 m_skipAppResign = value;
591 }
592 inline Run& WithSkipAppResign(bool value) {
593 SetSkipAppResign(value);
594 return *this;
595 }
597
599
602 inline const Aws::String& GetTestSpecArn() const { return m_testSpecArn; }
603 inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
604 template <typename TestSpecArnT = Aws::String>
605 void SetTestSpecArn(TestSpecArnT&& value) {
606 m_testSpecArnHasBeenSet = true;
607 m_testSpecArn = std::forward<TestSpecArnT>(value);
608 }
609 template <typename TestSpecArnT = Aws::String>
610 Run& WithTestSpecArn(TestSpecArnT&& value) {
611 SetTestSpecArn(std::forward<TestSpecArnT>(value));
612 return *this;
613 }
615
617
620 inline const DeviceSelectionResult& GetDeviceSelectionResult() const { return m_deviceSelectionResult; }
621 inline bool DeviceSelectionResultHasBeenSet() const { return m_deviceSelectionResultHasBeenSet; }
622 template <typename DeviceSelectionResultT = DeviceSelectionResult>
623 void SetDeviceSelectionResult(DeviceSelectionResultT&& value) {
624 m_deviceSelectionResultHasBeenSet = true;
625 m_deviceSelectionResult = std::forward<DeviceSelectionResultT>(value);
626 }
627 template <typename DeviceSelectionResultT = DeviceSelectionResult>
628 Run& WithDeviceSelectionResult(DeviceSelectionResultT&& value) {
629 SetDeviceSelectionResult(std::forward<DeviceSelectionResultT>(value));
630 return *this;
631 }
633
635
638 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
639 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
640 template <typename VpcConfigT = VpcConfig>
641 void SetVpcConfig(VpcConfigT&& value) {
642 m_vpcConfigHasBeenSet = true;
643 m_vpcConfig = std::forward<VpcConfigT>(value);
644 }
645 template <typename VpcConfigT = VpcConfig>
646 Run& WithVpcConfig(VpcConfigT&& value) {
647 SetVpcConfig(std::forward<VpcConfigT>(value));
648 return *this;
649 }
651
653
656 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
657 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
658 template <typename ExecutionRoleArnT = Aws::String>
659 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
660 m_executionRoleArnHasBeenSet = true;
661 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
662 }
663 template <typename ExecutionRoleArnT = Aws::String>
664 Run& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
665 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
666 return *this;
667 }
669
671
674 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariables() const { return m_environmentVariables; }
675 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
676 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
677 void SetEnvironmentVariables(EnvironmentVariablesT&& value) {
678 m_environmentVariablesHasBeenSet = true;
679 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
680 }
681 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
682 Run& WithEnvironmentVariables(EnvironmentVariablesT&& value) {
683 SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value));
684 return *this;
685 }
686 template <typename EnvironmentVariablesT = EnvironmentVariable>
687 Run& AddEnvironmentVariables(EnvironmentVariablesT&& value) {
688 m_environmentVariablesHasBeenSet = true;
689 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
690 return *this;
691 }
693 private:
694 Aws::String m_arn;
695
696 Aws::String m_name;
697
699
701
702 Aws::Utils::DateTime m_created{};
703
705
707
708 Aws::Utils::DateTime m_started{};
709
710 Aws::Utils::DateTime m_stopped{};
711
712 Counters m_counters;
713
714 Aws::String m_message;
715
716 int m_totalJobs{0};
717
718 int m_completedJobs{0};
719
720 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
721
722 DeviceMinutes m_deviceMinutes;
723
724 NetworkProfile m_networkProfile;
725
726 DeviceProxy m_deviceProxy;
727
728 Aws::String m_parsingResultUrl;
729
731
732 int m_seed{0};
733
734 Aws::String m_appUpload;
735
736 int m_eventCount{0};
737
738 int m_jobTimeoutMinutes{0};
739
740 Aws::String m_devicePoolArn;
741
742 Aws::String m_locale;
743
744 Radios m_radios;
745
746 Location m_location;
747
748 CustomerArtifactPaths m_customerArtifactPaths;
749
750 Aws::String m_webUrl;
751
752 bool m_skipAppResign{false};
753
754 Aws::String m_testSpecArn;
755
756 DeviceSelectionResult m_deviceSelectionResult;
757
758 VpcConfig m_vpcConfig;
759
760 Aws::String m_executionRoleArn;
761
762 Aws::Vector<EnvironmentVariable> m_environmentVariables;
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;
798};
799
800} // namespace Model
801} // namespace DeviceFarm
802} // namespace Aws
Run & WithWebUrl(WebUrlT &&value)
Definition Run.h:572
Run & WithArn(ArnT &&value)
Definition Run.h:65
Run & WithStopped(StoppedT &&value)
Definition Run.h:216
void SetLocation(LocationT &&value)
Definition Run.h:531
bool CountersHasBeenSet() const
Definition Run.h:227
void SetResult(ExecutionResult value)
Definition Run.h:176
void SetPlatform(DevicePlatform value)
Definition Run.h:119
void SetCustomerArtifactPaths(CustomerArtifactPathsT &&value)
Definition Run.h:549
void SetNetworkProfile(NetworkProfileT &&value)
Definition Run.h:335
AWS_DEVICEFARM_API Run & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BillingMethodHasBeenSet() const
Definition Run.h:299
const Aws::String & GetDevicePoolArn() const
Definition Run.h:474
const Aws::String & GetLocale() const
Definition Run.h:492
const Aws::String & GetMessage() const
Definition Run.h:244
bool DeviceMinutesHasBeenSet() const
Definition Run.h:315
Run & WithLocation(LocationT &&value)
Definition Run.h:536
void SetVpcConfig(VpcConfigT &&value)
Definition Run.h:641
int GetCompletedJobs() const
Definition Run.h:278
const Aws::String & GetParsingResultUrl() const
Definition Run.h:370
bool LocaleHasBeenSet() const
Definition Run.h:493
Run & WithAppUpload(AppUploadT &&value)
Definition Run.h:431
TestType GetType() const
Definition Run.h:100
bool StoppedHasBeenSet() const
Definition Run.h:209
void SetWebUrl(WebUrlT &&value)
Definition Run.h:567
bool AppUploadHasBeenSet() const
Definition Run.h:424
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
Definition Run.h:674
int GetTotalJobs() const
Definition Run.h:262
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:677
int GetJobTimeoutMinutes() const
Definition Run.h:458
bool ParsingResultUrlHasBeenSet() const
Definition Run.h:371
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Run.h:659
void SetName(NameT &&value)
Definition Run.h:78
void SetStopped(StoppedT &&value)
Definition Run.h:211
void SetResultCode(ExecutionResultCode value)
Definition Run.h:392
bool EnvironmentVariablesHasBeenSet() const
Definition Run.h:675
bool WebUrlHasBeenSet() const
Definition Run.h:565
void SetDeviceMinutes(DeviceMinutesT &&value)
Definition Run.h:317
void SetMessage(MessageT &&value)
Definition Run.h:247
Run & WithType(TestType value)
Definition Run.h:106
void SetAppUpload(AppUploadT &&value)
Definition Run.h:426
Run & WithCompletedJobs(int value)
Definition Run.h:284
void SetTotalJobs(int value)
Definition Run.h:264
bool SeedHasBeenSet() const
Definition Run.h:408
Run & WithEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:682
void SetType(TestType value)
Definition Run.h:102
Run & WithSkipAppResign(bool value)
Definition Run.h:592
bool CreatedHasBeenSet() const
Definition Run.h:134
Run & WithJobTimeoutMinutes(int value)
Definition Run.h:464
const Aws::String & GetTestSpecArn() const
Definition Run.h:602
Run & WithTestSpecArn(TestSpecArnT &&value)
Definition Run.h:610
Run & WithResult(ExecutionResult value)
Definition Run.h:180
bool DevicePoolArnHasBeenSet() const
Definition Run.h:475
bool TestSpecArnHasBeenSet() const
Definition Run.h:603
Run & WithMessage(MessageT &&value)
Definition Run.h:252
Run & WithTotalJobs(int value)
Definition Run.h:268
Run & WithBillingMethod(BillingMethod value)
Definition Run.h:304
void SetSkipAppResign(bool value)
Definition Run.h:588
void SetLocale(LocaleT &&value)
Definition Run.h:495
bool ExecutionRoleArnHasBeenSet() const
Definition Run.h:657
Run & WithCounters(CountersT &&value)
Definition Run.h:234
const Radios & GetRadios() const
Definition Run.h:510
bool ArnHasBeenSet() const
Definition Run.h:58
bool LocationHasBeenSet() const
Definition Run.h:529
const VpcConfig & GetVpcConfig() const
Definition Run.h:638
int GetEventCount() const
Definition Run.h:442
bool SkipAppResignHasBeenSet() const
Definition Run.h:587
Run & WithRadios(RadiosT &&value)
Definition Run.h:518
Run & WithResultCode(ExecutionResultCode value)
Definition Run.h:396
Run & WithEventCount(int value)
Definition Run.h:448
bool TypeHasBeenSet() const
Definition Run.h:101
bool StatusHasBeenSet() const
Definition Run.h:156
bool NetworkProfileHasBeenSet() const
Definition Run.h:333
void SetJobTimeoutMinutes(int value)
Definition Run.h:460
const Aws::String & GetWebUrl() const
Definition Run.h:564
bool CustomerArtifactPathsHasBeenSet() const
Definition Run.h:547
Run & WithCustomerArtifactPaths(CustomerArtifactPathsT &&value)
Definition Run.h:554
Run & WithNetworkProfile(NetworkProfileT &&value)
Definition Run.h:340
DevicePlatform GetPlatform() const
Definition Run.h:117
Run & WithStatus(ExecutionStatus value)
Definition Run.h:161
int GetSeed() const
Definition Run.h:407
Run & WithVpcConfig(VpcConfigT &&value)
Definition Run.h:646
BillingMethod GetBillingMethod() const
Definition Run.h:298
bool RadiosHasBeenSet() const
Definition Run.h:511
bool EventCountHasBeenSet() const
Definition Run.h:443
const DeviceSelectionResult & GetDeviceSelectionResult() const
Definition Run.h:620
bool ResultCodeHasBeenSet() const
Definition Run.h:391
const Aws::String & GetName() const
Definition Run.h:75
Run & WithDevicePoolArn(DevicePoolArnT &&value)
Definition Run.h:482
void SetDeviceSelectionResult(DeviceSelectionResultT &&value)
Definition Run.h:623
Run & WithCreated(CreatedT &&value)
Definition Run.h:141
Run & WithDeviceSelectionResult(DeviceSelectionResultT &&value)
Definition Run.h:628
AWS_DEVICEFARM_API Run()=default
bool NameHasBeenSet() const
Definition Run.h:76
bool CompletedJobsHasBeenSet() const
Definition Run.h:279
const Aws::Utils::DateTime & GetCreated() const
Definition Run.h:133
Run & AddEnvironmentVariables(EnvironmentVariablesT &&value)
Definition Run.h:687
void SetStatus(ExecutionStatus value)
Definition Run.h:157
Run & WithStarted(StartedT &&value)
Definition Run.h:198
const Counters & GetCounters() const
Definition Run.h:226
void SetBillingMethod(BillingMethod value)
Definition Run.h:300
bool JobTimeoutMinutesHasBeenSet() const
Definition Run.h:459
void SetEventCount(int value)
Definition Run.h:444
bool DeviceProxyHasBeenSet() const
Definition Run.h:351
bool PlatformHasBeenSet() const
Definition Run.h:118
Run & WithExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Run.h:664
Run & WithDeviceProxy(DeviceProxyT &&value)
Definition Run.h:358
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
Definition Run.h:57
const DeviceMinutes & GetDeviceMinutes() const
Definition Run.h:314
const Aws::String & GetExecutionRoleArn() const
Definition Run.h:656
bool MessageHasBeenSet() const
Definition Run.h:245
const Aws::String & GetAppUpload() const
Definition Run.h:423
ExecutionResult GetResult() const
Definition Run.h:174
bool GetSkipAppResign() const
Definition Run.h:586
void SetDeviceProxy(DeviceProxyT &&value)
Definition Run.h:353
void SetStarted(StartedT &&value)
Definition Run.h:193
void SetCounters(CountersT &&value)
Definition Run.h:229
ExecutionStatus GetStatus() const
Definition Run.h:155
Run & WithDeviceMinutes(DeviceMinutesT &&value)
Definition Run.h:322
const Aws::Utils::DateTime & GetStopped() const
Definition Run.h:208
Run & WithSeed(int value)
Definition Run.h:413
void SetArn(ArnT &&value)
Definition Run.h:60
void SetCompletedJobs(int value)
Definition Run.h:280
AWS_DEVICEFARM_API Run(Aws::Utils::Json::JsonView jsonValue)
bool VpcConfigHasBeenSet() const
Definition Run.h:639
const CustomerArtifactPaths & GetCustomerArtifactPaths() const
Definition Run.h:546
bool ResultHasBeenSet() const
Definition Run.h:175
const Location & GetLocation() const
Definition Run.h:528
const DeviceProxy & GetDeviceProxy() const
Definition Run.h:350
ExecutionResultCode GetResultCode() const
Definition Run.h:390
void SetCreated(CreatedT &&value)
Definition Run.h:136
void SetTestSpecArn(TestSpecArnT &&value)
Definition Run.h:605
Run & WithName(NameT &&value)
Definition Run.h:83
void SetSeed(int value)
Definition Run.h:409
Run & WithPlatform(DevicePlatform value)
Definition Run.h:123
bool TotalJobsHasBeenSet() const
Definition Run.h:263
Run & WithLocale(LocaleT &&value)
Definition Run.h:500
bool StartedHasBeenSet() const
Definition Run.h:191
void SetRadios(RadiosT &&value)
Definition Run.h:513
void SetDevicePoolArn(DevicePoolArnT &&value)
Definition Run.h:477
Run & WithParsingResultUrl(ParsingResultUrlT &&value)
Definition Run.h:378
void SetParsingResultUrl(ParsingResultUrlT &&value)
Definition Run.h:373
const Aws::Utils::DateTime & GetStarted() const
Definition Run.h:190
bool DeviceSelectionResultHasBeenSet() const
Definition Run.h:621
const NetworkProfile & GetNetworkProfile() const
Definition Run.h:332
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue