7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace CognitoIdentity
49 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
63 inline void SetSecretKey(
const char* value) { m_secretKeyHasBeenSet =
true; m_secretKey.assign(value); }
77 inline void SetSessionToken(
const char* value) { m_sessionTokenHasBeenSet =
true; m_sessionToken.assign(value); }
97 bool m_accessKeyIdHasBeenSet =
false;
100 bool m_secretKeyHasBeenSet =
false;
103 bool m_sessionTokenHasBeenSet =
false;
106 bool m_expirationHasBeenSet =
false;
void SetSessionToken(const Aws::String &value)
Credentials & WithSecretKey(Aws::String &&value)
Credentials & WithSecretKey(const Aws::String &value)
Credentials & WithSecretKey(const char *value)
AWS_COGNITOIDENTITY_API Credentials & operator=(Aws::Utils::Json::JsonView jsonValue)
Credentials & WithExpiration(const Aws::Utils::DateTime &value)
void SetSecretKey(Aws::String &&value)
const Aws::String & GetAccessKeyId() const
bool AccessKeyIdHasBeenSet() const
Credentials & WithAccessKeyId(const Aws::String &value)
const Aws::String & GetSessionToken() const
Credentials & WithSessionToken(const Aws::String &value)
void SetSessionToken(const char *value)
Credentials & WithSessionToken(const char *value)
void SetAccessKeyId(Aws::String &&value)
void SetSecretKey(const Aws::String &value)
const Aws::Utils::DateTime & GetExpiration() const
Credentials & WithExpiration(Aws::Utils::DateTime &&value)
void SetSessionToken(Aws::String &&value)
bool SessionTokenHasBeenSet() const
void SetSecretKey(const char *value)
void SetAccessKeyId(const Aws::String &value)
Credentials & WithAccessKeyId(Aws::String &&value)
void SetExpiration(Aws::Utils::DateTime &&value)
Credentials & WithSessionToken(Aws::String &&value)
const Aws::String & GetSecretKey() const
Credentials & WithAccessKeyId(const char *value)
AWS_COGNITOIDENTITY_API Credentials()
void SetExpiration(const Aws::Utils::DateTime &value)
bool ExpirationHasBeenSet() const
bool SecretKeyHasBeenSet() const
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccessKeyId(const char *value)
AWS_COGNITOIDENTITY_API Credentials(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue