AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionConfiguration.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DeviceFarm
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DEVICEFARM_API ExecutionConfiguration();
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetJobTimeoutMinutes() const{ return m_jobTimeoutMinutes; }
44 inline bool JobTimeoutMinutesHasBeenSet() const { return m_jobTimeoutMinutesHasBeenSet; }
45 inline void SetJobTimeoutMinutes(int value) { m_jobTimeoutMinutesHasBeenSet = true; m_jobTimeoutMinutes = value; }
46 inline ExecutionConfiguration& WithJobTimeoutMinutes(int value) { SetJobTimeoutMinutes(value); return *this;}
48
50
54 inline bool GetAccountsCleanup() const{ return m_accountsCleanup; }
55 inline bool AccountsCleanupHasBeenSet() const { return m_accountsCleanupHasBeenSet; }
56 inline void SetAccountsCleanup(bool value) { m_accountsCleanupHasBeenSet = true; m_accountsCleanup = value; }
57 inline ExecutionConfiguration& WithAccountsCleanup(bool value) { SetAccountsCleanup(value); return *this;}
59
61
65 inline bool GetAppPackagesCleanup() const{ return m_appPackagesCleanup; }
66 inline bool AppPackagesCleanupHasBeenSet() const { return m_appPackagesCleanupHasBeenSet; }
67 inline void SetAppPackagesCleanup(bool value) { m_appPackagesCleanupHasBeenSet = true; m_appPackagesCleanup = value; }
68 inline ExecutionConfiguration& WithAppPackagesCleanup(bool value) { SetAppPackagesCleanup(value); return *this;}
70
72
76 inline bool GetVideoCapture() const{ return m_videoCapture; }
77 inline bool VideoCaptureHasBeenSet() const { return m_videoCaptureHasBeenSet; }
78 inline void SetVideoCapture(bool value) { m_videoCaptureHasBeenSet = true; m_videoCapture = value; }
79 inline ExecutionConfiguration& WithVideoCapture(bool value) { SetVideoCapture(value); return *this;}
81
83
90 inline bool GetSkipAppResign() const{ return m_skipAppResign; }
91 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
92 inline void SetSkipAppResign(bool value) { m_skipAppResignHasBeenSet = true; m_skipAppResign = value; }
93 inline ExecutionConfiguration& WithSkipAppResign(bool value) { SetSkipAppResign(value); return *this;}
95 private:
96
97 int m_jobTimeoutMinutes;
98 bool m_jobTimeoutMinutesHasBeenSet = false;
99
100 bool m_accountsCleanup;
101 bool m_accountsCleanupHasBeenSet = false;
102
103 bool m_appPackagesCleanup;
104 bool m_appPackagesCleanupHasBeenSet = false;
105
106 bool m_videoCapture;
107 bool m_videoCaptureHasBeenSet = false;
108
109 bool m_skipAppResign;
110 bool m_skipAppResignHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace DeviceFarm
115} // namespace Aws
ExecutionConfiguration & WithVideoCapture(bool value)
ExecutionConfiguration & WithSkipAppResign(bool value)
ExecutionConfiguration & WithAppPackagesCleanup(bool value)
AWS_DEVICEFARM_API ExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecutionConfiguration & WithAccountsCleanup(bool value)
ExecutionConfiguration & WithJobTimeoutMinutes(int value)
AWS_DEVICEFARM_API ExecutionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue