7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
52 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
66 inline void SetSecretAccessKey(
const char* value) { m_secretAccessKeyHasBeenSet =
true; m_secretAccessKey.assign(value); }
81 inline void SetSessionToken(
const char* value) { m_sessionTokenHasBeenSet =
true; m_sessionToken.assign(value); }
101 bool m_accessKeyIdHasBeenSet =
false;
104 bool m_secretAccessKeyHasBeenSet =
false;
107 bool m_sessionTokenHasBeenSet =
false;
110 bool m_expirationHasBeenSet =
false;
AWS_STS_API Credentials & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSecretAccessKey(Aws::String &&value)
bool SessionTokenHasBeenSet() const
void SetExpiration(const Aws::Utils::DateTime &value)
void SetSecretAccessKey(const Aws::String &value)
void SetAccessKeyId(const Aws::String &value)
bool AccessKeyIdHasBeenSet() const
void SetExpiration(Aws::Utils::DateTime &&value)
const Aws::String & GetSessionToken() const
Credentials & WithSecretAccessKey(const Aws::String &value)
void SetSessionToken(Aws::String &&value)
void SetSecretAccessKey(const char *value)
bool ExpirationHasBeenSet() const
Credentials & WithSessionToken(const char *value)
AWS_STS_API Credentials(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_STS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Credentials & WithSessionToken(Aws::String &&value)
Credentials & WithAccessKeyId(const char *value)
AWS_STS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Credentials & WithAccessKeyId(Aws::String &&value)
Credentials & WithExpiration(const Aws::Utils::DateTime &value)
const Aws::String & GetAccessKeyId() const
Credentials & WithSecretAccessKey(Aws::String &&value)
const Aws::String & GetSecretAccessKey() const
Credentials & WithSecretAccessKey(const char *value)
void SetSessionToken(const Aws::String &value)
Credentials & WithAccessKeyId(const Aws::String &value)
const Aws::Utils::DateTime & GetExpiration() const
void SetAccessKeyId(const char *value)
bool SecretAccessKeyHasBeenSet() const
AWS_STS_API Credentials()
void SetSessionToken(const char *value)
Credentials & WithSessionToken(const Aws::String &value)
Credentials & WithExpiration(Aws::Utils::DateTime &&value)
void SetAccessKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream