ConfigServiceRequest Class

(QtAws::ConfigService::ConfigServiceRequest)

The ConfigServiceRequest class provides an interface for ConfigService requests. More...

Header: #include <ConfigServiceRequest>
Inherits: QtAws::Core::AwsAbstractRequest
Inherited By:

QtAws::ConfigService::BatchGetResourceConfigRequest, QtAws::ConfigService::DeleteAggregationAuthorizationRequest, QtAws::ConfigService::DeleteConfigRuleRequest, QtAws::ConfigService::DeleteConfigurationAggregatorRequest, QtAws::ConfigService::DeleteConfigurationRecorderRequest, QtAws::ConfigService::DeleteDeliveryChannelRequest, QtAws::ConfigService::DeleteEvaluationResultsRequest, QtAws::ConfigService::DeletePendingAggregationRequestRequest, QtAws::ConfigService::DeliverConfigSnapshotRequest, QtAws::ConfigService::DescribeAggregateComplianceByConfigRulesRequest, QtAws::ConfigService::DescribeAggregationAuthorizationsRequest, QtAws::ConfigService::DescribeComplianceByConfigRuleRequest, QtAws::ConfigService::DescribeComplianceByResourceRequest, QtAws::ConfigService::DescribeConfigRuleEvaluationStatusRequest, QtAws::ConfigService::DescribeConfigRulesRequest, QtAws::ConfigService::DescribeConfigurationAggregatorSourcesStatusRequest, QtAws::ConfigService::DescribeConfigurationAggregatorsRequest, QtAws::ConfigService::DescribeConfigurationRecordersRequest, QtAws::ConfigService::DescribeConfigurationRecorderStatusRequest, QtAws::ConfigService::DescribeDeliveryChannelsRequest, QtAws::ConfigService::DescribeDeliveryChannelStatusRequest, QtAws::ConfigService::DescribePendingAggregationRequestsRequest, QtAws::ConfigService::GetAggregateComplianceDetailsByConfigRuleRequest, QtAws::ConfigService::GetAggregateConfigRuleComplianceSummaryRequest, QtAws::ConfigService::GetComplianceDetailsByConfigRuleRequest, QtAws::ConfigService::GetComplianceDetailsByResourceRequest, QtAws::ConfigService::GetComplianceSummaryByResourceTypeRequest, QtAws::ConfigService::GetDiscoveredResourceCountsRequest, QtAws::ConfigService::GetResourceConfigHistoryRequest, QtAws::ConfigService::ListDiscoveredResourcesRequest, QtAws::ConfigService::PutAggregationAuthorizationRequest, QtAws::ConfigService::PutConfigRuleRequest, QtAws::ConfigService::PutConfigurationAggregatorRequest, QtAws::ConfigService::PutConfigurationRecorderRequest, QtAws::ConfigService::PutDeliveryChannelRequest, QtAws::ConfigService::PutEvaluationsRequest, QtAws::ConfigService::StartConfigRulesEvaluationRequest, QtAws::ConfigService::StartConfigurationRecorderRequest, and QtAws::ConfigService::StopConfigurationRecorderRequest

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

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 &parameters)

Reimplemented Protected Functions

virtual QNetworkRequest unsignedRequest(const QUrl &endpoint) const override

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.

