AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::DeviceFarm::Model::Rule Class Reference

#include <Rule.h>

Public Member Functions

 Rule ()
 
 Rule (Aws::Utils::Json::JsonView jsonValue)
 
Ruleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const DeviceAttributeGetAttribute () const
 
bool AttributeHasBeenSet () const
 
void SetAttribute (const DeviceAttribute &value)
 
void SetAttribute (DeviceAttribute &&value)
 
RuleWithAttribute (const DeviceAttribute &value)
 
RuleWithAttribute (DeviceAttribute &&value)
 
const RuleOperatorGetOperator () const
 
bool OperatorHasBeenSet () const
 
void SetOperator (const RuleOperator &value)
 
void SetOperator (RuleOperator &&value)
 
RuleWithOperator (const RuleOperator &value)
 
RuleWithOperator (RuleOperator &&value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
RuleWithValue (const Aws::String &value)
 
RuleWithValue (Aws::String &&value)
 
RuleWithValue (const char *value)
 

Detailed Description

Represents a condition for a device pool.

See Also:

AWS API Reference

Definition at line 33 of file Rule.h.

Constructor & Destructor Documentation

◆ Rule() [1/2]

Aws::DeviceFarm::Model::Rule::Rule ( )

◆ Rule() [2/2]

Aws::DeviceFarm::Model::Rule::Rule ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AttributeHasBeenSet()

bool Aws::DeviceFarm::Model::Rule::AttributeHasBeenSet ( ) const
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 124 of file Rule.h.

◆ GetAttribute()

const DeviceAttribute& Aws::DeviceFarm::Model::Rule::GetAttribute ( ) const
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 82 of file Rule.h.

◆ GetOperator()

const RuleOperator& Aws::DeviceFarm::Model::Rule::GetOperator ( ) const
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 300 of file Rule.h.

◆ GetValue()

const Aws::String& Aws::DeviceFarm::Model::Rule::GetValue ( ) const
inline

The rule's value.

Definition at line 341 of file Rule.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::DeviceFarm::Model::Rule::Jsonize ( ) const

◆ operator=()

Rule& Aws::DeviceFarm::Model::Rule::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OperatorHasBeenSet()

bool Aws::DeviceFarm::Model::Rule::OperatorHasBeenSet ( ) const
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 307 of file Rule.h.

◆ SetAttribute() [1/2]

void Aws::DeviceFarm::Model::Rule::SetAttribute ( const DeviceAttribute value)
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 166 of file Rule.h.

◆ SetAttribute() [2/2]

void Aws::DeviceFarm::Model::Rule::SetAttribute ( DeviceAttribute &&  value)
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 208 of file Rule.h.

◆ SetOperator() [1/2]

void Aws::DeviceFarm::Model::Rule::SetOperator ( const RuleOperator value)
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 314 of file Rule.h.

◆ SetOperator() [2/2]

void Aws::DeviceFarm::Model::Rule::SetOperator ( RuleOperator &&  value)
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 321 of file Rule.h.

◆ SetValue() [1/3]

void Aws::DeviceFarm::Model::Rule::SetValue ( const Aws::String value)
inline

The rule's value.

Definition at line 351 of file Rule.h.

◆ SetValue() [2/3]

void Aws::DeviceFarm::Model::Rule::SetValue ( Aws::String &&  value)
inline

The rule's value.

Definition at line 356 of file Rule.h.

◆ SetValue() [3/3]

void Aws::DeviceFarm::Model::Rule::SetValue ( const char *  value)
inline

The rule's value.

Definition at line 361 of file Rule.h.

◆ ValueHasBeenSet()

bool Aws::DeviceFarm::Model::Rule::ValueHasBeenSet ( ) const
inline

The rule's value.

Definition at line 346 of file Rule.h.

◆ WithAttribute() [1/2]

Rule& Aws::DeviceFarm::Model::Rule::WithAttribute ( const DeviceAttribute value)
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 250 of file Rule.h.

◆ WithAttribute() [2/2]

Rule& Aws::DeviceFarm::Model::Rule::WithAttribute ( DeviceAttribute &&  value)
inline

The rule's stringified attribute. For example, specify the value as "\"abc"".

The supported operators for each attribute are provided in the following list.

APPIUM_VERSION

The Appium version for the test.

Supported operators: CONTAINS

ARN

The Amazon Resource Name (ARN) of the device (for example, arn:aws:devicefarm:us-west-2::device:12345Example.

Supported operators: EQUALS, IN, NOT_IN

AVAILABILITY

The current availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.

Supported operators: EQUALS

FLEET_TYPE

The fleet type. Valid values are PUBLIC or PRIVATE.

Supported operators: EQUALS

FORM_FACTOR

The device form factor. Valid values are PHONE or TABLET.

Supported operators: EQUALS, IN, NOT_IN

INSTANCE_ARN

The Amazon Resource Name (ARN) of the device instance.

Supported operators: IN, NOT_IN

INSTANCE_LABELS

The label of the device instance.

Supported operators: CONTAINS

MANUFACTURER

The device manufacturer (for example, Apple).

Supported operators: EQUALS, IN, NOT_IN

MODEL

The device model, such as Apple iPad Air 2 or Google Pixel.

Supported operators: CONTAINS, EQUALS, IN, NOT_IN

OS_VERSION

The operating system version (for example, 10.3.2).

Supported operators: EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN

PLATFORM

The device platform. Valid values are ANDROID or IOS.

Supported operators: EQUALS, IN, NOT_IN

REMOTE_ACCESS_ENABLED

Whether the device is enabled for remote access. Valid values are TRUE or FALSE.

Supported operators: EQUALS

REMOTE_DEBUG_ENABLED

Whether the device is enabled for remote debugging. Valid values are TRUE or FALSE.

Supported operators: EQUALS

Because remote debugging is no longer supported, this filter is ignored.

Definition at line 292 of file Rule.h.

◆ WithOperator() [1/2]

Rule& Aws::DeviceFarm::Model::Rule::WithOperator ( const RuleOperator value)
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 328 of file Rule.h.

◆ WithOperator() [2/2]

Rule& Aws::DeviceFarm::Model::Rule::WithOperator ( RuleOperator &&  value)
inline

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute, see the attribute descriptions.

Definition at line 335 of file Rule.h.

◆ WithValue() [1/3]

Rule& Aws::DeviceFarm::Model::Rule::WithValue ( const Aws::String value)
inline

The rule's value.

Definition at line 366 of file Rule.h.

◆ WithValue() [2/3]

Rule& Aws::DeviceFarm::Model::Rule::WithValue ( Aws::String &&  value)
inline

The rule's value.

Definition at line 371 of file Rule.h.

◆ WithValue() [3/3]

Rule& Aws::DeviceFarm::Model::Rule::WithValue ( const char *  value)
inline

The rule's value.

Definition at line 376 of file Rule.h.


The documentation for this class was generated from the following file: