AWS SDK for C++

AWS SDK for C++ Version 1.11.877

Loading...
Searching...
No Matches
ScheduleRunConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/BillingMethod.h>
11#include <aws/devicefarm/model/CustomerArtifactPaths.h>
12#include <aws/devicefarm/model/DeviceProxy.h>
13#include <aws/devicefarm/model/EnvironmentVariable.h>
14#include <aws/devicefarm/model/InsightsType.h>
15#include <aws/devicefarm/model/Location.h>
16#include <aws/devicefarm/model/Radios.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DeviceFarm {
28namespace Model {
29
37 public:
38 AWS_DEVICEFARM_API ScheduleRunConfiguration() = default;
41 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
49 inline const Aws::String& GetExtraDataPackageArn() const { return m_extraDataPackageArn; }
50 inline bool ExtraDataPackageArnHasBeenSet() const { return m_extraDataPackageArnHasBeenSet; }
51 template <typename ExtraDataPackageArnT = Aws::String>
52 void SetExtraDataPackageArn(ExtraDataPackageArnT&& value) {
53 m_extraDataPackageArnHasBeenSet = true;
54 m_extraDataPackageArn = std::forward<ExtraDataPackageArnT>(value);
55 }
56 template <typename ExtraDataPackageArnT = Aws::String>
57 ScheduleRunConfiguration& WithExtraDataPackageArn(ExtraDataPackageArnT&& value) {
58 SetExtraDataPackageArn(std::forward<ExtraDataPackageArnT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetNetworkProfileArn() const { return m_networkProfileArn; }
68 inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
69 template <typename NetworkProfileArnT = Aws::String>
70 void SetNetworkProfileArn(NetworkProfileArnT&& value) {
71 m_networkProfileArnHasBeenSet = true;
72 m_networkProfileArn = std::forward<NetworkProfileArnT>(value);
73 }
74 template <typename NetworkProfileArnT = Aws::String>
75 ScheduleRunConfiguration& WithNetworkProfileArn(NetworkProfileArnT&& value) {
76 SetNetworkProfileArn(std::forward<NetworkProfileArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetLocale() const { return m_locale; }
86 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
87 template <typename LocaleT = Aws::String>
88 void SetLocale(LocaleT&& value) {
89 m_localeHasBeenSet = true;
90 m_locale = std::forward<LocaleT>(value);
91 }
92 template <typename LocaleT = Aws::String>
94 SetLocale(std::forward<LocaleT>(value));
95 return *this;
96 }
98
100
103 inline const Location& GetLocation() const { return m_location; }
104 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
105 template <typename LocationT = Location>
106 void SetLocation(LocationT&& value) {
107 m_locationHasBeenSet = true;
108 m_location = std::forward<LocationT>(value);
109 }
110 template <typename LocationT = Location>
112 SetLocation(std::forward<LocationT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
122 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
123 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
124 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) {
125 m_vpceConfigurationArnsHasBeenSet = true;
126 m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value);
127 }
128 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
129 ScheduleRunConfiguration& WithVpceConfigurationArns(VpceConfigurationArnsT&& value) {
130 SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value));
131 return *this;
132 }
133 template <typename VpceConfigurationArnsT = Aws::String>
134 ScheduleRunConfiguration& AddVpceConfigurationArns(VpceConfigurationArnsT&& value) {
135 m_vpceConfigurationArnsHasBeenSet = true;
136 m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value));
137 return *this;
138 }
140
142
145 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
146 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
147 template <typename DeviceProxyT = DeviceProxy>
148 void SetDeviceProxy(DeviceProxyT&& value) {
149 m_deviceProxyHasBeenSet = true;
150 m_deviceProxy = std::forward<DeviceProxyT>(value);
151 }
152 template <typename DeviceProxyT = DeviceProxy>
154 SetDeviceProxy(std::forward<DeviceProxyT>(value));
155 return *this;
156 }
158
160
164 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const { return m_customerArtifactPaths; }
165 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
166 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
167 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
168 m_customerArtifactPathsHasBeenSet = true;
169 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
170 }
171 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
172 ScheduleRunConfiguration& WithCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
173 SetCustomerArtifactPaths(std::forward<CustomerArtifactPathsT>(value));
174 return *this;
175 }
177
179
182 inline const Radios& GetRadios() const { return m_radios; }
183 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
184 template <typename RadiosT = Radios>
185 void SetRadios(RadiosT&& value) {
186 m_radiosHasBeenSet = true;
187 m_radios = std::forward<RadiosT>(value);
188 }
189 template <typename RadiosT = Radios>
191 SetRadios(std::forward<RadiosT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const { return m_auxiliaryApps; }
201 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
202 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
203 void SetAuxiliaryApps(AuxiliaryAppsT&& value) {
204 m_auxiliaryAppsHasBeenSet = true;
205 m_auxiliaryApps = std::forward<AuxiliaryAppsT>(value);
206 }
207 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
209 SetAuxiliaryApps(std::forward<AuxiliaryAppsT>(value));
210 return *this;
211 }
212 template <typename AuxiliaryAppsT = Aws::String>
214 m_auxiliaryAppsHasBeenSet = true;
215 m_auxiliaryApps.emplace_back(std::forward<AuxiliaryAppsT>(value));
216 return *this;
217 }
219
221
228 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
229 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
230 inline void SetBillingMethod(BillingMethod value) {
231 m_billingMethodHasBeenSet = true;
232 m_billingMethod = value;
233 }
235 SetBillingMethod(value);
236 return *this;
237 }
239
241
244 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariables() const { return m_environmentVariables; }
245 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
246 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
247 void SetEnvironmentVariables(EnvironmentVariablesT&& value) {
248 m_environmentVariablesHasBeenSet = true;
249 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
250 }
251 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
252 ScheduleRunConfiguration& WithEnvironmentVariables(EnvironmentVariablesT&& value) {
253 SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value));
254 return *this;
255 }
256 template <typename EnvironmentVariablesT = EnvironmentVariable>
257 ScheduleRunConfiguration& AddEnvironmentVariables(EnvironmentVariablesT&& value) {
258 m_environmentVariablesHasBeenSet = true;
259 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
260 return *this;
261 }
263
265
268 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
269 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
270 template <typename ExecutionRoleArnT = Aws::String>
271 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
272 m_executionRoleArnHasBeenSet = true;
273 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
274 }
275 template <typename ExecutionRoleArnT = Aws::String>
276 ScheduleRunConfiguration& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
277 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
278 return *this;
279 }
281
283
289 inline const Aws::Vector<InsightsType>& GetInsightsTypes() const { return m_insightsTypes; }
290 inline bool InsightsTypesHasBeenSet() const { return m_insightsTypesHasBeenSet; }
291 template <typename InsightsTypesT = Aws::Vector<InsightsType>>
292 void SetInsightsTypes(InsightsTypesT&& value) {
293 m_insightsTypesHasBeenSet = true;
294 m_insightsTypes = std::forward<InsightsTypesT>(value);
295 }
296 template <typename InsightsTypesT = Aws::Vector<InsightsType>>
298 SetInsightsTypes(std::forward<InsightsTypesT>(value));
299 return *this;
300 }
302 m_insightsTypesHasBeenSet = true;
303 m_insightsTypes.push_back(value);
304 return *this;
305 }
307 private:
308 Aws::String m_extraDataPackageArn;
309
310 Aws::String m_networkProfileArn;
311
312 Aws::String m_locale;
313
314 Location m_location;
315
316 Aws::Vector<Aws::String> m_vpceConfigurationArns;
317
318 DeviceProxy m_deviceProxy;
319
320 CustomerArtifactPaths m_customerArtifactPaths;
321
322 Radios m_radios;
323
324 Aws::Vector<Aws::String> m_auxiliaryApps;
325
326 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
327
328 Aws::Vector<EnvironmentVariable> m_environmentVariables;
329
330 Aws::String m_executionRoleArn;
331
332 Aws::Vector<InsightsType> m_insightsTypes;
333 bool m_extraDataPackageArnHasBeenSet = false;
334 bool m_networkProfileArnHasBeenSet = false;
335 bool m_localeHasBeenSet = false;
336 bool m_locationHasBeenSet = false;
337 bool m_vpceConfigurationArnsHasBeenSet = false;
338 bool m_deviceProxyHasBeenSet = false;
339 bool m_customerArtifactPathsHasBeenSet = false;
340 bool m_radiosHasBeenSet = false;
341 bool m_auxiliaryAppsHasBeenSet = false;
342 bool m_billingMethodHasBeenSet = false;
343 bool m_environmentVariablesHasBeenSet = false;
344 bool m_executionRoleArnHasBeenSet = false;
345 bool m_insightsTypesHasBeenSet = false;
346};
347
348} // namespace Model
349} // namespace DeviceFarm
350} // namespace Aws
ScheduleRunConfiguration & WithAuxiliaryApps(AuxiliaryAppsT &&value)
ScheduleRunConfiguration & AddInsightsTypes(InsightsType value)
void SetExtraDataPackageArn(ExtraDataPackageArnT &&value)
ScheduleRunConfiguration & WithExtraDataPackageArn(ExtraDataPackageArnT &&value)
ScheduleRunConfiguration & WithRadios(RadiosT &&value)
ScheduleRunConfiguration & WithInsightsTypes(InsightsTypesT &&value)
void SetCustomerArtifactPaths(CustomerArtifactPathsT &&value)
const Aws::Vector< Aws::String > & GetVpceConfigurationArns() const
ScheduleRunConfiguration & AddAuxiliaryApps(AuxiliaryAppsT &&value)
ScheduleRunConfiguration & WithNetworkProfileArn(NetworkProfileArnT &&value)
ScheduleRunConfiguration & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Vector< Aws::String > & GetAuxiliaryApps() const
const CustomerArtifactPaths & GetCustomerArtifactPaths() const
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
const Aws::Vector< InsightsType > & GetInsightsTypes() const
ScheduleRunConfiguration & WithLocale(LocaleT &&value)
ScheduleRunConfiguration & WithCustomerArtifactPaths(CustomerArtifactPathsT &&value)
AWS_DEVICEFARM_API ScheduleRunConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunConfiguration & WithVpceConfigurationArns(VpceConfigurationArnsT &&value)
ScheduleRunConfiguration & WithDeviceProxy(DeviceProxyT &&value)
ScheduleRunConfiguration & AddVpceConfigurationArns(VpceConfigurationArnsT &&value)
ScheduleRunConfiguration & WithBillingMethod(BillingMethod value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpceConfigurationArns(VpceConfigurationArnsT &&value)
AWS_DEVICEFARM_API ScheduleRunConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunConfiguration & WithLocation(LocationT &&value)
ScheduleRunConfiguration & AddEnvironmentVariables(EnvironmentVariablesT &&value)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
AWS_DEVICEFARM_API ScheduleRunConfiguration()=default
ScheduleRunConfiguration & WithEnvironmentVariables(EnvironmentVariablesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue