DeviceFarmRequest Class
(QtAws::DeviceFarm::DeviceFarmRequest)The DeviceFarmRequest class provides an interface for DeviceFarm requests. More...
Public Types
| enum | Action { CreateDevicePoolAction, CreateInstanceProfileAction, CreateNetworkProfileAction, CreateProjectAction, ..., UpdateVPCEConfigurationAction } |
| flags | Actions |
Public Functions
| DeviceFarmRequest(const Action action) | |
| DeviceFarmRequest(const DeviceFarmRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| DeviceFarmRequest & | operator=(const DeviceFarmRequest &other) |
| virtual bool | operator==(const DeviceFarmRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| DeviceFarmRequest(DeviceFarmRequestPrivate * const d) | |
| int | clearParameter(const QString &name) |
| void | clearParameters() |
| QVariant | parameter(const QString &name, const QVariant &defaultValue = QVariant()) const |
| const QVariantMap & | parameters() const |
| void | setParameter(const QString &name, const QVariant &value) |
| void | setParameters(const QVariantMap ¶meters) |
Reimplemented Protected Functions
| virtual QNetworkRequest | unsignedRequest(const QUrl &endpoint) const override |
- 4 protected functions inherited from QtAws::Core::AwsAbstractRequest
Detailed Description
The DeviceFarmRequest class provides an interface for DeviceFarm requests.
Member Type Documentation
enum DeviceFarmRequest::Action
flags DeviceFarmRequest::Actions
This enum describes the actions that can be performed as DeviceFarm requests.
| Constant | Value | Description |
|---|---|---|
QtAws::DeviceFarm::DeviceFarmRequest::CreateDevicePoolAction | 0 | DeviceFarm CreateDevicePool action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateInstanceProfileAction | 1 | DeviceFarm CreateInstanceProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateNetworkProfileAction | 2 | DeviceFarm CreateNetworkProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateProjectAction | 3 | DeviceFarm CreateProject action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateRemoteAccessSessionAction | 4 | DeviceFarm CreateRemoteAccessSession action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateUploadAction | 5 | DeviceFarm CreateUpload action. |
QtAws::DeviceFarm::DeviceFarmRequest::CreateVPCEConfigurationAction | 6 | DeviceFarm CreateVPCEConfiguration action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteDevicePoolAction | 7 | DeviceFarm DeleteDevicePool action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteInstanceProfileAction | 8 | DeviceFarm DeleteInstanceProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteNetworkProfileAction | 9 | DeviceFarm DeleteNetworkProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteProjectAction | 10 | DeviceFarm DeleteProject action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteRemoteAccessSessionAction | 11 | DeviceFarm DeleteRemoteAccessSession action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteRunAction | 12 | DeviceFarm DeleteRun action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteUploadAction | 13 | DeviceFarm DeleteUpload action. |
QtAws::DeviceFarm::DeviceFarmRequest::DeleteVPCEConfigurationAction | 14 | DeviceFarm DeleteVPCEConfiguration action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetAccountSettingsAction | 15 | DeviceFarm GetAccountSettings action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetDeviceAction | 16 | DeviceFarm GetDevice action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetDeviceInstanceAction | 17 | DeviceFarm GetDeviceInstance action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetDevicePoolAction | 18 | DeviceFarm GetDevicePool action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetDevicePoolCompatibilityAction | 19 | DeviceFarm GetDevicePoolCompatibility action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetInstanceProfileAction | 20 | DeviceFarm GetInstanceProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetJobAction | 21 | DeviceFarm GetJob action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetNetworkProfileAction | 22 | DeviceFarm GetNetworkProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetOfferingStatusAction | 23 | DeviceFarm GetOfferingStatus action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetProjectAction | 24 | DeviceFarm GetProject action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetRemoteAccessSessionAction | 25 | DeviceFarm GetRemoteAccessSession action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetRunAction | 26 | DeviceFarm GetRun action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetSuiteAction | 27 | DeviceFarm GetSuite action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetTestAction | 28 | DeviceFarm GetTest action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetUploadAction | 29 | DeviceFarm GetUpload action. |
QtAws::DeviceFarm::DeviceFarmRequest::GetVPCEConfigurationAction | 30 | DeviceFarm GetVPCEConfiguration action. |
QtAws::DeviceFarm::DeviceFarmRequest::InstallToRemoteAccessSessionAction | 31 | DeviceFarm InstallToRemoteAccessSession action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListArtifactsAction | 32 | DeviceFarm ListArtifacts action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListDeviceInstancesAction | 33 | DeviceFarm ListDeviceInstances action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListDevicePoolsAction | 34 | DeviceFarm ListDevicePools action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListDevicesAction | 35 | DeviceFarm ListDevices action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListInstanceProfilesAction | 36 | DeviceFarm ListInstanceProfiles action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListJobsAction | 37 | DeviceFarm ListJobs action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListNetworkProfilesAction | 38 | DeviceFarm ListNetworkProfiles action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListOfferingPromotionsAction | 39 | DeviceFarm ListOfferingPromotions action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListOfferingTransactionsAction | 40 | DeviceFarm ListOfferingTransactions action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListOfferingsAction | 41 | DeviceFarm ListOfferings action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListProjectsAction | 42 | DeviceFarm ListProjects action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListRemoteAccessSessionsAction | 43 | DeviceFarm ListRemoteAccessSessions action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListRunsAction | 44 | DeviceFarm ListRuns action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListSamplesAction | 45 | DeviceFarm ListSamples action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListSuitesAction | 46 | DeviceFarm ListSuites action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListTestsAction | 47 | DeviceFarm ListTests action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListUniqueProblemsAction | 48 | DeviceFarm ListUniqueProblems action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListUploadsAction | 49 | DeviceFarm ListUploads action. |
QtAws::DeviceFarm::DeviceFarmRequest::ListVPCEConfigurationsAction | 50 | DeviceFarm ListVPCEConfigurations action. |
QtAws::DeviceFarm::DeviceFarmRequest::PurchaseOfferingAction | 51 | DeviceFarm PurchaseOffering action. |
QtAws::DeviceFarm::DeviceFarmRequest::RenewOfferingAction | 52 | DeviceFarm RenewOffering action. |
QtAws::DeviceFarm::DeviceFarmRequest::ScheduleRunAction | 53 | DeviceFarm ScheduleRun action. |
QtAws::DeviceFarm::DeviceFarmRequest::StopRemoteAccessSessionAction | 54 | DeviceFarm StopRemoteAccessSession action. |
QtAws::DeviceFarm::DeviceFarmRequest::StopRunAction | 55 | DeviceFarm StopRun action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateDeviceInstanceAction | 56 | DeviceFarm UpdateDeviceInstance action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateDevicePoolAction | 57 | DeviceFarm UpdateDevicePool action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateInstanceProfileAction | 58 | DeviceFarm UpdateInstanceProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateNetworkProfileAction | 59 | DeviceFarm UpdateNetworkProfile action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateProjectAction | 60 | DeviceFarm UpdateProject action. |
QtAws::DeviceFarm::DeviceFarmRequest::UpdateVPCEConfigurationAction | 61 | DeviceFarm UpdateVPCEConfiguration action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
DeviceFarmRequest::DeviceFarmRequest(const Action action)
Constructs a DeviceFarmRequest object for DeviceFarm action.
DeviceFarmRequest::DeviceFarmRequest(const DeviceFarmRequest &other)
Constructs a copy of other.
[protected] DeviceFarmRequest::DeviceFarmRequest(DeviceFarmRequestPrivate * const d)
Constructs aa DeviceFarmRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from DeviceFarmRequestPrivate.
Action DeviceFarmRequest::action() const
Returns the DeviceFarm action to be performed by this request.
See also setAction().
QString DeviceFarmRequest::actionString() const
Returns the name of the DeviceFarm action to be performed by this request.
QString DeviceFarmRequest::apiVersion() const
Returns the DeviceFarm API version implemented by this request.
See also setApiVersion().
[protected] int DeviceFarmRequest::clearParameter(const QString &name)
Removes the a name parameter from the request, then returns the number of paramters removed (typically 0 or 1).
[protected] void DeviceFarmRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant DeviceFarmRequest::parameter(const QString &name, const QVariant &defaultValue = QVariant()) const
Returns the value of the name pararemter if set; defaultValue otherwise.
See also setParameter().
[protected] const QVariantMap &DeviceFarmRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void DeviceFarmRequest::setAction(const Action action)
Sets the DeviceFarm action to be performed by this request to action.
See also action().
void DeviceFarmRequest::setApiVersion(const QString &version)
Sets the DeviceFarm API version to include in this request to version.
See also apiVersion().
[protected] void DeviceFarmRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void DeviceFarmRequest::setParameters(const QVariantMap ¶meters)
Sets the paramters for this request to parameters. Any request parameters set previously will be discarded.
See also parameters().
[override virtual protected] QNetworkRequest DeviceFarmRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the DeviceFarm request using the given endpoint.
This DeviceFarm implementation builds request URLs by combining the common query parameters (such as Action and Version), with any that have been added (via setParameter) by child classes.
DeviceFarmRequest &DeviceFarmRequest::operator=(const DeviceFarmRequest &other)
Sets the DeviceFarmRequest object to be equal to other.
[virtual] bool DeviceFarmRequest::operator==(const DeviceFarmRequest &other) const
Returns true if this request is equal to other; false otherwise.
Note, most derived *Request classes do not need to provider their own implementations of this function, since most such request classes rely on this class' parameters functionality for all request parameters, and that parameters map is already checked via this implementation.
© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.