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/Array.h>
11#include <aws/iam/model/User.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/iam/model/Tag.h>
54 template<
typename SerialNumberT = Aws::String>
55 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet =
true; m_serialNumber = std::forward<SerialNumberT>(value); }
56 template<
typename SerialNumberT = Aws::String>
68 template<
typename Base32StringSeedT = Aws::Utils::CryptoBuffer>
69 void SetBase32StringSeed(Base32StringSeedT&& value) { m_base32StringSeedHasBeenSet =
true; m_base32StringSeed = std::forward<Base32StringSeedT>(value); }
70 template<
typename Base32StringSeedT = Aws::Utils::CryptoBuffer>
85 template<
typename QRCodePNGT = Aws::Utils::CryptoBuffer>
86 void SetQRCodePNG(QRCodePNGT&& value) { m_qRCodePNGHasBeenSet =
true; m_qRCodePNG = std::forward<QRCodePNGT>(value); }
87 template<
typename QRCodePNGT = Aws::Utils::CryptoBuffer>
97 template<
typename UserT = User>
98 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
99 template<
typename UserT = User>
109 template<
typename EnableDateT = Aws::Utils::DateTime>
110 void SetEnableDate(EnableDateT&& value) { m_enableDateHasBeenSet =
true; m_enableDate = std::forward<EnableDateT>(value); }
111 template<
typename EnableDateT = Aws::Utils::DateTime>
124 template<
typename TagsT = Aws::Vector<Tag>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Vector<Tag>>
128 template<
typename TagsT = Tag>
129 VirtualMFADevice&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
134 bool m_serialNumberHasBeenSet =
false;
137 bool m_base32StringSeedHasBeenSet =
false;
140 bool m_qRCodePNGHasBeenSet =
false;
143 bool m_userHasBeenSet =
false;
146 bool m_enableDateHasBeenSet =
false;
149 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