/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a collection of device types.See Also:
AWS
* API Reference
The device pool's ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The device pool's ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The device pool's ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The device pool's ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The device pool's ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The device pool's ARN.
*/ inline DevicePool& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The device pool's ARN.
*/ inline DevicePool& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The device pool's ARN.
*/ inline DevicePool& WithArn(const char* value) { SetArn(value); return *this;} /** *The device pool's name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The device pool's name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The device pool's name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The device pool's name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The device pool's name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The device pool's name.
*/ inline DevicePool& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The device pool's name.
*/ inline DevicePool& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The device pool's name.
*/ inline DevicePool& WithName(const char* value) { SetName(value); return *this;} /** *The device pool's description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The device pool's description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The device pool's description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The device pool's description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The device pool's description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The device pool's description.
*/ inline DevicePool& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The device pool's description.
*/ inline DevicePool& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The device pool's description.
*/ inline DevicePool& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
The device pool's type.
Allowed values include:
CURATED: A device pool that is created and managed by AWS Device Farm.
*PRIVATE: A device pool that is created and managed by the device * pool developer.
Information about the device pool's rules.
*/ inline const Aws::VectorInformation about the device pool's rules.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *Information about the device pool's rules.
*/ inline void SetRules(const Aws::VectorInformation about the device pool's rules.
*/ inline void SetRules(Aws::VectorInformation about the device pool's rules.
*/ inline DevicePool& WithRules(const Aws::VectorInformation about the device pool's rules.
*/ inline DevicePool& WithRules(Aws::VectorInformation about the device pool's rules.
*/ inline DevicePool& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *Information about the device pool's rules.
*/ inline DevicePool& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } /** *The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and meet the criteria that you assign for
* the rules
parameter. Depending on how many devices meet these
* constraints, your device pool might contain fewer devices than the value for
* this parameter.
By specifying the maximum number of devices, you can * control the costs that you incur by running tests.
*/ inline int GetMaxDevices() const{ return m_maxDevices; } /** *The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and meet the criteria that you assign for
* the rules
parameter. Depending on how many devices meet these
* constraints, your device pool might contain fewer devices than the value for
* this parameter.
By specifying the maximum number of devices, you can * control the costs that you incur by running tests.
*/ inline bool MaxDevicesHasBeenSet() const { return m_maxDevicesHasBeenSet; } /** *The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and meet the criteria that you assign for
* the rules
parameter. Depending on how many devices meet these
* constraints, your device pool might contain fewer devices than the value for
* this parameter.
By specifying the maximum number of devices, you can * control the costs that you incur by running tests.
*/ inline void SetMaxDevices(int value) { m_maxDevicesHasBeenSet = true; m_maxDevices = value; } /** *The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and meet the criteria that you assign for
* the rules
parameter. Depending on how many devices meet these
* constraints, your device pool might contain fewer devices than the value for
* this parameter.
By specifying the maximum number of devices, you can * control the costs that you incur by running tests.
*/ inline DevicePool& WithMaxDevices(int value) { SetMaxDevices(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; DevicePoolType m_type; bool m_typeHasBeenSet = false; Aws::Vector