7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/IAM_EXPORTS.h>
46 template <
typename UserNameT = Aws::String>
48 m_userNameHasBeenSet =
true;
49 m_userName = std::forward<UserNameT>(value);
51 template <
typename UserNameT = Aws::String>
65 template <
typename SerialNumberT = Aws::String>
67 m_serialNumberHasBeenSet =
true;
68 m_serialNumber = std::forward<SerialNumberT>(value);
70 template <
typename SerialNumberT = Aws::String>
83 template <
typename EnableDateT = Aws::Utils::DateTime>
85 m_enableDateHasBeenSet =
true;
86 m_enableDate = std::forward<EnableDateT>(value);
88 template <
typename EnableDateT = Aws::Utils::DateTime>
100 bool m_userNameHasBeenSet =
false;
101 bool m_serialNumberHasBeenSet =
false;
102 bool m_enableDateHasBeenSet =
false;
const Aws::Utils::DateTime & GetEnableDate() const
AWS_IAM_API MFADevice(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSerialNumber() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
MFADevice & WithSerialNumber(SerialNumberT &&value)
void SetUserName(UserNameT &&value)
MFADevice & WithEnableDate(EnableDateT &&value)
bool EnableDateHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSerialNumber(SerialNumberT &&value)
void SetEnableDate(EnableDateT &&value)
bool UserNameHasBeenSet() const
AWS_IAM_API MFADevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API MFADevice()=default
bool SerialNumberHasBeenSet() const
const Aws::String & GetUserName() const
MFADevice & WithUserName(UserNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream