WAFRegionalRequest Class
(QtAws::WAFRegional::WAFRegionalRequest)The WAFRegionalRequest class provides an interface for WAFRegional requests. More...
Public Types
| enum | Action { AssociateWebACLAction, CreateByteMatchSetAction, CreateGeoMatchSetAction, CreateIPSetAction, ..., UpdateXssMatchSetAction } |
| flags | Actions |
Public Functions
| WAFRegionalRequest(const Action action) | |
| WAFRegionalRequest(const WAFRegionalRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| WAFRegionalRequest & | operator=(const WAFRegionalRequest &other) |
| virtual bool | operator==(const WAFRegionalRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| WAFRegionalRequest(WAFRegionalRequestPrivate * 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 WAFRegionalRequest class provides an interface for WAFRegional requests.
Member Type Documentation
enum WAFRegionalRequest::Action
flags WAFRegionalRequest::Actions
This enum describes the actions that can be performed as WAFRegional requests.
| Constant | Value | Description |
|---|---|---|
QtAws::WAFRegional::WAFRegionalRequest::AssociateWebACLAction | 0 | WAFRegional AssociateWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateByteMatchSetAction | 1 | WAFRegional CreateByteMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateGeoMatchSetAction | 2 | WAFRegional CreateGeoMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateIPSetAction | 3 | WAFRegional CreateIPSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateRateBasedRuleAction | 4 | WAFRegional CreateRateBasedRule action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateRegexMatchSetAction | 5 | WAFRegional CreateRegexMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateRegexPatternSetAction | 6 | WAFRegional CreateRegexPatternSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateRuleAction | 7 | WAFRegional CreateRule action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateRuleGroupAction | 8 | WAFRegional CreateRuleGroup action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateSizeConstraintSetAction | 9 | WAFRegional CreateSizeConstraintSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateSqlInjectionMatchSetAction | 10 | WAFRegional CreateSqlInjectionMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateWebACLAction | 11 | WAFRegional CreateWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::CreateXssMatchSetAction | 12 | WAFRegional CreateXssMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteByteMatchSetAction | 13 | WAFRegional DeleteByteMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteGeoMatchSetAction | 14 | WAFRegional DeleteGeoMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteIPSetAction | 15 | WAFRegional DeleteIPSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeletePermissionPolicyAction | 16 | WAFRegional DeletePermissionPolicy action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteRateBasedRuleAction | 17 | WAFRegional DeleteRateBasedRule action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteRegexMatchSetAction | 18 | WAFRegional DeleteRegexMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteRegexPatternSetAction | 19 | WAFRegional DeleteRegexPatternSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteRuleAction | 20 | WAFRegional DeleteRule action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteRuleGroupAction | 21 | WAFRegional DeleteRuleGroup action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteSizeConstraintSetAction | 22 | WAFRegional DeleteSizeConstraintSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteSqlInjectionMatchSetAction | 23 | WAFRegional DeleteSqlInjectionMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteWebACLAction | 24 | WAFRegional DeleteWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::DeleteXssMatchSetAction | 25 | WAFRegional DeleteXssMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::DisassociateWebACLAction | 26 | WAFRegional DisassociateWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::GetByteMatchSetAction | 27 | WAFRegional GetByteMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetChangeTokenAction | 28 | WAFRegional GetChangeToken action. |
QtAws::WAFRegional::WAFRegionalRequest::GetChangeTokenStatusAction | 29 | WAFRegional GetChangeTokenStatus action. |
QtAws::WAFRegional::WAFRegionalRequest::GetGeoMatchSetAction | 30 | WAFRegional GetGeoMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetIPSetAction | 31 | WAFRegional GetIPSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetPermissionPolicyAction | 32 | WAFRegional GetPermissionPolicy action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRateBasedRuleAction | 33 | WAFRegional GetRateBasedRule action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRateBasedRuleManagedKeysAction | 34 | WAFRegional GetRateBasedRuleManagedKeys action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRegexMatchSetAction | 35 | WAFRegional GetRegexMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRegexPatternSetAction | 36 | WAFRegional GetRegexPatternSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRuleAction | 37 | WAFRegional GetRule action. |
QtAws::WAFRegional::WAFRegionalRequest::GetRuleGroupAction | 38 | WAFRegional GetRuleGroup action. |
QtAws::WAFRegional::WAFRegionalRequest::GetSampledRequestsAction | 39 | WAFRegional GetSampledRequests action. |
QtAws::WAFRegional::WAFRegionalRequest::GetSizeConstraintSetAction | 40 | WAFRegional GetSizeConstraintSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetSqlInjectionMatchSetAction | 41 | WAFRegional GetSqlInjectionMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::GetWebACLAction | 42 | WAFRegional GetWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::GetWebACLForResourceAction | 43 | WAFRegional GetWebACLForResource action. |
QtAws::WAFRegional::WAFRegionalRequest::GetXssMatchSetAction | 44 | WAFRegional GetXssMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::ListActivatedRulesInRuleGroupAction | 45 | WAFRegional ListActivatedRulesInRuleGroup action. |
QtAws::WAFRegional::WAFRegionalRequest::ListByteMatchSetsAction | 46 | WAFRegional ListByteMatchSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListGeoMatchSetsAction | 47 | WAFRegional ListGeoMatchSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListIPSetsAction | 48 | WAFRegional ListIPSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListRateBasedRulesAction | 49 | WAFRegional ListRateBasedRules action. |
QtAws::WAFRegional::WAFRegionalRequest::ListRegexMatchSetsAction | 50 | WAFRegional ListRegexMatchSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListRegexPatternSetsAction | 51 | WAFRegional ListRegexPatternSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListResourcesForWebACLAction | 52 | WAFRegional ListResourcesForWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::ListRuleGroupsAction | 53 | WAFRegional ListRuleGroups action. |
QtAws::WAFRegional::WAFRegionalRequest::ListRulesAction | 54 | WAFRegional ListRules action. |
QtAws::WAFRegional::WAFRegionalRequest::ListSizeConstraintSetsAction | 55 | WAFRegional ListSizeConstraintSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListSqlInjectionMatchSetsAction | 56 | WAFRegional ListSqlInjectionMatchSets action. |
QtAws::WAFRegional::WAFRegionalRequest::ListSubscribedRuleGroupsAction | 57 | WAFRegional ListSubscribedRuleGroups action. |
QtAws::WAFRegional::WAFRegionalRequest::ListWebACLsAction | 58 | WAFRegional ListWebACLs action. |
QtAws::WAFRegional::WAFRegionalRequest::ListXssMatchSetsAction | 59 | WAFRegional ListXssMatchSets action. |
QtAws::WAFRegional::WAFRegionalRequest::PutPermissionPolicyAction | 60 | WAFRegional PutPermissionPolicy action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateByteMatchSetAction | 61 | WAFRegional UpdateByteMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateGeoMatchSetAction | 62 | WAFRegional UpdateGeoMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateIPSetAction | 63 | WAFRegional UpdateIPSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateRateBasedRuleAction | 64 | WAFRegional UpdateRateBasedRule action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateRegexMatchSetAction | 65 | WAFRegional UpdateRegexMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateRegexPatternSetAction | 66 | WAFRegional UpdateRegexPatternSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateRuleAction | 67 | WAFRegional UpdateRule action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateRuleGroupAction | 68 | WAFRegional UpdateRuleGroup action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateSizeConstraintSetAction | 69 | WAFRegional UpdateSizeConstraintSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateSqlInjectionMatchSetAction | 70 | WAFRegional UpdateSqlInjectionMatchSet action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateWebACLAction | 71 | WAFRegional UpdateWebACL action. |
QtAws::WAFRegional::WAFRegionalRequest::UpdateXssMatchSetAction | 72 | WAFRegional UpdateXssMatchSet action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
WAFRegionalRequest::WAFRegionalRequest(const Action action)
Constructs a WAFRegionalRequest object for WAFRegional action.
WAFRegionalRequest::WAFRegionalRequest(const WAFRegionalRequest &other)
Constructs a copy of other.
[protected] WAFRegionalRequest::WAFRegionalRequest(WAFRegionalRequestPrivate * const d)
Constructs aa WAFRegionalRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from WAFRegionalRequestPrivate.
Action WAFRegionalRequest::action() const
Returns the WAFRegional action to be performed by this request.
See also setAction().
QString WAFRegionalRequest::actionString() const
Returns the name of the WAFRegional action to be performed by this request.
QString WAFRegionalRequest::apiVersion() const
Returns the WAFRegional API version implemented by this request.
See also setApiVersion().
[protected] int WAFRegionalRequest::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 WAFRegionalRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant WAFRegionalRequest::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 &WAFRegionalRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void WAFRegionalRequest::setAction(const Action action)
Sets the WAFRegional action to be performed by this request to action.
See also action().
void WAFRegionalRequest::setApiVersion(const QString &version)
Sets the WAFRegional API version to include in this request to version.
See also apiVersion().
[protected] void WAFRegionalRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void WAFRegionalRequest::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 WAFRegionalRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the WAFRegional request using the given endpoint.
This WAFRegional 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.
WAFRegionalRequest &WAFRegionalRequest::operator=(const WAFRegionalRequest &other)
Sets the WAFRegionalRequest object to be equal to other.
[virtual] bool WAFRegionalRequest::operator==(const WAFRegionalRequest &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.