/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to the update device pool operation.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline UpdateDevicePoolRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline UpdateDevicePoolRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Device Farm device pool to update.
*/ inline UpdateDevicePoolRequest& WithArn(const char* value) { SetArn(value); return *this;} /** *A string that represents the name of the device pool to update.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A string that represents the name of the device pool to update.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A string that represents the name of the device pool to update.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A string that represents the name of the device pool to update.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A string that represents the name of the device pool to update.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A string that represents the name of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A string that represents the name of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A string that represents the name of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithName(const char* value) { SetName(value); return *this;} /** *A description of the device pool to update.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the device pool to update.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the device pool to update.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the device pool to update.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the device pool to update.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the device pool to update.
*/ inline UpdateDevicePoolRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Represents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline const Aws::VectorRepresents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *Represents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline void SetRules(const Aws::VectorRepresents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline void SetRules(Aws::VectorRepresents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline UpdateDevicePoolRequest& WithRules(const Aws::VectorRepresents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline UpdateDevicePoolRequest& WithRules(Aws::VectorRepresents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline UpdateDevicePoolRequest& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *Represents the rules to modify for the device pool. Updating rules is * optional. If you update rules for your request, the update replaces the existing * rules.
*/ inline UpdateDevicePoolRequest& 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 that 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.
If you use this
* parameter in your request, you cannot use the clearMaxDevices
* parameter in the same request.
The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and that 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.
If you use this
* parameter in your request, you cannot use the clearMaxDevices
* parameter in the same request.
The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and that 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.
If you use this
* parameter in your request, you cannot use the clearMaxDevices
* parameter in the same request.
The number of devices that Device Farm can add to your device pool. Device
* Farm adds devices that are available and that 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.
If you use this
* parameter in your request, you cannot use the clearMaxDevices
* parameter in the same request.
Sets whether the maxDevices parameter applies to your device
* pool. If you set this parameter to true, the
* maxDevices parameter does not apply, and Device Farm does not limit
* the number of devices that it adds to your device pool. In this case, Device
* Farm adds all available devices that meet the criteria specified in the
* rules parameter.
If you use this parameter in your request,
* you cannot use the maxDevices parameter in the same request.
Sets whether the maxDevices parameter applies to your device
* pool. If you set this parameter to true, the
* maxDevices parameter does not apply, and Device Farm does not limit
* the number of devices that it adds to your device pool. In this case, Device
* Farm adds all available devices that meet the criteria specified in the
* rules parameter.
If you use this parameter in your request,
* you cannot use the maxDevices parameter in the same request.
Sets whether the maxDevices parameter applies to your device
* pool. If you set this parameter to true, the
* maxDevices parameter does not apply, and Device Farm does not limit
* the number of devices that it adds to your device pool. In this case, Device
* Farm adds all available devices that meet the criteria specified in the
* rules parameter.
If you use this parameter in your request,
* you cannot use the maxDevices parameter in the same request.
Sets whether the maxDevices parameter applies to your device
* pool. If you set this parameter to true, the
* maxDevices parameter does not apply, and Device Farm does not limit
* the number of devices that it adds to your device pool. In this case, Device
* Farm adds all available devices that meet the criteria specified in the
* rules parameter.
If you use this parameter in your request,
* you cannot use the maxDevices parameter in the same request.