AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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/Location.h>
15#include <aws/devicefarm/model/Radios.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DeviceFarm {
27namespace Model {
28
36 public:
37 AWS_DEVICEFARM_API ScheduleRunConfiguration() = default;
40 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
48 inline const Aws::String& GetExtraDataPackageArn() const { return m_extraDataPackageArn; }
49 inline bool ExtraDataPackageArnHasBeenSet() const { return m_extraDataPackageArnHasBeenSet; }
50 template <typename ExtraDataPackageArnT = Aws::String>
51 void SetExtraDataPackageArn(ExtraDataPackageArnT&& value) {
52 m_extraDataPackageArnHasBeenSet = true;
53 m_extraDataPackageArn = std::forward<ExtraDataPackageArnT>(value);
54 }
55 template <typename ExtraDataPackageArnT = Aws::String>
56 ScheduleRunConfiguration& WithExtraDataPackageArn(ExtraDataPackageArnT&& value) {
57 SetExtraDataPackageArn(std::forward<ExtraDataPackageArnT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetNetworkProfileArn() const { return m_networkProfileArn; }
67 inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
68 template <typename NetworkProfileArnT = Aws::String>
69 void SetNetworkProfileArn(NetworkProfileArnT&& value) {
70 m_networkProfileArnHasBeenSet = true;
71 m_networkProfileArn = std::forward<NetworkProfileArnT>(value);
72 }
73 template <typename NetworkProfileArnT = Aws::String>
74 ScheduleRunConfiguration& WithNetworkProfileArn(NetworkProfileArnT&& value) {
75 SetNetworkProfileArn(std::forward<NetworkProfileArnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetLocale() const { return m_locale; }
85 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
86 template <typename LocaleT = Aws::String>
87 void SetLocale(LocaleT&& value) {
88 m_localeHasBeenSet = true;
89 m_locale = std::forward<LocaleT>(value);
90 }
91 template <typename LocaleT = Aws::String>
93 SetLocale(std::forward<LocaleT>(value));
94 return *this;
95 }
97
99
102 inline const Location& GetLocation() const { return m_location; }
103 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
104 template <typename LocationT = Location>
105 void SetLocation(LocationT&& value) {
106 m_locationHasBeenSet = true;
107 m_location = std::forward<LocationT>(value);
108 }
109 template <typename LocationT = Location>
111 SetLocation(std::forward<LocationT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
121 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
122 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
123 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) {
124 m_vpceConfigurationArnsHasBeenSet = true;
125 m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value);
126 }
127 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
128 ScheduleRunConfiguration& WithVpceConfigurationArns(VpceConfigurationArnsT&& value) {
129 SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value));
130 return *this;
131 }
132 template <typename VpceConfigurationArnsT = Aws::String>
133 ScheduleRunConfiguration& AddVpceConfigurationArns(VpceConfigurationArnsT&& value) {
134 m_vpceConfigurationArnsHasBeenSet = true;
135 m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value));
136 return *this;
137 }
139
141
144 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
145 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
146 template <typename DeviceProxyT = DeviceProxy>
147 void SetDeviceProxy(DeviceProxyT&& value) {
148 m_deviceProxyHasBeenSet = true;
149 m_deviceProxy = std::forward<DeviceProxyT>(value);
150 }
151 template <typename DeviceProxyT = DeviceProxy>
153 SetDeviceProxy(std::forward<DeviceProxyT>(value));
154 return *this;
155 }
157
159
163 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const { return m_customerArtifactPaths; }
164 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
165 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
166 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
167 m_customerArtifactPathsHasBeenSet = true;
168 m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value);
169 }
170 template <typename CustomerArtifactPathsT = CustomerArtifactPaths>
171 ScheduleRunConfiguration& WithCustomerArtifactPaths(CustomerArtifactPathsT&& value) {
172 SetCustomerArtifactPaths(std::forward<CustomerArtifactPathsT>(value));
173 return *this;
174 }
176
178
181 inline const Radios& GetRadios() const { return m_radios; }
182 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
183 template <typename RadiosT = Radios>
184 void SetRadios(RadiosT&& value) {
185 m_radiosHasBeenSet = true;
186 m_radios = std::forward<RadiosT>(value);
187 }
188 template <typename RadiosT = Radios>
190 SetRadios(std::forward<RadiosT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const { return m_auxiliaryApps; }
200 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
201 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
202 void SetAuxiliaryApps(AuxiliaryAppsT&& value) {
203 m_auxiliaryAppsHasBeenSet = true;
204 m_auxiliaryApps = std::forward<AuxiliaryAppsT>(value);
205 }
206 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
208 SetAuxiliaryApps(std::forward<AuxiliaryAppsT>(value));
209 return *this;
210 }
211 template <typename AuxiliaryAppsT = Aws::String>
213 m_auxiliaryAppsHasBeenSet = true;
214 m_auxiliaryApps.emplace_back(std::forward<AuxiliaryAppsT>(value));
215 return *this;
216 }
218
220
227 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
228 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
229 inline void SetBillingMethod(BillingMethod value) {
230 m_billingMethodHasBeenSet = true;
231 m_billingMethod = value;
232 }
234 SetBillingMethod(value);
235 return *this;
236 }
238
240
243 inline const Aws::Vector<EnvironmentVariable>& GetEnvironmentVariables() const { return m_environmentVariables; }
244 inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; }
245 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
246 void SetEnvironmentVariables(EnvironmentVariablesT&& value) {
247 m_environmentVariablesHasBeenSet = true;
248 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
249 }
250 template <typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
251 ScheduleRunConfiguration& WithEnvironmentVariables(EnvironmentVariablesT&& value) {
252 SetEnvironmentVariables(std::forward<EnvironmentVariablesT>(value));
253 return *this;
254 }
255 template <typename EnvironmentVariablesT = EnvironmentVariable>
256 ScheduleRunConfiguration& AddEnvironmentVariables(EnvironmentVariablesT&& value) {
257 m_environmentVariablesHasBeenSet = true;
258 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
259 return *this;
260 }
262
264
267 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
268 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
269 template <typename ExecutionRoleArnT = Aws::String>
270 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
271 m_executionRoleArnHasBeenSet = true;
272 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
273 }
274 template <typename ExecutionRoleArnT = Aws::String>
275 ScheduleRunConfiguration& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
276 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
277 return *this;
278 }
280 private:
281 Aws::String m_extraDataPackageArn;
282
283 Aws::String m_networkProfileArn;
284
285 Aws::String m_locale;
286
287 Location m_location;
288
289 Aws::Vector<Aws::String> m_vpceConfigurationArns;
290
291 DeviceProxy m_deviceProxy;
292
293 CustomerArtifactPaths m_customerArtifactPaths;
294
295 Radios m_radios;
296
297 Aws::Vector<Aws::String> m_auxiliaryApps;
298
299 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
300
301 Aws::Vector<EnvironmentVariable> m_environmentVariables;
302
303 Aws::String m_executionRoleArn;
304 bool m_extraDataPackageArnHasBeenSet = false;
305 bool m_networkProfileArnHasBeenSet = false;
306 bool m_localeHasBeenSet = false;
307 bool m_locationHasBeenSet = false;
308 bool m_vpceConfigurationArnsHasBeenSet = false;
309 bool m_deviceProxyHasBeenSet = false;
310 bool m_customerArtifactPathsHasBeenSet = false;
311 bool m_radiosHasBeenSet = false;
312 bool m_auxiliaryAppsHasBeenSet = false;
313 bool m_billingMethodHasBeenSet = false;
314 bool m_environmentVariablesHasBeenSet = false;
315 bool m_executionRoleArnHasBeenSet = false;
316};
317
318} // namespace Model
319} // namespace DeviceFarm
320} // namespace Aws
ScheduleRunConfiguration & WithAuxiliaryApps(AuxiliaryAppsT &&value)
void SetExtraDataPackageArn(ExtraDataPackageArnT &&value)
ScheduleRunConfiguration & WithExtraDataPackageArn(ExtraDataPackageArnT &&value)
ScheduleRunConfiguration & WithRadios(RadiosT &&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
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