AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CompleteWebAuthnRegistrationRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Document.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentityProvider
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COGNITOIDENTITYPROVIDER_API CompleteWebAuthnRegistrationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CompleteWebAuthnRegistration"; }
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetAccessToken() const { return m_accessToken; }
45 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
46 template<typename AccessTokenT = Aws::String>
47 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::forward<AccessTokenT>(value); }
48 template<typename AccessTokenT = Aws::String>
49 CompleteWebAuthnRegistrationRequest& WithAccessToken(AccessTokenT&& value) { SetAccessToken(std::forward<AccessTokenT>(value)); return *this;}
51
53
58 inline Aws::Utils::DocumentView GetCredential() const { return m_credential; }
59 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
60 template<typename CredentialT = Aws::Utils::Document>
61 void SetCredential(CredentialT&& value) { m_credentialHasBeenSet = true; m_credential = std::forward<CredentialT>(value); }
62 template<typename CredentialT = Aws::Utils::Document>
63 CompleteWebAuthnRegistrationRequest& WithCredential(CredentialT&& value) { SetCredential(std::forward<CredentialT>(value)); return *this;}
65 private:
66
67 Aws::String m_accessToken;
68 bool m_accessTokenHasBeenSet = false;
69
70 Aws::Utils::Document m_credential;
71 bool m_credentialHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CognitoIdentityProvider
76} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API CompleteWebAuthnRegistrationRequest()=default
CompleteWebAuthnRegistrationRequest & WithAccessToken(AccessTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String