AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WebAuthnCredentialDescription.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentityProvider
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription() = default;
38 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COGNITOIDENTITYPROVIDER_API WebAuthnCredentialDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCredentialId() const { return m_credentialId; }
48 inline bool CredentialIdHasBeenSet() const { return m_credentialIdHasBeenSet; }
49 template<typename CredentialIdT = Aws::String>
50 void SetCredentialId(CredentialIdT&& value) { m_credentialIdHasBeenSet = true; m_credentialId = std::forward<CredentialIdT>(value); }
51 template<typename CredentialIdT = Aws::String>
52 WebAuthnCredentialDescription& WithCredentialId(CredentialIdT&& value) { SetCredentialId(std::forward<CredentialIdT>(value)); return *this;}
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) { m_friendlyCredentialNameHasBeenSet = true; m_friendlyCredentialName = std::forward<FriendlyCredentialNameT>(value); }
63 template<typename FriendlyCredentialNameT = Aws::String>
64 WebAuthnCredentialDescription& WithFriendlyCredentialName(FriendlyCredentialNameT&& value) { SetFriendlyCredentialName(std::forward<FriendlyCredentialNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetRelyingPartyId() const { return m_relyingPartyId; }
72 inline bool RelyingPartyIdHasBeenSet() const { return m_relyingPartyIdHasBeenSet; }
73 template<typename RelyingPartyIdT = Aws::String>
74 void SetRelyingPartyId(RelyingPartyIdT&& value) { m_relyingPartyIdHasBeenSet = true; m_relyingPartyId = std::forward<RelyingPartyIdT>(value); }
75 template<typename RelyingPartyIdT = Aws::String>
76 WebAuthnCredentialDescription& WithRelyingPartyId(RelyingPartyIdT&& value) { SetRelyingPartyId(std::forward<RelyingPartyIdT>(value)); return *this;}
78
80
85 inline const Aws::String& GetAuthenticatorAttachment() const { return m_authenticatorAttachment; }
86 inline bool AuthenticatorAttachmentHasBeenSet() const { return m_authenticatorAttachmentHasBeenSet; }
87 template<typename AuthenticatorAttachmentT = Aws::String>
88 void SetAuthenticatorAttachment(AuthenticatorAttachmentT&& value) { m_authenticatorAttachmentHasBeenSet = true; m_authenticatorAttachment = std::forward<AuthenticatorAttachmentT>(value); }
89 template<typename AuthenticatorAttachmentT = Aws::String>
90 WebAuthnCredentialDescription& WithAuthenticatorAttachment(AuthenticatorAttachmentT&& value) { SetAuthenticatorAttachment(std::forward<AuthenticatorAttachmentT>(value)); return *this;}
92
94
98 inline const Aws::Vector<Aws::String>& GetAuthenticatorTransports() const { return m_authenticatorTransports; }
99 inline bool AuthenticatorTransportsHasBeenSet() const { return m_authenticatorTransportsHasBeenSet; }
100 template<typename AuthenticatorTransportsT = Aws::Vector<Aws::String>>
101 void SetAuthenticatorTransports(AuthenticatorTransportsT&& value) { m_authenticatorTransportsHasBeenSet = true; m_authenticatorTransports = std::forward<AuthenticatorTransportsT>(value); }
102 template<typename AuthenticatorTransportsT = Aws::Vector<Aws::String>>
103 WebAuthnCredentialDescription& WithAuthenticatorTransports(AuthenticatorTransportsT&& value) { SetAuthenticatorTransports(std::forward<AuthenticatorTransportsT>(value)); return *this;}
104 template<typename AuthenticatorTransportsT = Aws::String>
105 WebAuthnCredentialDescription& AddAuthenticatorTransports(AuthenticatorTransportsT&& value) { m_authenticatorTransportsHasBeenSet = true; m_authenticatorTransports.emplace_back(std::forward<AuthenticatorTransportsT>(value)); return *this; }
107
109
114 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
115 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
116 template<typename CreatedAtT = Aws::Utils::DateTime>
117 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 WebAuthnCredentialDescription& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
121 private:
122
123 Aws::String m_credentialId;
124 bool m_credentialIdHasBeenSet = false;
125
126 Aws::String m_friendlyCredentialName;
127 bool m_friendlyCredentialNameHasBeenSet = false;
128
129 Aws::String m_relyingPartyId;
130 bool m_relyingPartyIdHasBeenSet = false;
131
132 Aws::String m_authenticatorAttachment;
133 bool m_authenticatorAttachmentHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_authenticatorTransports;
136 bool m_authenticatorTransportsHasBeenSet = false;
137
138 Aws::Utils::DateTime m_createdAt{};
139 bool m_createdAtHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace CognitoIdentityProvider
144} // 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