AwsBasicCredentials Class

(QtAws::Core::AwsBasicCredentials)

The AwsBasicCredentials class provides basic (non-refreshable) AWS credentials. More...

Header: #include <AwsBasicCredentials>
Inherits: QtAws::Core::AwsAbstractCredentials

Public Functions

AwsBasicCredentials(const QString &accessKeyId, const QString &secretKey, const QString &token, QObject * const parent = 0)
AwsBasicCredentials(const QString &accessKeyId, const QString &secretKey, QObject * const parent = 0)

Reimplemented Public Functions

virtual QString accessKeyId() const override
virtual QString secretKey() const override
virtual QString token() const override

Public Slots

virtual void setAccessKeyId(const QString &accessKeyId)
virtual void setSecretKey(const QString &secretKey)
virtual void setToken(const QString &token)

Additional Inherited Members

Detailed Description

The AwsBasicCredentials class provides basic (non-refreshable) AWS credentials.

Member Function Documentation

AwsBasicCredentials::AwsBasicCredentials(const QString &accessKeyId, const QString &secretKey, const QString &token, QObject * const parent = 0)

Constructs an AwsBasicCredentials object with accessKeyId, secretKey and token AWS credentials, and parent parent.

AwsBasicCredentials::AwsBasicCredentials(const QString &accessKeyId, const QString &secretKey, QObject * const parent = 0)

Constructs an AwsBasicCredentials object with accessKeyId and secretKey AWS credentials, and parent parent.

The object's security token will be left as null string, unless set later via setToken().

[override virtual] QString AwsBasicCredentials::accessKeyId() const

Reimplemented from AwsAbstractCredentials::accessKeyId().

See also setAccessKeyId().

[override virtual] QString AwsBasicCredentials::secretKey() const

Reimplemented from AwsAbstractCredentials::secretKey().

See also setSecretKey().

[virtual slot] void AwsBasicCredentials::setAccessKeyId(const QString &accessKeyId)

Sets the AWS access key ID to accessKeyId, and emits AwsAbstractCredentials::changed().

See also accessKeyId().

[virtual slot] void AwsBasicCredentials::setSecretKey(const QString &secretKey)

Sets the AWS secret access key to secretKey, and emits AwsAbstractCredentials::changed().

See also secretKey().

[virtual slot] void AwsBasicCredentials::setToken(const QString &token)

Sets the AWS security token to token, and emits AwsAbstractCredentials::changed().

See also token().

[override virtual] QString AwsBasicCredentials::token() const

Reimplemented from AwsAbstractCredentials::token().

See also setToken().

© 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.