/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to the schedule run operation.See Also:
* AWS
* API Reference
The ARN of the project for the run to be scheduled.
*/ inline const Aws::String& GetProjectArn() const{ return m_projectArn; } /** *The ARN of the project for the run to be scheduled.
*/ inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; } /** *The ARN of the project for the run to be scheduled.
*/ inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; } /** *The ARN of the project for the run to be scheduled.
*/ inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); } /** *The ARN of the project for the run to be scheduled.
*/ inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); } /** *The ARN of the project for the run to be scheduled.
*/ inline ScheduleRunRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;} /** *The ARN of the project for the run to be scheduled.
*/ inline ScheduleRunRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;} /** *The ARN of the project for the run to be scheduled.
*/ inline ScheduleRunRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;} /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline const Aws::String& GetAppArn() const{ return m_appArn; } /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; } /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; } /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); } /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); } /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline ScheduleRunRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;} /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline ScheduleRunRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;} /** *The ARN of an application package to run tests against, created with * CreateUpload. See ListUploads.
*/ inline ScheduleRunRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *The ARN of the device pool for the run to be scheduled.
*/ inline const Aws::String& GetDevicePoolArn() const{ return m_devicePoolArn; } /** *The ARN of the device pool for the run to be scheduled.
*/ inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; } /** *The ARN of the device pool for the run to be scheduled.
*/ inline void SetDevicePoolArn(const Aws::String& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = value; } /** *The ARN of the device pool for the run to be scheduled.
*/ inline void SetDevicePoolArn(Aws::String&& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = std::move(value); } /** *The ARN of the device pool for the run to be scheduled.
*/ inline void SetDevicePoolArn(const char* value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn.assign(value); } /** *The ARN of the device pool for the run to be scheduled.
*/ inline ScheduleRunRequest& WithDevicePoolArn(const Aws::String& value) { SetDevicePoolArn(value); return *this;} /** *The ARN of the device pool for the run to be scheduled.
*/ inline ScheduleRunRequest& WithDevicePoolArn(Aws::String&& value) { SetDevicePoolArn(std::move(value)); return *this;} /** *The ARN of the device pool for the run to be scheduled.
*/ inline ScheduleRunRequest& WithDevicePoolArn(const char* value) { SetDevicePoolArn(value); return *this;} /** *The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The filter criteria used to dynamically select a set of devices for a test * run and the maximum number of devices to be included in the run.
Either
* devicePoolArn
or
* deviceSelectionConfiguration
is required in a request.
The name for the run to be scheduled.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name for the run to be scheduled.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name for the run to be scheduled.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name for the run to be scheduled.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name for the run to be scheduled.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name for the run to be scheduled.
*/ inline ScheduleRunRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name for the run to be scheduled.
*/ inline ScheduleRunRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name for the run to be scheduled.
*/ inline ScheduleRunRequest& WithName(const char* value) { SetName(value); return *this;} /** *Information about the test for the run to be scheduled.
*/ inline const ScheduleRunTest& GetTest() const{ return m_test; } /** *Information about the test for the run to be scheduled.
*/ inline bool TestHasBeenSet() const { return m_testHasBeenSet; } /** *Information about the test for the run to be scheduled.
*/ inline void SetTest(const ScheduleRunTest& value) { m_testHasBeenSet = true; m_test = value; } /** *Information about the test for the run to be scheduled.
*/ inline void SetTest(ScheduleRunTest&& value) { m_testHasBeenSet = true; m_test = std::move(value); } /** *Information about the test for the run to be scheduled.
*/ inline ScheduleRunRequest& WithTest(const ScheduleRunTest& value) { SetTest(value); return *this;} /** *Information about the test for the run to be scheduled.
*/ inline ScheduleRunRequest& WithTest(ScheduleRunTest&& value) { SetTest(std::move(value)); return *this;} /** *Information about the settings for the run to be scheduled.
*/ inline const ScheduleRunConfiguration& GetConfiguration() const{ return m_configuration; } /** *Information about the settings for the run to be scheduled.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *Information about the settings for the run to be scheduled.
*/ inline void SetConfiguration(const ScheduleRunConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *Information about the settings for the run to be scheduled.
*/ inline void SetConfiguration(ScheduleRunConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *Information about the settings for the run to be scheduled.
*/ inline ScheduleRunRequest& WithConfiguration(const ScheduleRunConfiguration& value) { SetConfiguration(value); return *this;} /** *Information about the settings for the run to be scheduled.
*/ inline ScheduleRunRequest& WithConfiguration(ScheduleRunConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline const ExecutionConfiguration& GetExecutionConfiguration() const{ return m_executionConfiguration; } /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline bool ExecutionConfigurationHasBeenSet() const { return m_executionConfigurationHasBeenSet; } /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline void SetExecutionConfiguration(const ExecutionConfiguration& value) { m_executionConfigurationHasBeenSet = true; m_executionConfiguration = value; } /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline void SetExecutionConfiguration(ExecutionConfiguration&& value) { m_executionConfigurationHasBeenSet = true; m_executionConfiguration = std::move(value); } /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline ScheduleRunRequest& WithExecutionConfiguration(const ExecutionConfiguration& value) { SetExecutionConfiguration(value); return *this;} /** *Specifies configuration information about a test run, such as the execution * timeout (in minutes).
*/ inline ScheduleRunRequest& WithExecutionConfiguration(ExecutionConfiguration&& value) { SetExecutionConfiguration(std::move(value)); return *this;} private: Aws::String m_projectArn; bool m_projectArnHasBeenSet = false; Aws::String m_appArn; bool m_appArnHasBeenSet = false; Aws::String m_devicePoolArn; bool m_devicePoolArnHasBeenSet = false; DeviceSelectionConfiguration m_deviceSelectionConfiguration; bool m_deviceSelectionConfigurationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ScheduleRunTest m_test; bool m_testHasBeenSet = false; ScheduleRunConfiguration m_configuration; bool m_configurationHasBeenSet = false; ExecutionConfiguration m_executionConfiguration; bool m_executionConfigurationHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws