7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
52 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
67 inline void SetSecretAccessKey(
const char* value) { m_secretAccessKeyHasBeenSet =
true; m_secretAccessKey.assign(value); }
82 inline void SetSessionToken(
const char* value) { m_sessionTokenHasBeenSet =
true; m_sessionToken.assign(value); }
103 bool m_accessKeyIdHasBeenSet =
false;
106 bool m_secretAccessKeyHasBeenSet =
false;
109 bool m_sessionTokenHasBeenSet =
false;
112 bool m_expirationHasBeenSet =
false;
AWS_S3CONTROL_API Credentials()
bool SessionTokenHasBeenSet() const
Credentials & WithSecretAccessKey(Aws::String &&value)
void SetAccessKeyId(const Aws::String &value)
Credentials & WithAccessKeyId(Aws::String &&value)
void SetSessionToken(const Aws::String &value)
void SetSessionToken(const char *value)
const Aws::String & GetAccessKeyId() const
AWS_S3CONTROL_API Credentials(const Aws::Utils::Xml::XmlNode &xmlNode)
Credentials & WithSessionToken(const char *value)
bool AccessKeyIdHasBeenSet() const
void SetSecretAccessKey(const Aws::String &value)
Credentials & WithSecretAccessKey(const Aws::String &value)
Credentials & WithAccessKeyId(const char *value)
void SetAccessKeyId(Aws::String &&value)
const Aws::String & GetSecretAccessKey() const
bool SecretAccessKeyHasBeenSet() const
const Aws::String & GetSessionToken() const
Credentials & WithSessionToken(const Aws::String &value)
AWS_S3CONTROL_API Credentials & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSecretAccessKey(const char *value)
Credentials & WithSessionToken(Aws::String &&value)
Credentials & WithAccessKeyId(const Aws::String &value)
Credentials & WithSecretAccessKey(const char *value)
bool ExpirationHasBeenSet() const
void SetExpiration(Aws::Utils::DateTime &&value)
void SetAccessKeyId(const char *value)
const Aws::Utils::DateTime & GetExpiration() const
void SetSecretAccessKey(Aws::String &&value)
void SetExpiration(const Aws::Utils::DateTime &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Credentials & WithExpiration(Aws::Utils::DateTime &&value)
void SetSessionToken(Aws::String &&value)
Credentials & WithExpiration(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String