AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScheduleRunConfiguration.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/Location.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/devicefarm/model/DeviceProxy.h>
12#include <aws/devicefarm/model/CustomerArtifactPaths.h>
13#include <aws/devicefarm/model/Radios.h>
14#include <aws/devicefarm/model/BillingMethod.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DeviceFarm
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_DEVICEFARM_API ScheduleRunConfiguration() = default;
44 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::String& GetExtraDataPackageArn() const { return m_extraDataPackageArn; }
54 inline bool ExtraDataPackageArnHasBeenSet() const { return m_extraDataPackageArnHasBeenSet; }
55 template<typename ExtraDataPackageArnT = Aws::String>
56 void SetExtraDataPackageArn(ExtraDataPackageArnT&& value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn = std::forward<ExtraDataPackageArnT>(value); }
57 template<typename ExtraDataPackageArnT = Aws::String>
58 ScheduleRunConfiguration& WithExtraDataPackageArn(ExtraDataPackageArnT&& value) { SetExtraDataPackageArn(std::forward<ExtraDataPackageArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetNetworkProfileArn() const { return m_networkProfileArn; }
66 inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
67 template<typename NetworkProfileArnT = Aws::String>
68 void SetNetworkProfileArn(NetworkProfileArnT&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::forward<NetworkProfileArnT>(value); }
69 template<typename NetworkProfileArnT = Aws::String>
70 ScheduleRunConfiguration& WithNetworkProfileArn(NetworkProfileArnT&& value) { SetNetworkProfileArn(std::forward<NetworkProfileArnT>(value)); return *this;}
72
74
77 inline const Aws::String& GetLocale() const { return m_locale; }
78 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
79 template<typename LocaleT = Aws::String>
80 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
81 template<typename LocaleT = Aws::String>
82 ScheduleRunConfiguration& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
84
86
89 inline const Location& GetLocation() const { return m_location; }
90 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
91 template<typename LocationT = Location>
92 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
93 template<typename LocationT = Location>
94 ScheduleRunConfiguration& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
96
98
101 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
102 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
103 template<typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
104 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value); }
105 template<typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
106 ScheduleRunConfiguration& WithVpceConfigurationArns(VpceConfigurationArnsT&& value) { SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value)); return *this;}
107 template<typename VpceConfigurationArnsT = Aws::String>
108 ScheduleRunConfiguration& AddVpceConfigurationArns(VpceConfigurationArnsT&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value)); return *this; }
110
112
115 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
116 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
117 template<typename DeviceProxyT = DeviceProxy>
118 void SetDeviceProxy(DeviceProxyT&& value) { m_deviceProxyHasBeenSet = true; m_deviceProxy = std::forward<DeviceProxyT>(value); }
119 template<typename DeviceProxyT = DeviceProxy>
120 ScheduleRunConfiguration& WithDeviceProxy(DeviceProxyT&& value) { SetDeviceProxy(std::forward<DeviceProxyT>(value)); return *this;}
122
124
128 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const { return m_customerArtifactPaths; }
129 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
130 template<typename CustomerArtifactPathsT = CustomerArtifactPaths>
131 void SetCustomerArtifactPaths(CustomerArtifactPathsT&& value) { m_customerArtifactPathsHasBeenSet = true; m_customerArtifactPaths = std::forward<CustomerArtifactPathsT>(value); }
132 template<typename CustomerArtifactPathsT = CustomerArtifactPaths>
133 ScheduleRunConfiguration& WithCustomerArtifactPaths(CustomerArtifactPathsT&& value) { SetCustomerArtifactPaths(std::forward<CustomerArtifactPathsT>(value)); return *this;}
135
137
140 inline const Radios& GetRadios() const { return m_radios; }
141 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
142 template<typename RadiosT = Radios>
143 void SetRadios(RadiosT&& value) { m_radiosHasBeenSet = true; m_radios = std::forward<RadiosT>(value); }
144 template<typename RadiosT = Radios>
145 ScheduleRunConfiguration& WithRadios(RadiosT&& value) { SetRadios(std::forward<RadiosT>(value)); return *this;}
147
149
152 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const { return m_auxiliaryApps; }
153 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
154 template<typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
155 void SetAuxiliaryApps(AuxiliaryAppsT&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps = std::forward<AuxiliaryAppsT>(value); }
156 template<typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
157 ScheduleRunConfiguration& WithAuxiliaryApps(AuxiliaryAppsT&& value) { SetAuxiliaryApps(std::forward<AuxiliaryAppsT>(value)); return *this;}
158 template<typename AuxiliaryAppsT = Aws::String>
159 ScheduleRunConfiguration& AddAuxiliaryApps(AuxiliaryAppsT&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.emplace_back(std::forward<AuxiliaryAppsT>(value)); return *this; }
161
163
170 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
171 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
172 inline void SetBillingMethod(BillingMethod value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
175 private:
176
177 Aws::String m_extraDataPackageArn;
178 bool m_extraDataPackageArnHasBeenSet = false;
179
180 Aws::String m_networkProfileArn;
181 bool m_networkProfileArnHasBeenSet = false;
182
183 Aws::String m_locale;
184 bool m_localeHasBeenSet = false;
185
186 Location m_location;
187 bool m_locationHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_vpceConfigurationArns;
190 bool m_vpceConfigurationArnsHasBeenSet = false;
191
192 DeviceProxy m_deviceProxy;
193 bool m_deviceProxyHasBeenSet = false;
194
195 CustomerArtifactPaths m_customerArtifactPaths;
196 bool m_customerArtifactPathsHasBeenSet = false;
197
198 Radios m_radios;
199 bool m_radiosHasBeenSet = false;
200
201 Aws::Vector<Aws::String> m_auxiliaryApps;
202 bool m_auxiliaryAppsHasBeenSet = false;
203
204 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
205 bool m_billingMethodHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace DeviceFarm
210} // 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)
const Aws::Vector< Aws::String > & GetAuxiliaryApps() const
const CustomerArtifactPaths & GetCustomerArtifactPaths() 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)
AWS_DEVICEFARM_API ScheduleRunConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue