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/core/utils/DateTime.h>
53 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
68 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
88 bool m_userNameHasBeenSet =
false;
91 bool m_serialNumberHasBeenSet =
false;
94 bool m_enableDateHasBeenSet =
false;
MFADevice & WithEnableDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEnableDate() const
MFADevice & WithUserName(const char *value)
AWS_IAM_API MFADevice(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUserName(Aws::String &&value)
const Aws::String & GetSerialNumber() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEnableDate(Aws::Utils::DateTime &&value)
void SetUserName(const char *value)
bool EnableDateHasBeenSet() const
void SetSerialNumber(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MFADevice & WithSerialNumber(const Aws::String &value)
void SetSerialNumber(const Aws::String &value)
MFADevice & WithEnableDate(const Aws::Utils::DateTime &value)
MFADevice & WithSerialNumber(Aws::String &&value)
void SetEnableDate(const Aws::Utils::DateTime &value)
bool UserNameHasBeenSet() const
MFADevice & WithUserName(Aws::String &&value)
void SetUserName(const Aws::String &value)
void SetSerialNumber(const char *value)
AWS_IAM_API MFADevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MFADevice & WithUserName(const Aws::String &value)
bool SerialNumberHasBeenSet() const
MFADevice & WithSerialNumber(const char *value)
const Aws::String & GetUserName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream