AWS SDK for C++

AWS SDK for C++ Version 1.11.758

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