AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMFADeviceResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iam/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IAM_API GetMFADeviceResult();
36
37
39
42 inline const Aws::String& GetUserName() const{ return m_userName; }
43 inline void SetUserName(const Aws::String& value) { m_userName = value; }
44 inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); }
45 inline void SetUserName(const char* value) { m_userName.assign(value); }
46 inline GetMFADeviceResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
47 inline GetMFADeviceResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
48 inline GetMFADeviceResult& WithUserName(const char* value) { SetUserName(value); return *this;}
50
52
57 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
58 inline void SetSerialNumber(const Aws::String& value) { m_serialNumber = value; }
59 inline void SetSerialNumber(Aws::String&& value) { m_serialNumber = std::move(value); }
60 inline void SetSerialNumber(const char* value) { m_serialNumber.assign(value); }
61 inline GetMFADeviceResult& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
62 inline GetMFADeviceResult& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
63 inline GetMFADeviceResult& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetEnableDate() const{ return m_enableDate; }
71 inline void SetEnableDate(const Aws::Utils::DateTime& value) { m_enableDate = value; }
72 inline void SetEnableDate(Aws::Utils::DateTime&& value) { m_enableDate = std::move(value); }
73 inline GetMFADeviceResult& WithEnableDate(const Aws::Utils::DateTime& value) { SetEnableDate(value); return *this;}
74 inline GetMFADeviceResult& WithEnableDate(Aws::Utils::DateTime&& value) { SetEnableDate(std::move(value)); return *this;}
76
78
84 inline const Aws::Map<Aws::String, Aws::String>& GetCertifications() const{ return m_certifications; }
85 inline void SetCertifications(const Aws::Map<Aws::String, Aws::String>& value) { m_certifications = value; }
86 inline void SetCertifications(Aws::Map<Aws::String, Aws::String>&& value) { m_certifications = std::move(value); }
89 inline GetMFADeviceResult& AddCertifications(const Aws::String& key, const Aws::String& value) { m_certifications.emplace(key, value); return *this; }
90 inline GetMFADeviceResult& AddCertifications(Aws::String&& key, const Aws::String& value) { m_certifications.emplace(std::move(key), value); return *this; }
91 inline GetMFADeviceResult& AddCertifications(const Aws::String& key, Aws::String&& value) { m_certifications.emplace(key, std::move(value)); return *this; }
92 inline GetMFADeviceResult& AddCertifications(Aws::String&& key, Aws::String&& value) { m_certifications.emplace(std::move(key), std::move(value)); return *this; }
93 inline GetMFADeviceResult& AddCertifications(const char* key, Aws::String&& value) { m_certifications.emplace(key, std::move(value)); return *this; }
94 inline GetMFADeviceResult& AddCertifications(Aws::String&& key, const char* value) { m_certifications.emplace(std::move(key), value); return *this; }
95 inline GetMFADeviceResult& AddCertifications(const char* key, const char* value) { m_certifications.emplace(key, value); return *this; }
97
99
100 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
101 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
102 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
104 inline GetMFADeviceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_userName;
109
110 Aws::String m_serialNumber;
111
112 Aws::Utils::DateTime m_enableDate;
113
114 Aws::Map<Aws::String, Aws::String> m_certifications;
115
116 ResponseMetadata m_responseMetadata;
117 };
118
119} // namespace Model
120} // namespace IAM
121} // namespace Aws
void SetCertifications(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
GetMFADeviceResult & WithSerialNumber(const char *value)
void SetEnableDate(Aws::Utils::DateTime &&value)
void SetCertifications(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetCertifications() const
void SetUserName(const Aws::String &value)
GetMFADeviceResult & WithSerialNumber(Aws::String &&value)
GetMFADeviceResult & WithCertifications(Aws::Map< Aws::String, Aws::String > &&value)
GetMFADeviceResult & WithUserName(Aws::String &&value)
GetMFADeviceResult & AddCertifications(const char *key, const char *value)
const Aws::Utils::DateTime & GetEnableDate() const
void SetSerialNumber(Aws::String &&value)
GetMFADeviceResult & WithSerialNumber(const Aws::String &value)
GetMFADeviceResult & AddCertifications(Aws::String &&key, const Aws::String &value)
GetMFADeviceResult & WithUserName(const Aws::String &value)
AWS_IAM_API GetMFADeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetMFADeviceResult & AddCertifications(const Aws::String &key, Aws::String &&value)
GetMFADeviceResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(ResponseMetadata &&value)
GetMFADeviceResult & WithCertifications(const Aws::Map< Aws::String, Aws::String > &value)
GetMFADeviceResult & WithEnableDate(Aws::Utils::DateTime &&value)
void SetUserName(Aws::String &&value)
const Aws::String & GetSerialNumber() const
GetMFADeviceResult & WithResponseMetadata(ResponseMetadata &&value)
void SetSerialNumber(const Aws::String &value)
GetMFADeviceResult & WithEnableDate(const Aws::Utils::DateTime &value)
GetMFADeviceResult & AddCertifications(Aws::String &&key, Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
GetMFADeviceResult & AddCertifications(const Aws::String &key, const Aws::String &value)
void SetEnableDate(const Aws::Utils::DateTime &value)
GetMFADeviceResult & WithUserName(const char *value)
GetMFADeviceResult & AddCertifications(const char *key, Aws::String &&value)
AWS_IAM_API GetMFADeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetMFADeviceResult & AddCertifications(Aws::String &&key, const char *value)
const Aws::String & GetUserName() const
void SetSerialNumber(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument