/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace DeviceFarm { namespace Model { /** *

Represents a request to the get device pool compatibility * operation.

See Also:

AWS * API Reference

*/ class GetDevicePoolCompatibilityRequest : public DeviceFarmRequest { public: AWS_DEVICEFARM_API GetDevicePoolCompatibilityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetDevicePoolCompatibility"; } AWS_DEVICEFARM_API Aws::String SerializePayload() const override; AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The device pool's ARN.

*/ inline const Aws::String& GetDevicePoolArn() const{ return m_devicePoolArn; } /** *

The device pool's ARN.

*/ inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; } /** *

The device pool's ARN.

*/ inline void SetDevicePoolArn(const Aws::String& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = value; } /** *

The device pool's ARN.

*/ inline void SetDevicePoolArn(Aws::String&& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = std::move(value); } /** *

The device pool's ARN.

*/ inline void SetDevicePoolArn(const char* value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn.assign(value); } /** *

The device pool's ARN.

*/ inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(const Aws::String& value) { SetDevicePoolArn(value); return *this;} /** *

The device pool's ARN.

*/ inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(Aws::String&& value) { SetDevicePoolArn(std::move(value)); return *this;} /** *

The device pool's ARN.

*/ inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(const char* value) { SetDevicePoolArn(value); return *this;} /** *

The ARN of the app that is associated with the specified device pool.

*/ inline const Aws::String& GetAppArn() const{ return m_appArn; } /** *

The ARN of the app that is associated with the specified device pool.

*/ inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; } /** *

The ARN of the app that is associated with the specified device pool.

*/ inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; } /** *

The ARN of the app that is associated with the specified device pool.

*/ inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); } /** *

The ARN of the app that is associated with the specified device pool.

*/ inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); } /** *

The ARN of the app that is associated with the specified device pool.

*/ inline GetDevicePoolCompatibilityRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;} /** *

The ARN of the app that is associated with the specified device pool.

*/ inline GetDevicePoolCompatibilityRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;} /** *

The ARN of the app that is associated with the specified device pool.

*/ inline GetDevicePoolCompatibilityRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline const TestType& GetTestType() const{ return m_testType; } /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline bool TestTypeHasBeenSet() const { return m_testTypeHasBeenSet; } /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline void SetTestType(const TestType& value) { m_testTypeHasBeenSet = true; m_testType = value; } /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline void SetTestType(TestType&& value) { m_testTypeHasBeenSet = true; m_testType = std::move(value); } /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline GetDevicePoolCompatibilityRequest& WithTestType(const TestType& value) { SetTestType(value); return *this;} /** *

The test type for the specified device pool.

Allowed values include * the following:

  • BUILTIN_FUZZ.

  • *

    BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, * interacting with it and capturing screenshots at the same time.

  • *

    APPIUM_JAVA_JUNIT.

  • APPIUM_JAVA_TESTNG.

  • *

    APPIUM_PYTHON.

  • APPIUM_NODE.

  • *

    APPIUM_RUBY.

  • APPIUM_WEB_JAVA_JUNIT.

  • *

    APPIUM_WEB_JAVA_TESTNG.

  • APPIUM_WEB_PYTHON.

  • *

    APPIUM_WEB_NODE.

  • APPIUM_WEB_RUBY.

  • *

    CALABASH.

  • INSTRUMENTATION.

  • *

    UIAUTOMATION.

  • UIAUTOMATOR.

  • XCTEST.

    *
  • XCTEST_UI.

*/ inline GetDevicePoolCompatibilityRequest& WithTestType(TestType&& value) { SetTestType(std::move(value)); return *this;} /** *

Information about the uploaded test to be run against the device pool.

*/ inline const ScheduleRunTest& GetTest() const{ return m_test; } /** *

Information about the uploaded test to be run against the device pool.

*/ inline bool TestHasBeenSet() const { return m_testHasBeenSet; } /** *

Information about the uploaded test to be run against the device pool.

*/ inline void SetTest(const ScheduleRunTest& value) { m_testHasBeenSet = true; m_test = value; } /** *

Information about the uploaded test to be run against the device pool.

*/ inline void SetTest(ScheduleRunTest&& value) { m_testHasBeenSet = true; m_test = std::move(value); } /** *

Information about the uploaded test to be run against the device pool.

*/ inline GetDevicePoolCompatibilityRequest& WithTest(const ScheduleRunTest& value) { SetTest(value); return *this;} /** *

Information about the uploaded test to be run against the device pool.

*/ inline GetDevicePoolCompatibilityRequest& WithTest(ScheduleRunTest&& value) { SetTest(std::move(value)); return *this;} /** *

An object that contains information about the settings for a run.

*/ inline const ScheduleRunConfiguration& GetConfiguration() const{ return m_configuration; } /** *

An object that contains information about the settings for a run.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

An object that contains information about the settings for a run.

*/ inline void SetConfiguration(const ScheduleRunConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

An object that contains information about the settings for a run.

*/ inline void SetConfiguration(ScheduleRunConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

An object that contains information about the settings for a run.

*/ inline GetDevicePoolCompatibilityRequest& WithConfiguration(const ScheduleRunConfiguration& value) { SetConfiguration(value); return *this;} /** *

An object that contains information about the settings for a run.

*/ inline GetDevicePoolCompatibilityRequest& WithConfiguration(ScheduleRunConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: Aws::String m_devicePoolArn; bool m_devicePoolArnHasBeenSet = false; Aws::String m_appArn; bool m_appArnHasBeenSet = false; TestType m_testType; bool m_testTypeHasBeenSet = false; ScheduleRunTest m_test; bool m_testHasBeenSet = false; ScheduleRunConfiguration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws