OrganizationsRequest Class
(QtAws::Organizations::OrganizationsRequest)The OrganizationsRequest class provides an interface for Organizations requests. More...
Public Types
| enum | Action { AcceptHandshakeAction, AttachPolicyAction, CancelHandshakeAction, CreateAccountAction, ..., UpdatePolicyAction } |
| flags | Actions |
Public Functions
| OrganizationsRequest(const Action action) | |
| OrganizationsRequest(const OrganizationsRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| OrganizationsRequest & | operator=(const OrganizationsRequest &other) |
| virtual bool | operator==(const OrganizationsRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| OrganizationsRequest(OrganizationsRequestPrivate * 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 OrganizationsRequest class provides an interface for Organizations requests.
Member Type Documentation
enum OrganizationsRequest::Action
flags OrganizationsRequest::Actions
This enum describes the actions that can be performed as Organizations requests.
| Constant | Value | Description |
|---|---|---|
QtAws::Organizations::OrganizationsRequest::AcceptHandshakeAction | 0 | Organizations AcceptHandshake action. |
QtAws::Organizations::OrganizationsRequest::AttachPolicyAction | 1 | Organizations AttachPolicy action. |
QtAws::Organizations::OrganizationsRequest::CancelHandshakeAction | 2 | Organizations CancelHandshake action. |
QtAws::Organizations::OrganizationsRequest::CreateAccountAction | 3 | Organizations CreateAccount action. |
QtAws::Organizations::OrganizationsRequest::CreateOrganizationAction | 4 | Organizations CreateOrganization action. |
QtAws::Organizations::OrganizationsRequest::CreateOrganizationalUnitAction | 5 | Organizations CreateOrganizationalUnit action. |
QtAws::Organizations::OrganizationsRequest::CreatePolicyAction | 6 | Organizations CreatePolicy action. |
QtAws::Organizations::OrganizationsRequest::DeclineHandshakeAction | 7 | Organizations DeclineHandshake action. |
QtAws::Organizations::OrganizationsRequest::DeleteOrganizationAction | 8 | Organizations DeleteOrganization action. |
QtAws::Organizations::OrganizationsRequest::DeleteOrganizationalUnitAction | 9 | Organizations DeleteOrganizationalUnit action. |
QtAws::Organizations::OrganizationsRequest::DeletePolicyAction | 10 | Organizations DeletePolicy action. |
QtAws::Organizations::OrganizationsRequest::DescribeAccountAction | 11 | Organizations DescribeAccount action. |
QtAws::Organizations::OrganizationsRequest::DescribeCreateAccountStatusAction | 12 | Organizations DescribeCreateAccountStatus action. |
QtAws::Organizations::OrganizationsRequest::DescribeHandshakeAction | 13 | Organizations DescribeHandshake action. |
QtAws::Organizations::OrganizationsRequest::DescribeOrganizationAction | 14 | Organizations DescribeOrganization action. |
QtAws::Organizations::OrganizationsRequest::DescribeOrganizationalUnitAction | 15 | Organizations DescribeOrganizationalUnit action. |
QtAws::Organizations::OrganizationsRequest::DescribePolicyAction | 16 | Organizations DescribePolicy action. |
QtAws::Organizations::OrganizationsRequest::DetachPolicyAction | 17 | Organizations DetachPolicy action. |
QtAws::Organizations::OrganizationsRequest::DisableAWSServiceAccessAction | 18 | Organizations DisableAWSServiceAccess action. |
QtAws::Organizations::OrganizationsRequest::DisablePolicyTypeAction | 19 | Organizations DisablePolicyType action. |
QtAws::Organizations::OrganizationsRequest::EnableAWSServiceAccessAction | 20 | Organizations EnableAWSServiceAccess action. |
QtAws::Organizations::OrganizationsRequest::EnableAllFeaturesAction | 21 | Organizations EnableAllFeatures action. |
QtAws::Organizations::OrganizationsRequest::EnablePolicyTypeAction | 22 | Organizations EnablePolicyType action. |
QtAws::Organizations::OrganizationsRequest::InviteAccountToOrganizationAction | 23 | Organizations InviteAccountToOrganization action. |
QtAws::Organizations::OrganizationsRequest::LeaveOrganizationAction | 24 | Organizations LeaveOrganization action. |
QtAws::Organizations::OrganizationsRequest::ListAWSServiceAccessForOrganizationAction | 25 | Organizations ListAWSServiceAccessForOrganization action. |
QtAws::Organizations::OrganizationsRequest::ListAccountsAction | 26 | Organizations ListAccounts action. |
QtAws::Organizations::OrganizationsRequest::ListAccountsForParentAction | 27 | Organizations ListAccountsForParent action. |
QtAws::Organizations::OrganizationsRequest::ListChildrenAction | 28 | Organizations ListChildren action. |
QtAws::Organizations::OrganizationsRequest::ListCreateAccountStatusAction | 29 | Organizations ListCreateAccountStatus action. |
QtAws::Organizations::OrganizationsRequest::ListHandshakesForAccountAction | 30 | Organizations ListHandshakesForAccount action. |
QtAws::Organizations::OrganizationsRequest::ListHandshakesForOrganizationAction | 31 | Organizations ListHandshakesForOrganization action. |
QtAws::Organizations::OrganizationsRequest::ListOrganizationalUnitsForParentAction | 32 | Organizations ListOrganizationalUnitsForParent action. |
QtAws::Organizations::OrganizationsRequest::ListParentsAction | 33 | Organizations ListParents action. |
QtAws::Organizations::OrganizationsRequest::ListPoliciesAction | 34 | Organizations ListPolicies action. |
QtAws::Organizations::OrganizationsRequest::ListPoliciesForTargetAction | 35 | Organizations ListPoliciesForTarget action. |
QtAws::Organizations::OrganizationsRequest::ListRootsAction | 36 | Organizations ListRoots action. |
QtAws::Organizations::OrganizationsRequest::ListTargetsForPolicyAction | 37 | Organizations ListTargetsForPolicy action. |
QtAws::Organizations::OrganizationsRequest::MoveAccountAction | 38 | Organizations MoveAccount action. |
QtAws::Organizations::OrganizationsRequest::RemoveAccountFromOrganizationAction | 39 | Organizations RemoveAccountFromOrganization action. |
QtAws::Organizations::OrganizationsRequest::UpdateOrganizationalUnitAction | 40 | Organizations UpdateOrganizationalUnit action. |
QtAws::Organizations::OrganizationsRequest::UpdatePolicyAction | 41 | Organizations UpdatePolicy action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
OrganizationsRequest::OrganizationsRequest(const Action action)
Constructs a OrganizationsRequest object for Organizations action.
OrganizationsRequest::OrganizationsRequest(const OrganizationsRequest &other)
Constructs a copy of other.
[protected] OrganizationsRequest::OrganizationsRequest(OrganizationsRequestPrivate * const d)
Constructs aa OrganizationsRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from OrganizationsRequestPrivate.
Action OrganizationsRequest::action() const
Returns the Organizations action to be performed by this request.
See also setAction().
QString OrganizationsRequest::actionString() const
Returns the name of the Organizations action to be performed by this request.
QString OrganizationsRequest::apiVersion() const
Returns the Organizations API version implemented by this request.
See also setApiVersion().
[protected] int OrganizationsRequest::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 OrganizationsRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant OrganizationsRequest::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 &OrganizationsRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void OrganizationsRequest::setAction(const Action action)
Sets the Organizations action to be performed by this request to action.
See also action().
void OrganizationsRequest::setApiVersion(const QString &version)
Sets the Organizations API version to include in this request to version.
See also apiVersion().
[protected] void OrganizationsRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void OrganizationsRequest::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 OrganizationsRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the Organizations request using the given endpoint.
This Organizations 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.
OrganizationsRequest &OrganizationsRequest::operator=(const OrganizationsRequest &other)
Sets the OrganizationsRequest object to be equal to other.
[virtual] bool OrganizationsRequest::operator==(const OrganizationsRequest &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.