ConfigServiceRequest Class
(QtAws::ConfigService::ConfigServiceRequest)The ConfigServiceRequest class provides an interface for ConfigService requests. More...
Public Types
| enum | Action { BatchGetResourceConfigAction, DeleteAggregationAuthorizationAction, DeleteConfigRuleAction, DeleteConfigurationAggregatorAction, ..., StopConfigurationRecorderAction } |
| flags | Actions |
Public Functions
| ConfigServiceRequest(const Action action) | |
| ConfigServiceRequest(const ConfigServiceRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| ConfigServiceRequest & | operator=(const ConfigServiceRequest &other) |
| virtual bool | operator==(const ConfigServiceRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| ConfigServiceRequest(ConfigServiceRequestPrivate * 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 ConfigServiceRequest class provides an interface for ConfigService requests.
Member Type Documentation
enum ConfigServiceRequest::Action
flags ConfigServiceRequest::Actions
This enum describes the actions that can be performed as ConfigService requests.
| Constant | Value | Description |
|---|---|---|
QtAws::ConfigService::ConfigServiceRequest::BatchGetResourceConfigAction | 0 | ConfigService BatchGetResourceConfig action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteAggregationAuthorizationAction | 1 | ConfigService DeleteAggregationAuthorization action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigRuleAction | 2 | ConfigService DeleteConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigurationAggregatorAction | 3 | ConfigService DeleteConfigurationAggregator action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigurationRecorderAction | 4 | ConfigService DeleteConfigurationRecorder action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteDeliveryChannelAction | 5 | ConfigService DeleteDeliveryChannel action. |
QtAws::ConfigService::ConfigServiceRequest::DeleteEvaluationResultsAction | 6 | ConfigService DeleteEvaluationResults action. |
QtAws::ConfigService::ConfigServiceRequest::DeletePendingAggregationRequestAction | 7 | ConfigService DeletePendingAggregationRequest action. |
QtAws::ConfigService::ConfigServiceRequest::DeliverConfigSnapshotAction | 8 | ConfigService DeliverConfigSnapshot action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeAggregateComplianceByConfigRulesAction | 9 | ConfigService DescribeAggregateComplianceByConfigRules action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeAggregationAuthorizationsAction | 10 | ConfigService DescribeAggregationAuthorizations action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeComplianceByConfigRuleAction | 11 | ConfigService DescribeComplianceByConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeComplianceByResourceAction | 12 | ConfigService DescribeComplianceByResource action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigRuleEvaluationStatusAction | 13 | ConfigService DescribeConfigRuleEvaluationStatus action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigRulesAction | 14 | ConfigService DescribeConfigRules action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationAggregatorSourcesStatusAction | 15 | ConfigService DescribeConfigurationAggregatorSourcesStatus action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationAggregatorsAction | 16 | ConfigService DescribeConfigurationAggregators action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationRecorderStatusAction | 17 | ConfigService DescribeConfigurationRecorderStatus action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationRecordersAction | 18 | ConfigService DescribeConfigurationRecorders action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeDeliveryChannelStatusAction | 19 | ConfigService DescribeDeliveryChannelStatus action. |
QtAws::ConfigService::ConfigServiceRequest::DescribeDeliveryChannelsAction | 20 | ConfigService DescribeDeliveryChannels action. |
QtAws::ConfigService::ConfigServiceRequest::DescribePendingAggregationRequestsAction | 21 | ConfigService DescribePendingAggregationRequests action. |
QtAws::ConfigService::ConfigServiceRequest::GetAggregateComplianceDetailsByConfigRuleAction | 22 | ConfigService GetAggregateComplianceDetailsByConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::GetAggregateConfigRuleComplianceSummaryAction | 23 | ConfigService GetAggregateConfigRuleComplianceSummary action. |
QtAws::ConfigService::ConfigServiceRequest::GetComplianceDetailsByConfigRuleAction | 24 | ConfigService GetComplianceDetailsByConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::GetComplianceDetailsByResourceAction | 25 | ConfigService GetComplianceDetailsByResource action. |
QtAws::ConfigService::ConfigServiceRequest::GetComplianceSummaryByConfigRuleAction | 26 | ConfigService GetComplianceSummaryByConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::GetComplianceSummaryByResourceTypeAction | 27 | ConfigService GetComplianceSummaryByResourceType action. |
QtAws::ConfigService::ConfigServiceRequest::GetDiscoveredResourceCountsAction | 28 | ConfigService GetDiscoveredResourceCounts action. |
QtAws::ConfigService::ConfigServiceRequest::GetResourceConfigHistoryAction | 29 | ConfigService GetResourceConfigHistory action. |
QtAws::ConfigService::ConfigServiceRequest::ListDiscoveredResourcesAction | 30 | ConfigService ListDiscoveredResources action. |
QtAws::ConfigService::ConfigServiceRequest::PutAggregationAuthorizationAction | 31 | ConfigService PutAggregationAuthorization action. |
QtAws::ConfigService::ConfigServiceRequest::PutConfigRuleAction | 32 | ConfigService PutConfigRule action. |
QtAws::ConfigService::ConfigServiceRequest::PutConfigurationAggregatorAction | 33 | ConfigService PutConfigurationAggregator action. |
QtAws::ConfigService::ConfigServiceRequest::PutConfigurationRecorderAction | 34 | ConfigService PutConfigurationRecorder action. |
QtAws::ConfigService::ConfigServiceRequest::PutDeliveryChannelAction | 35 | ConfigService PutDeliveryChannel action. |
QtAws::ConfigService::ConfigServiceRequest::PutEvaluationsAction | 36 | ConfigService PutEvaluations action. |
QtAws::ConfigService::ConfigServiceRequest::StartConfigRulesEvaluationAction | 37 | ConfigService StartConfigRulesEvaluation action. |
QtAws::ConfigService::ConfigServiceRequest::StartConfigurationRecorderAction | 38 | ConfigService StartConfigurationRecorder action. |
QtAws::ConfigService::ConfigServiceRequest::StopConfigurationRecorderAction | 39 | ConfigService StopConfigurationRecorder action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
ConfigServiceRequest::ConfigServiceRequest(const Action action)
Constructs a ConfigServiceRequest object for ConfigService action.
ConfigServiceRequest::ConfigServiceRequest(const ConfigServiceRequest &other)
Constructs a copy of other.
[protected] ConfigServiceRequest::ConfigServiceRequest(ConfigServiceRequestPrivate * const d)
Constructs aa ConfigServiceRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from ConfigServiceRequestPrivate.
Action ConfigServiceRequest::action() const
Returns the ConfigService action to be performed by this request.
See also setAction().
QString ConfigServiceRequest::actionString() const
Returns the name of the ConfigService action to be performed by this request.
QString ConfigServiceRequest::apiVersion() const
Returns the ConfigService API version implemented by this request.
See also setApiVersion().
[protected] int ConfigServiceRequest::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 ConfigServiceRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant ConfigServiceRequest::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 &ConfigServiceRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void ConfigServiceRequest::setAction(const Action action)
Sets the ConfigService action to be performed by this request to action.
See also action().
void ConfigServiceRequest::setApiVersion(const QString &version)
Sets the ConfigService API version to include in this request to version.
See also apiVersion().
[protected] void ConfigServiceRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void ConfigServiceRequest::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 ConfigServiceRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the ConfigService request using the given endpoint.
This ConfigService 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.
ConfigServiceRequest &ConfigServiceRequest::operator=(const ConfigServiceRequest &other)
Sets the ConfigServiceRequest object to be equal to other.
[virtual] bool ConfigServiceRequest::operator==(const ConfigServiceRequest &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.