AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleRunRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/DeviceSelectionConfiguration.h>
11#include <aws/devicefarm/model/ScheduleRunTest.h>
12#include <aws/devicefarm/model/ScheduleRunConfiguration.h>
13#include <aws/devicefarm/model/ExecutionConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace DeviceFarm
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_DEVICEFARM_API ScheduleRunRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ScheduleRun"; }
39
40 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
41
43
44
46
49 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
50 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
51 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
52 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
53 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
54 inline ScheduleRunRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
55 inline ScheduleRunRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
56 inline ScheduleRunRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
58
60
64 inline const Aws::String& GetAppArn() const{ return m_appArn; }
65 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
66 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
67 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
68 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
69 inline ScheduleRunRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
70 inline ScheduleRunRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
71 inline ScheduleRunRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
73
75
78 inline const Aws::String& GetDevicePoolArn() const{ return m_devicePoolArn; }
79 inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; }
80 inline void SetDevicePoolArn(const Aws::String& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = value; }
81 inline void SetDevicePoolArn(Aws::String&& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = std::move(value); }
82 inline void SetDevicePoolArn(const char* value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn.assign(value); }
83 inline ScheduleRunRequest& WithDevicePoolArn(const Aws::String& value) { SetDevicePoolArn(value); return *this;}
84 inline ScheduleRunRequest& WithDevicePoolArn(Aws::String&& value) { SetDevicePoolArn(std::move(value)); return *this;}
85 inline ScheduleRunRequest& WithDevicePoolArn(const char* value) { SetDevicePoolArn(value); return *this;}
87
89
95 inline const DeviceSelectionConfiguration& GetDeviceSelectionConfiguration() const{ return m_deviceSelectionConfiguration; }
96 inline bool DeviceSelectionConfigurationHasBeenSet() const { return m_deviceSelectionConfigurationHasBeenSet; }
97 inline void SetDeviceSelectionConfiguration(const DeviceSelectionConfiguration& value) { m_deviceSelectionConfigurationHasBeenSet = true; m_deviceSelectionConfiguration = value; }
98 inline void SetDeviceSelectionConfiguration(DeviceSelectionConfiguration&& value) { m_deviceSelectionConfigurationHasBeenSet = true; m_deviceSelectionConfiguration = std::move(value); }
102
104
107 inline const Aws::String& GetName() const{ return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
110 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
111 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
112 inline ScheduleRunRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
113 inline ScheduleRunRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 inline ScheduleRunRequest& WithName(const char* value) { SetName(value); return *this;}
116
118
121 inline const ScheduleRunTest& GetTest() const{ return m_test; }
122 inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
123 inline void SetTest(const ScheduleRunTest& value) { m_testHasBeenSet = true; m_test = value; }
124 inline void SetTest(ScheduleRunTest&& value) { m_testHasBeenSet = true; m_test = std::move(value); }
125 inline ScheduleRunRequest& WithTest(const ScheduleRunTest& value) { SetTest(value); return *this;}
126 inline ScheduleRunRequest& WithTest(ScheduleRunTest&& value) { SetTest(std::move(value)); return *this;}
128
130
133 inline const ScheduleRunConfiguration& GetConfiguration() const{ return m_configuration; }
134 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
135 inline void SetConfiguration(const ScheduleRunConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
136 inline void SetConfiguration(ScheduleRunConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
138 inline ScheduleRunRequest& WithConfiguration(ScheduleRunConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
140
142
146 inline const ExecutionConfiguration& GetExecutionConfiguration() const{ return m_executionConfiguration; }
147 inline bool ExecutionConfigurationHasBeenSet() const { return m_executionConfigurationHasBeenSet; }
148 inline void SetExecutionConfiguration(const ExecutionConfiguration& value) { m_executionConfigurationHasBeenSet = true; m_executionConfiguration = value; }
149 inline void SetExecutionConfiguration(ExecutionConfiguration&& value) { m_executionConfigurationHasBeenSet = true; m_executionConfiguration = std::move(value); }
153 private:
154
155 Aws::String m_projectArn;
156 bool m_projectArnHasBeenSet = false;
157
158 Aws::String m_appArn;
159 bool m_appArnHasBeenSet = false;
160
161 Aws::String m_devicePoolArn;
162 bool m_devicePoolArnHasBeenSet = false;
163
164 DeviceSelectionConfiguration m_deviceSelectionConfiguration;
165 bool m_deviceSelectionConfigurationHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 ScheduleRunTest m_test;
171 bool m_testHasBeenSet = false;
172
173 ScheduleRunConfiguration m_configuration;
174 bool m_configurationHasBeenSet = false;
175
176 ExecutionConfiguration m_executionConfiguration;
177 bool m_executionConfigurationHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace DeviceFarm
182} // namespace Aws
ScheduleRunRequest & WithProjectArn(Aws::String &&value)
const ScheduleRunConfiguration & GetConfiguration() const
ScheduleRunRequest & WithProjectArn(const char *value)
void SetConfiguration(ScheduleRunConfiguration &&value)
ScheduleRunRequest & WithConfiguration(ScheduleRunConfiguration &&value)
ScheduleRunRequest & WithDevicePoolArn(Aws::String &&value)
ScheduleRunRequest & WithConfiguration(const ScheduleRunConfiguration &value)
void SetDeviceSelectionConfiguration(const DeviceSelectionConfiguration &value)
virtual const char * GetServiceRequestName() const override
void SetExecutionConfiguration(const ExecutionConfiguration &value)
ScheduleRunRequest & WithDevicePoolArn(const char *value)
const ExecutionConfiguration & GetExecutionConfiguration() const
void SetProjectArn(const Aws::String &value)
const ScheduleRunTest & GetTest() const
ScheduleRunRequest & WithExecutionConfiguration(const ExecutionConfiguration &value)
void SetConfiguration(const ScheduleRunConfiguration &value)
ScheduleRunRequest & WithAppArn(Aws::String &&value)
void SetDevicePoolArn(const Aws::String &value)
const DeviceSelectionConfiguration & GetDeviceSelectionConfiguration() const
void SetExecutionConfiguration(ExecutionConfiguration &&value)
ScheduleRunRequest & WithDeviceSelectionConfiguration(const DeviceSelectionConfiguration &value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ScheduleRunRequest & WithName(const Aws::String &value)
ScheduleRunRequest & WithTest(const ScheduleRunTest &value)
void SetAppArn(const Aws::String &value)
ScheduleRunRequest & WithDeviceSelectionConfiguration(DeviceSelectionConfiguration &&value)
ScheduleRunRequest & WithExecutionConfiguration(ExecutionConfiguration &&value)
void SetTest(const ScheduleRunTest &value)
void SetDeviceSelectionConfiguration(DeviceSelectionConfiguration &&value)
ScheduleRunRequest & WithProjectArn(const Aws::String &value)
ScheduleRunRequest & WithName(const char *value)
ScheduleRunRequest & WithAppArn(const Aws::String &value)
ScheduleRunRequest & WithName(Aws::String &&value)
ScheduleRunRequest & WithDevicePoolArn(const Aws::String &value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ScheduleRunRequest & WithTest(ScheduleRunTest &&value)
ScheduleRunRequest & WithAppArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String