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/InstanceProfile.h>
11#include <aws/devicefarm/model/InstanceStatus.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename DeviceArnT = Aws::String>
63 m_deviceArnHasBeenSet =
true;
64 m_deviceArn = std::forward<DeviceArnT>(value);
66 template <
typename DeviceArnT = Aws::String>
79 template <
typename LabelsT = Aws::Vector<Aws::String>>
81 m_labelsHasBeenSet =
true;
82 m_labels = std::forward<LabelsT>(value);
84 template <
typename LabelsT = Aws::Vector<Aws::String>>
89 template <
typename LabelsT = Aws::String>
91 m_labelsHasBeenSet =
true;
92 m_labels.emplace_back(std::forward<LabelsT>(value));
104 m_statusHasBeenSet =
true;
119 template <
typename Ud
idT = Aws::String>
121 m_udidHasBeenSet =
true;
122 m_udid = std::forward<UdidT>(value);
124 template <
typename Ud
idT = Aws::String>
126 SetUdid(std::forward<UdidT>(value));
137 template <
typename InstanceProfileT = InstanceProfile>
139 m_instanceProfileHasBeenSet =
true;
140 m_instanceProfile = std::forward<InstanceProfileT>(value);
142 template <
typename InstanceProfileT = InstanceProfile>
159 InstanceProfile m_instanceProfile;
160 bool m_arnHasBeenSet =
false;
161 bool m_deviceArnHasBeenSet =
false;
162 bool m_labelsHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
164 bool m_udidHasBeenSet =
false;
165 bool m_instanceProfileHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetLabels() const
DeviceInstance & WithUdid(UdidT &&value)
void SetDeviceArn(DeviceArnT &&value)
bool LabelsHasBeenSet() const
bool StatusHasBeenSet() const
DeviceInstance & AddLabels(LabelsT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceStatus GetStatus() const
const Aws::String & GetArn() const
DeviceInstance & WithArn(ArnT &&value)
const Aws::String & GetUdid() const
bool ArnHasBeenSet() const
const InstanceProfile & GetInstanceProfile() const
DeviceInstance & WithDeviceArn(DeviceArnT &&value)
void SetStatus(InstanceStatus value)
bool DeviceArnHasBeenSet() const
AWS_DEVICEFARM_API DeviceInstance(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API DeviceInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUdid(UdidT &&value)
DeviceInstance & WithLabels(LabelsT &&value)
const Aws::String & GetDeviceArn() const
DeviceInstance & WithStatus(InstanceStatus value)
bool UdidHasBeenSet() const
bool InstanceProfileHasBeenSet() const
AWS_DEVICEFARM_API DeviceInstance()=default
void SetInstanceProfile(InstanceProfileT &&value)
void SetArn(ArnT &&value)
void SetLabels(LabelsT &&value)
DeviceInstance & WithInstanceProfile(InstanceProfileT &&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