7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/model/InstanceStatus.h>
11#include <aws/devicefarm/model/InstanceProfile.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetDeviceArn(
const char* value) { m_deviceArnHasBeenSet =
true; m_deviceArn.assign(value); }
83 inline DeviceInstance&
AddLabels(
const char* value) { m_labelsHasBeenSet =
true; m_labels.push_back(value);
return *
this; }
106 inline void SetUdid(
const char* value) { m_udidHasBeenSet =
true; m_udid.assign(value); }
126 bool m_arnHasBeenSet =
false;
129 bool m_deviceArnHasBeenSet =
false;
132 bool m_labelsHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
138 bool m_udidHasBeenSet =
false;
141 bool m_instanceProfileHasBeenSet =
false;
void SetLabels(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLabels() const
void SetStatus(InstanceStatus &&value)
bool LabelsHasBeenSet() const
void SetDeviceArn(const char *value)
DeviceInstance & WithLabels(const Aws::Vector< Aws::String > &value)
DeviceInstance & AddLabels(const char *value)
const InstanceStatus & GetStatus() const
DeviceInstance & WithInstanceProfile(InstanceProfile &&value)
DeviceInstance & WithStatus(InstanceStatus &&value)
bool StatusHasBeenSet() const
DeviceInstance & WithUdid(const char *value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const InstanceStatus &value)
void SetDeviceArn(const Aws::String &value)
DeviceInstance & AddLabels(const Aws::String &value)
void SetUdid(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
DeviceInstance & WithDeviceArn(Aws::String &&value)
const Aws::String & GetUdid() const
DeviceInstance & WithDeviceArn(const char *value)
bool ArnHasBeenSet() const
DeviceInstance & WithInstanceProfile(const InstanceProfile &value)
void SetUdid(const char *value)
DeviceInstance & WithUdid(const Aws::String &value)
DeviceInstance & WithArn(const char *value)
DeviceInstance & WithDeviceArn(const Aws::String &value)
const InstanceProfile & GetInstanceProfile() const
bool DeviceArnHasBeenSet() const
DeviceInstance & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
AWS_DEVICEFARM_API DeviceInstance(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API DeviceInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceProfile(InstanceProfile &&value)
void SetLabels(Aws::Vector< Aws::String > &&value)
DeviceInstance & WithUdid(Aws::String &&value)
void SetInstanceProfile(const InstanceProfile &value)
void SetUdid(const Aws::String &value)
const Aws::String & GetDeviceArn() const
DeviceInstance & AddLabels(Aws::String &&value)
DeviceInstance & WithStatus(const InstanceStatus &value)
bool UdidHasBeenSet() const
void SetDeviceArn(Aws::String &&value)
bool InstanceProfileHasBeenSet() const
void SetArn(const char *value)
DeviceInstance & WithArn(Aws::String &&value)
AWS_DEVICEFARM_API DeviceInstance()
DeviceInstance & WithLabels(Aws::Vector< Aws::String > &&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