ConstantValueDescription
QtAws::ConfigService::ConfigServiceRequest::BatchGetResourceConfigAction0ConfigService BatchGetResourceConfig action.
QtAws::ConfigService::ConfigServiceRequest::DeleteAggregationAuthorizationAction1ConfigService DeleteAggregationAuthorization action.
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigRuleAction2ConfigService DeleteConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigurationAggregatorAction3ConfigService DeleteConfigurationAggregator action.
QtAws::ConfigService::ConfigServiceRequest::DeleteConfigurationRecorderAction4ConfigService DeleteConfigurationRecorder action.
QtAws::ConfigService::ConfigServiceRequest::DeleteDeliveryChannelAction5ConfigService DeleteDeliveryChannel action.
QtAws::ConfigService::ConfigServiceRequest::DeleteEvaluationResultsAction6ConfigService DeleteEvaluationResults action.
QtAws::ConfigService::ConfigServiceRequest::DeletePendingAggregationRequestAction7ConfigService DeletePendingAggregationRequest action.
QtAws::ConfigService::ConfigServiceRequest::DeliverConfigSnapshotAction8ConfigService DeliverConfigSnapshot action.
QtAws::ConfigService::ConfigServiceRequest::DescribeAggregateComplianceByConfigRulesAction9ConfigService DescribeAggregateComplianceByConfigRules action.
QtAws::ConfigService::ConfigServiceRequest::DescribeAggregationAuthorizationsAction10ConfigService DescribeAggregationAuthorizations action.
QtAws::ConfigService::ConfigServiceRequest::DescribeComplianceByConfigRuleAction11ConfigService DescribeComplianceByConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::DescribeComplianceByResourceAction12ConfigService DescribeComplianceByResource action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigRuleEvaluationStatusAction13ConfigService DescribeConfigRuleEvaluationStatus action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigRulesAction14ConfigService DescribeConfigRules action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationAggregatorSourcesStatusAction15ConfigService DescribeConfigurationAggregatorSourcesStatus action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationAggregatorsAction16ConfigService DescribeConfigurationAggregators action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationRecorderStatusAction17ConfigService DescribeConfigurationRecorderStatus action.
QtAws::ConfigService::ConfigServiceRequest::DescribeConfigurationRecordersAction18ConfigService DescribeConfigurationRecorders action.
QtAws::ConfigService::ConfigServiceRequest::DescribeDeliveryChannelStatusAction19ConfigService DescribeDeliveryChannelStatus action.
QtAws::ConfigService::ConfigServiceRequest::DescribeDeliveryChannelsAction20ConfigService DescribeDeliveryChannels action.
QtAws::ConfigService::ConfigServiceRequest::DescribePendingAggregationRequestsAction21ConfigService DescribePendingAggregationRequests action.
QtAws::ConfigService::ConfigServiceRequest::GetAggregateComplianceDetailsByConfigRuleAction22ConfigService GetAggregateComplianceDetailsByConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::GetAggregateConfigRuleComplianceSummaryAction23ConfigService GetAggregateConfigRuleComplianceSummary action.
QtAws::ConfigService::ConfigServiceRequest::GetComplianceDetailsByConfigRuleAction24ConfigService GetComplianceDetailsByConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::GetComplianceDetailsByResourceAction25ConfigService GetComplianceDetailsByResource action.
QtAws::ConfigService::ConfigServiceRequest::GetComplianceSummaryByConfigRuleAction26ConfigService GetComplianceSummaryByConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::GetComplianceSummaryByResourceTypeAction27ConfigService GetComplianceSummaryByResourceType action.
QtAws::ConfigService::ConfigServiceRequest::GetDiscoveredResourceCountsAction28ConfigService GetDiscoveredResourceCounts action.
QtAws::ConfigService::ConfigServiceRequest::GetResourceConfigHistoryAction29ConfigService GetResourceConfigHistory action.
QtAws::ConfigService::ConfigServiceRequest::ListDiscoveredResourcesAction30ConfigService ListDiscoveredResources action.
QtAws::ConfigService::ConfigServiceRequest::PutAggregationAuthorizationAction31ConfigService PutAggregationAuthorization action.
QtAws::ConfigService::ConfigServiceRequest::PutConfigRuleAction32ConfigService PutConfigRule action.
QtAws::ConfigService::ConfigServiceRequest::PutConfigurationAggregatorAction33ConfigService PutConfigurationAggregator action.
QtAws::ConfigService::ConfigServiceRequest::PutConfigurationRecorderAction34ConfigService PutConfigurationRecorder action.
QtAws::ConfigService::ConfigServiceRequest::PutDeliveryChannelAction35ConfigService PutDeliveryChannel action.
QtAws::ConfigService::ConfigServiceRequest::PutEvaluationsAction36ConfigService PutEvaluations action.
QtAws::ConfigService::ConfigServiceRequest::StartConfigRulesEvaluationAction37ConfigService StartConfigRulesEvaluation action.
QtAws::ConfigService::ConfigServiceRequest::StartConfigurationRecorderAction38ConfigService StartConfigurationRecorder action.
QtAws::ConfigService::ConfigServiceRequest::StopConfigurationRecorderAction39ConfigService 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 &parameters)

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.