ElastiCacheRequest Class
(QtAws::ElastiCache::ElastiCacheRequest)The ElastiCacheRequest class provides an interface for ElastiCache requests. More...
Public Types
| enum | Action { AddTagsToResourceAction, AuthorizeCacheSecurityGroupIngressAction, CopySnapshotAction, CreateCacheClusterAction, ..., TestFailoverAction } |
| flags | Actions |
Public Functions
| ElastiCacheRequest(const Action action) | |
| ElastiCacheRequest(const ElastiCacheRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| ElastiCacheRequest & | operator=(const ElastiCacheRequest &other) |
| virtual bool | operator==(const ElastiCacheRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| ElastiCacheRequest(ElastiCacheRequestPrivate * 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 ElastiCacheRequest class provides an interface for ElastiCache requests.
Member Type Documentation
enum ElastiCacheRequest::Action
flags ElastiCacheRequest::Actions
This enum describes the actions that can be performed as ElastiCache requests.
| Constant | Value | Description |
|---|---|---|
QtAws::ElastiCache::ElastiCacheRequest::AddTagsToResourceAction | 0 | ElastiCache AddTagsToResource action. |
QtAws::ElastiCache::ElastiCacheRequest::AuthorizeCacheSecurityGroupIngressAction | 1 | ElastiCache AuthorizeCacheSecurityGroupIngress action. |
QtAws::ElastiCache::ElastiCacheRequest::CopySnapshotAction | 2 | ElastiCache CopySnapshot action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateCacheClusterAction | 3 | ElastiCache CreateCacheCluster action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateCacheParameterGroupAction | 4 | ElastiCache CreateCacheParameterGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateCacheSecurityGroupAction | 5 | ElastiCache CreateCacheSecurityGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateCacheSubnetGroupAction | 6 | ElastiCache CreateCacheSubnetGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateReplicationGroupAction | 7 | ElastiCache CreateReplicationGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::CreateSnapshotAction | 8 | ElastiCache CreateSnapshot action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteCacheClusterAction | 9 | ElastiCache DeleteCacheCluster action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteCacheParameterGroupAction | 10 | ElastiCache DeleteCacheParameterGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteCacheSecurityGroupAction | 11 | ElastiCache DeleteCacheSecurityGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteCacheSubnetGroupAction | 12 | ElastiCache DeleteCacheSubnetGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteReplicationGroupAction | 13 | ElastiCache DeleteReplicationGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::DeleteSnapshotAction | 14 | ElastiCache DeleteSnapshot action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheClustersAction | 15 | ElastiCache DescribeCacheClusters action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheEngineVersionsAction | 16 | ElastiCache DescribeCacheEngineVersions action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheParameterGroupsAction | 17 | ElastiCache DescribeCacheParameterGroups action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheParametersAction | 18 | ElastiCache DescribeCacheParameters action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheSecurityGroupsAction | 19 | ElastiCache DescribeCacheSecurityGroups action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeCacheSubnetGroupsAction | 20 | ElastiCache DescribeCacheSubnetGroups action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeEngineDefaultParametersAction | 21 | ElastiCache DescribeEngineDefaultParameters action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeEventsAction | 22 | ElastiCache DescribeEvents action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeReplicationGroupsAction | 23 | ElastiCache DescribeReplicationGroups action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeReservedCacheNodesAction | 24 | ElastiCache DescribeReservedCacheNodes action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeReservedCacheNodesOfferingsAction | 25 | ElastiCache DescribeReservedCacheNodesOfferings action. |
QtAws::ElastiCache::ElastiCacheRequest::DescribeSnapshotsAction | 26 | ElastiCache DescribeSnapshots action. |
QtAws::ElastiCache::ElastiCacheRequest::ListAllowedNodeTypeModificationsAction | 27 | ElastiCache ListAllowedNodeTypeModifications action. |
QtAws::ElastiCache::ElastiCacheRequest::ListTagsForResourceAction | 28 | ElastiCache ListTagsForResource action. |
QtAws::ElastiCache::ElastiCacheRequest::ModifyCacheClusterAction | 29 | ElastiCache ModifyCacheCluster action. |
QtAws::ElastiCache::ElastiCacheRequest::ModifyCacheParameterGroupAction | 30 | ElastiCache ModifyCacheParameterGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::ModifyCacheSubnetGroupAction | 31 | ElastiCache ModifyCacheSubnetGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::ModifyReplicationGroupAction | 32 | ElastiCache ModifyReplicationGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::ModifyReplicationGroupShardConfigurationAction | 33 | ElastiCache ModifyReplicationGroupShardConfiguration action. |
QtAws::ElastiCache::ElastiCacheRequest::PurchaseReservedCacheNodesOfferingAction | 34 | ElastiCache PurchaseReservedCacheNodesOffering action. |
QtAws::ElastiCache::ElastiCacheRequest::RebootCacheClusterAction | 35 | ElastiCache RebootCacheCluster action. |
QtAws::ElastiCache::ElastiCacheRequest::RemoveTagsFromResourceAction | 36 | ElastiCache RemoveTagsFromResource action. |
QtAws::ElastiCache::ElastiCacheRequest::ResetCacheParameterGroupAction | 37 | ElastiCache ResetCacheParameterGroup action. |
QtAws::ElastiCache::ElastiCacheRequest::RevokeCacheSecurityGroupIngressAction | 38 | ElastiCache RevokeCacheSecurityGroupIngress action. |
QtAws::ElastiCache::ElastiCacheRequest::TestFailoverAction | 39 | ElastiCache TestFailover action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
ElastiCacheRequest::ElastiCacheRequest(const Action action)
Constructs a ElastiCacheRequest object for ElastiCache action.
ElastiCacheRequest::ElastiCacheRequest(const ElastiCacheRequest &other)
Constructs a copy of other.
[protected] ElastiCacheRequest::ElastiCacheRequest(ElastiCacheRequestPrivate * const d)
Constructs aa ElastiCacheRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from ElastiCacheRequestPrivate.
Action ElastiCacheRequest::action() const
Returns the ElastiCache action to be performed by this request.
See also setAction().
QString ElastiCacheRequest::actionString() const
Returns the name of the ElastiCache action to be performed by this request.
QString ElastiCacheRequest::apiVersion() const
Returns the ElastiCache API version implemented by this request.
See also setApiVersion().
[protected] int ElastiCacheRequest::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 ElastiCacheRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant ElastiCacheRequest::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 &ElastiCacheRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void ElastiCacheRequest::setAction(const Action action)
Sets the ElastiCache action to be performed by this request to action.
See also action().
void ElastiCacheRequest::setApiVersion(const QString &version)
Sets the ElastiCache API version to include in this request to version.
See also apiVersion().
[protected] void ElastiCacheRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void ElastiCacheRequest::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 ElastiCacheRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the ElastiCache request using the given endpoint.
This ElastiCache 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.
ElastiCacheRequest &ElastiCacheRequest::operator=(const ElastiCacheRequest &other)
Sets the ElastiCacheRequest object to be equal to other.
[virtual] bool ElastiCacheRequest::operator==(const ElastiCacheRequest &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.