/**
* 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 base64-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed is base64-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed is base64-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed is base64-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed is base64-encoded.
The base32 seed defined as specified in RFC3548. The
* Base32StringSeed 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.
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;} private: Aws::String m_serialNumber; bool m_serialNumberHasBeenSet; Aws::Utils::CryptoBuffer m_base32StringSeed; bool m_base32StringSeedHasBeenSet; Aws::Utils::CryptoBuffer m_qRCodePNG; bool m_qRCodePNGHasBeenSet; User m_user; bool m_userHasBeenSet; Aws::Utils::DateTime m_enableDate; bool m_enableDateHasBeenSet; }; } // namespace Model } // namespace IAM } // namespace Aws