7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/StatusType.h>
11#include <aws/core/utils/DateTime.h>
59 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
73 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
100 inline void SetSecretAccessKey(
const char* value) { m_secretAccessKeyHasBeenSet =
true; m_secretAccessKey.assign(value); }
120 bool m_userNameHasBeenSet =
false;
123 bool m_accessKeyIdHasBeenSet =
false;
126 bool m_statusHasBeenSet =
false;
129 bool m_secretAccessKeyHasBeenSet =
false;
132 bool m_createDateHasBeenSet =
false;
bool StatusHasBeenSet() const
AWS_IAM_API AccessKey(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUserName(Aws::String &&value)
bool AccessKeyIdHasBeenSet() const
const StatusType & GetStatus() const
void SetAccessKeyId(const Aws::String &value)
AccessKey & WithCreateDate(const Aws::Utils::DateTime &value)
AccessKey & WithSecretAccessKey(const Aws::String &value)
AccessKey & WithSecretAccessKey(Aws::String &&value)
const Aws::String & GetUserName() const
AccessKey & WithAccessKeyId(const char *value)
void SetStatus(const StatusType &value)
bool UserNameHasBeenSet() const
void SetCreateDate(Aws::Utils::DateTime &&value)
void SetSecretAccessKey(const char *value)
AccessKey & WithSecretAccessKey(const char *value)
void SetSecretAccessKey(Aws::String &&value)
void SetStatus(StatusType &&value)
void SetUserName(const char *value)
const Aws::Utils::DateTime & GetCreateDate() const
bool SecretAccessKeyHasBeenSet() const
void SetUserName(const Aws::String &value)
AccessKey & WithUserName(Aws::String &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
AccessKey & WithCreateDate(Aws::Utils::DateTime &&value)
AccessKey & WithUserName(const Aws::String &value)
void SetSecretAccessKey(const Aws::String &value)
AccessKey & WithStatus(StatusType &&value)
void SetAccessKeyId(const char *value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AccessKey & WithUserName(const char *value)
const Aws::String & GetAccessKeyId() const
bool CreateDateHasBeenSet() const
const Aws::String & GetSecretAccessKey() const
AccessKey & WithAccessKeyId(const Aws::String &value)
void SetAccessKeyId(Aws::String &&value)
AccessKey & WithStatus(const StatusType &value)
AccessKey & WithAccessKeyId(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API AccessKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream