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/CPU.h>
11#include <aws/devicefarm/model/DeviceAvailability.h>
12#include <aws/devicefarm/model/DeviceFormFactor.h>
13#include <aws/devicefarm/model/DeviceInstance.h>
14#include <aws/devicefarm/model/DevicePlatform.h>
15#include <aws/devicefarm/model/Resolution.h>
37 AWS_DEVICEFARM_API
Device() =
default;
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename ManufacturerT = Aws::String>
86 m_manufacturerHasBeenSet =
true;
87 m_manufacturer = std::forward<ManufacturerT>(value);
89 template <
typename ManufacturerT = Aws::String>
102 template <
typename ModelT = Aws::String>
104 m_modelHasBeenSet =
true;
105 m_model = std::forward<ModelT>(value);
107 template <
typename ModelT = Aws::String>
109 SetModel(std::forward<ModelT>(value));
120 template <
typename ModelIdT = Aws::String>
122 m_modelIdHasBeenSet =
true;
123 m_modelId = std::forward<ModelIdT>(value);
125 template <
typename ModelIdT = Aws::String>
140 m_formFactorHasBeenSet =
true;
141 m_formFactor = value;
157 m_platformHasBeenSet =
true;
172 template <
typename OsT = Aws::String>
174 m_osHasBeenSet =
true;
175 m_os = std::forward<OsT>(value);
177 template <
typename OsT = Aws::String>
179 SetOs(std::forward<OsT>(value));
190 template <
typename CpuT = CPU>
192 m_cpuHasBeenSet =
true;
193 m_cpu = std::forward<CpuT>(value);
195 template <
typename CpuT = CPU>
197 SetCpu(std::forward<CpuT>(value));
208 template <
typename ResolutionT = Resolution>
210 m_resolutionHasBeenSet =
true;
211 m_resolution = std::forward<ResolutionT>(value);
213 template <
typename ResolutionT = Resolution>
227 m_heapSizeHasBeenSet =
true;
243 m_memoryHasBeenSet =
true;
258 template <
typename ImageT = Aws::String>
260 m_imageHasBeenSet =
true;
261 m_image = std::forward<ImageT>(value);
263 template <
typename ImageT = Aws::String>
265 SetImage(std::forward<ImageT>(value));
276 template <
typename CarrierT = Aws::String>
278 m_carrierHasBeenSet =
true;
279 m_carrier = std::forward<CarrierT>(value);
281 template <
typename CarrierT = Aws::String>
294 template <
typename RadioT = Aws::String>
296 m_radioHasBeenSet =
true;
297 m_radio = std::forward<RadioT>(value);
299 template <
typename RadioT = Aws::String>
301 SetRadio(std::forward<RadioT>(value));
314 m_remoteAccessEnabledHasBeenSet =
true;
315 m_remoteAccessEnabled = value;
330 template <
typename FleetTypeT = Aws::String>
332 m_fleetTypeHasBeenSet =
true;
333 m_fleetType = std::forward<FleetTypeT>(value);
335 template <
typename FleetTypeT = Aws::String>
348 template <
typename FleetNameT = Aws::String>
350 m_fleetNameHasBeenSet =
true;
351 m_fleetName = std::forward<FleetNameT>(value);
353 template <
typename FleetNameT = Aws::String>
366 template <
typename InstancesT = Aws::Vector<DeviceInstance>>
368 m_instancesHasBeenSet =
true;
369 m_instances = std::forward<InstancesT>(value);
371 template <
typename InstancesT = Aws::Vector<DeviceInstance>>
376 template <
typename InstancesT = DeviceInstance>
378 m_instancesHasBeenSet =
true;
379 m_instances.emplace_back(std::forward<InstancesT>(value));
392 m_availabilityHasBeenSet =
true;
393 m_availability = value;
419 Resolution m_resolution;
421 long long m_heapSize{0};
423 long long m_memory{0};
431 bool m_remoteAccessEnabled{
false};
440 bool m_arnHasBeenSet =
false;
441 bool m_nameHasBeenSet =
false;
442 bool m_manufacturerHasBeenSet =
false;
443 bool m_modelHasBeenSet =
false;
444 bool m_modelIdHasBeenSet =
false;
445 bool m_formFactorHasBeenSet =
false;
446 bool m_platformHasBeenSet =
false;
447 bool m_osHasBeenSet =
false;
448 bool m_cpuHasBeenSet =
false;
449 bool m_resolutionHasBeenSet =
false;
450 bool m_heapSizeHasBeenSet =
false;
451 bool m_memoryHasBeenSet =
false;
452 bool m_imageHasBeenSet =
false;
453 bool m_carrierHasBeenSet =
false;
454 bool m_radioHasBeenSet =
false;
455 bool m_remoteAccessEnabledHasBeenSet =
false;
456 bool m_fleetTypeHasBeenSet =
false;
457 bool m_fleetNameHasBeenSet =
false;
458 bool m_instancesHasBeenSet =
false;
459 bool m_availabilityHasBeenSet =
false;
AWS_DEVICEFARM_API Device()=default
bool PlatformHasBeenSet() const
Device & WithFormFactor(DeviceFormFactor value)
const Aws::String & GetName() const
void SetMemory(long long value)
const Aws::Vector< DeviceInstance > & GetInstances() const
bool ModelHasBeenSet() const
AWS_DEVICEFARM_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Device & WithFleetName(FleetNameT &&value)
void SetImage(ImageT &&value)
bool ArnHasBeenSet() const
Device & WithModel(ModelT &&value)
DeviceFormFactor GetFormFactor() const
Device & WithRemoteAccessEnabled(bool value)
bool ManufacturerHasBeenSet() const
void SetResolution(ResolutionT &&value)
AWS_DEVICEFARM_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithRadio(RadioT &&value)
bool InstancesHasBeenSet() const
bool FleetNameHasBeenSet() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool FleetTypeHasBeenSet() const
void SetPlatform(DevicePlatform value)
bool AvailabilityHasBeenSet() const
void SetCpu(CpuT &&value)
const Aws::String & GetModel() const
const Aws::String & GetModelId() const
void SetFleetName(FleetNameT &&value)
Device & WithResolution(ResolutionT &&value)
const Aws::String & GetArn() const
bool OsHasBeenSet() const
Device & WithCpu(CpuT &&value)
const Aws::String & GetImage() const
const Aws::String & GetOs() const
Device & WithManufacturer(ManufacturerT &&value)
bool GetRemoteAccessEnabled() const
DeviceAvailability GetAvailability() const
void SetHeapSize(long long value)
const Aws::String & GetManufacturer() const
Device & WithOs(OsT &&value)
void SetFormFactor(DeviceFormFactor value)
bool ModelIdHasBeenSet() const
bool RadioHasBeenSet() const
const CPU & GetCpu() const
bool MemoryHasBeenSet() const
bool RemoteAccessEnabledHasBeenSet() const
Device & WithPlatform(DevicePlatform value)
Device & WithCarrier(CarrierT &&value)
DevicePlatform GetPlatform() const
void SetAvailability(DeviceAvailability value)
Device & WithModelId(ModelIdT &&value)
const Aws::String & GetFleetName() const
Device & AddInstances(InstancesT &&value)
bool HeapSizeHasBeenSet() const
void SetManufacturer(ManufacturerT &&value)
const Aws::String & GetRadio() const
Device & WithAvailability(DeviceAvailability value)
Device & WithInstances(InstancesT &&value)
Device & WithArn(ArnT &&value)
void SetInstances(InstancesT &&value)
void SetRadio(RadioT &&value)
bool CpuHasBeenSet() const
long long GetHeapSize() const
bool ImageHasBeenSet() const
bool NameHasBeenSet() const
Device & WithName(NameT &&value)
Device & WithFleetType(FleetTypeT &&value)
const Resolution & GetResolution() const
void SetFleetType(FleetTypeT &&value)
void SetCarrier(CarrierT &&value)
void SetRemoteAccessEnabled(bool value)
bool CarrierHasBeenSet() const
const Aws::String & GetFleetType() const
long long GetMemory() const
void SetArn(ArnT &&value)
Device & WithMemory(long long value)
Device & WithHeapSize(long long value)
void SetName(NameT &&value)
const Aws::String & GetCarrier() const
void SetModelId(ModelIdT &&value)
bool ResolutionHasBeenSet() const
bool FormFactorHasBeenSet() const
Device & WithImage(ImageT &&value)
void SetModel(ModelT &&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