/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a virtual MFA device.See Also:
* AWS
* API Reference
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The serial number associated with VirtualMFADevice
.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed
is base32-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
A QR code PNG image that encodes
* otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String
* where $virtualMFADeviceName
is one of the create call arguments.
* AccountName
is the user name if set (otherwise, the account ID
* otherwise), and Base32String
is the seed in base32 format. The
* Base32String
value is base64-encoded.
The IAM user associated with this virtual MFA device.
*/ inline const User& GetUser() const{ return m_user; } /** *The IAM user associated with this virtual MFA device.
*/ inline bool UserHasBeenSet() const { return m_userHasBeenSet; } /** *The IAM user associated with this virtual MFA device.
*/ inline void SetUser(const User& value) { m_userHasBeenSet = true; m_user = value; } /** *The IAM user associated with this virtual MFA device.
*/ inline void SetUser(User&& value) { m_userHasBeenSet = true; m_user = std::move(value); } /** *The IAM user associated with this virtual MFA device.
*/ inline VirtualMFADevice& WithUser(const User& value) { SetUser(value); return *this;} /** *The IAM user associated with this virtual MFA device.
*/ inline VirtualMFADevice& WithUser(User&& value) { SetUser(std::move(value)); return *this;} /** *The date and time on which the virtual MFA device was enabled.
*/ inline const Aws::Utils::DateTime& GetEnableDate() const{ return m_enableDate; } /** *The date and time on which the virtual MFA device was enabled.
*/ inline bool EnableDateHasBeenSet() const { return m_enableDateHasBeenSet; } /** *The date and time on which the virtual MFA device was enabled.
*/ inline void SetEnableDate(const Aws::Utils::DateTime& value) { m_enableDateHasBeenSet = true; m_enableDate = value; } /** *The date and time on which the virtual MFA device was enabled.
*/ inline void SetEnableDate(Aws::Utils::DateTime&& value) { m_enableDateHasBeenSet = true; m_enableDate = std::move(value); } /** *The date and time on which the virtual MFA device was enabled.
*/ inline VirtualMFADevice& WithEnableDate(const Aws::Utils::DateTime& value) { SetEnableDate(value); return *this;} /** *The date and time on which the virtual MFA device was enabled.
*/ inline VirtualMFADevice& WithEnableDate(Aws::Utils::DateTime&& value) { SetEnableDate(std::move(value)); return *this;} /** *A list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline const Aws::VectorA list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline void SetTags(const Aws::VectorA list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline void SetTags(Aws::VectorA list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline VirtualMFADevice& WithTags(const Aws::VectorA list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline VirtualMFADevice& WithTags(Aws::VectorA list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline VirtualMFADevice& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tags that are attached to the virtual MFA device. For more * information about tagging, see Tagging IAM * resources in the IAM User Guide.
*/ inline VirtualMFADevice& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_serialNumber; bool m_serialNumberHasBeenSet = false; Aws::Utils::CryptoBuffer m_base32StringSeed; bool m_base32StringSeedHasBeenSet = false; Aws::Utils::CryptoBuffer m_qRCodePNG; bool m_qRCodePNGHasBeenSet = false; User m_user; bool m_userHasBeenSet = false; Aws::Utils::DateTime m_enableDate; bool m_enableDateHasBeenSet = false; Aws::Vector