AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
WebAuthnCredentialDescription.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CognitoIdentityProvider {
22namespace Model {
23
31 public:
32 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription() = default;
33 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetCredentialId() const { return m_credentialId; }
42 inline bool CredentialIdHasBeenSet() const { return m_credentialIdHasBeenSet; }
43 template <typename CredentialIdT = Aws::String>
44 void SetCredentialId(CredentialIdT&& value) {
45 m_credentialIdHasBeenSet = true;
46 m_credentialId = std::forward<CredentialIdT>(value);
47 }
48 template <typename CredentialIdT = Aws::String>
50 SetCredentialId(std::forward<CredentialIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFriendlyCredentialName() const { return m_friendlyCredentialName; }
60 inline bool FriendlyCredentialNameHasBeenSet() const { return m_friendlyCredentialNameHasBeenSet; }
61 template <typename FriendlyCredentialNameT = Aws::String>
62 void SetFriendlyCredentialName(FriendlyCredentialNameT&& value) {
63 m_friendlyCredentialNameHasBeenSet = true;
64 m_friendlyCredentialName = std::forward<FriendlyCredentialNameT>(value);
65 }
66 template <typename FriendlyCredentialNameT = Aws::String>
68 SetFriendlyCredentialName(std::forward<FriendlyCredentialNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRelyingPartyId() const { return m_relyingPartyId; }
78 inline bool RelyingPartyIdHasBeenSet() const { return m_relyingPartyIdHasBeenSet; }
79 template <typename RelyingPartyIdT = Aws::String>
80 void SetRelyingPartyId(RelyingPartyIdT&& value) {
81 m_relyingPartyIdHasBeenSet = true;
82 m_relyingPartyId = std::forward<RelyingPartyIdT>(value);
83 }
84 template <typename RelyingPartyIdT = Aws::String>
86 SetRelyingPartyId(std::forward<RelyingPartyIdT>(value));
87 return *this;
88 }
90
92
97 inline const Aws::String& GetAuthenticatorAttachment() const { return m_authenticatorAttachment; }
98 inline bool AuthenticatorAttachmentHasBeenSet() const { return m_authenticatorAttachmentHasBeenSet; }
99 template <typename AuthenticatorAttachmentT = Aws::String>
100 void SetAuthenticatorAttachment(AuthenticatorAttachmentT&& value) {
101 m_authenticatorAttachmentHasBeenSet = true;
102 m_authenticatorAttachment = std::forward<AuthenticatorAttachmentT>(value);
103 }
104 template <typename AuthenticatorAttachmentT = Aws::String>
106 SetAuthenticatorAttachment(std::forward<AuthenticatorAttachmentT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::Vector<Aws::String>& GetAuthenticatorTransports() const { return m_authenticatorTransports; }
117 inline bool AuthenticatorTransportsHasBeenSet() const { return m_authenticatorTransportsHasBeenSet; }
118 template <typename AuthenticatorTransportsT = Aws::Vector<Aws::String>>
119 void SetAuthenticatorTransports(AuthenticatorTransportsT&& value) {
120 m_authenticatorTransportsHasBeenSet = true;
121 m_authenticatorTransports = std::forward<AuthenticatorTransportsT>(value);
122 }
123 template <typename AuthenticatorTransportsT = Aws::Vector<Aws::String>>
125 SetAuthenticatorTransports(std::forward<AuthenticatorTransportsT>(value));
126 return *this;
127 }
128 template <typename AuthenticatorTransportsT = Aws::String>
130 m_authenticatorTransportsHasBeenSet = true;
131 m_authenticatorTransports.emplace_back(std::forward<AuthenticatorTransportsT>(value));
132 return *this;
133 }
135
137
142 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
143 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
144 template <typename CreatedAtT = Aws::Utils::DateTime>
145 void SetCreatedAt(CreatedAtT&& value) {
146 m_createdAtHasBeenSet = true;
147 m_createdAt = std::forward<CreatedAtT>(value);
148 }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
151 SetCreatedAt(std::forward<CreatedAtT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_credentialId;
157
158 Aws::String m_friendlyCredentialName;
159
160 Aws::String m_relyingPartyId;
161
162 Aws::String m_authenticatorAttachment;
163
164 Aws::Vector<Aws::String> m_authenticatorTransports;
165
166 Aws::Utils::DateTime m_createdAt{};
167 bool m_credentialIdHasBeenSet = false;
168 bool m_friendlyCredentialNameHasBeenSet = false;
169 bool m_relyingPartyIdHasBeenSet = false;
170 bool m_authenticatorAttachmentHasBeenSet = false;
171 bool m_authenticatorTransportsHasBeenSet = false;
172 bool m_createdAtHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace CognitoIdentityProvider
177} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const
WebAuthnCredentialDescription & WithAuthenticatorAttachment(AuthenticatorAttachmentT &&value)
WebAuthnCredentialDescription & WithAuthenticatorTransports(AuthenticatorTransportsT &&value)
AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription()=default
WebAuthnCredentialDescription & WithCredentialId(CredentialIdT &&value)
WebAuthnCredentialDescription & WithFriendlyCredentialName(FriendlyCredentialNameT &&value)
WebAuthnCredentialDescription & AddAuthenticatorTransports(AuthenticatorTransportsT &&value)
WebAuthnCredentialDescription & WithRelyingPartyId(RelyingPartyIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue