7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iam/IAM_EXPORTS.h>
13#include <aws/iam/model/Tag.h>
14#include <aws/iam/model/User.h>
48 template <
typename SerialNumberT = Aws::String>
50 m_serialNumberHasBeenSet =
true;
51 m_serialNumber = std::forward<SerialNumberT>(value);
53 template <
typename SerialNumberT = Aws::String>
68 template <
typename Base32StringSeedT = Aws::Utils::CryptoBuffer>
70 m_base32StringSeedHasBeenSet =
true;
71 m_base32StringSeed = std::forward<Base32StringSeedT>(value);
73 template <
typename Base32StringSeedT = Aws::Utils::CryptoBuffer>
91 template <
typename QRCodePNGT = Aws::Utils::CryptoBuffer>
93 m_qRCodePNGHasBeenSet =
true;
94 m_qRCodePNG = std::forward<QRCodePNGT>(value);
96 template <
typename QRCodePNGT = Aws::Utils::CryptoBuffer>
109 template <
typename UserT = User>
111 m_userHasBeenSet =
true;
112 m_user = std::forward<UserT>(value);
114 template <
typename UserT = User>
116 SetUser(std::forward<UserT>(value));
127 template <
typename EnableDateT = Aws::Utils::DateTime>
129 m_enableDateHasBeenSet =
true;
130 m_enableDate = std::forward<EnableDateT>(value);
132 template <
typename EnableDateT = Aws::Utils::DateTime>
148 template <
typename TagsT = Aws::Vector<Tag>>
150 m_tagsHasBeenSet =
true;
151 m_tags = std::forward<TagsT>(value);
153 template <
typename TagsT = Aws::Vector<Tag>>
155 SetTags(std::forward<TagsT>(value));
158 template <
typename TagsT = Tag>
160 m_tagsHasBeenSet =
true;
161 m_tags.emplace_back(std::forward<TagsT>(value));
177 bool m_serialNumberHasBeenSet =
false;
178 bool m_base32StringSeedHasBeenSet =
false;
179 bool m_qRCodePNGHasBeenSet =
false;
180 bool m_userHasBeenSet =
false;
181 bool m_enableDateHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
VirtualMFADevice & WithUser(UserT &&value)
const User & GetUser() const
void SetBase32StringSeed(Base32StringSeedT &&value)
const Aws::String & GetSerialNumber() const
VirtualMFADevice & WithBase32StringSeed(Base32StringSeedT &&value)
AWS_IAM_API VirtualMFADevice(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUser(UserT &&value)
bool EnableDateHasBeenSet() const
bool SerialNumberHasBeenSet() const
bool Base32StringSeedHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetQRCodePNG() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool UserHasBeenSet() const
VirtualMFADevice & AddTags(TagsT &&value)
AWS_IAM_API VirtualMFADevice()=default
const Aws::Vector< Tag > & GetTags() const
void SetSerialNumber(SerialNumberT &&value)
void SetQRCodePNG(QRCodePNGT &&value)
VirtualMFADevice & WithEnableDate(EnableDateT &&value)
void SetEnableDate(EnableDateT &&value)
AWS_IAM_API VirtualMFADevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VirtualMFADevice & WithTags(TagsT &&value)
VirtualMFADevice & WithSerialNumber(SerialNumberT &&value)
const Aws::Utils::CryptoBuffer & GetBase32StringSeed() const
const Aws::Utils::DateTime & GetEnableDate() const
bool TagsHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VirtualMFADevice & WithQRCodePNG(QRCodePNGT &&value)
bool QRCodePNGHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream