7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/DeviceSecretVerifierConfigType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CognitoIdentityProvider {
45 template <
typename AccessTokenT = Aws::String>
47 m_accessTokenHasBeenSet =
true;
48 m_accessToken = std::forward<AccessTokenT>(value);
50 template <
typename AccessTokenT = Aws::String>
64 template <
typename DeviceKeyT = Aws::String>
66 m_deviceKeyHasBeenSet =
true;
67 m_deviceKey = std::forward<DeviceKeyT>(value);
69 template <
typename DeviceKeyT = Aws::String>
82 template <
typename DeviceSecretVerifierConfigT = DeviceSecretVerifierConfigType>
84 m_deviceSecretVerifierConfigHasBeenSet =
true;
85 m_deviceSecretVerifierConfig = std::forward<DeviceSecretVerifierConfigT>(value);
87 template <
typename DeviceSecretVerifierConfigT = DeviceSecretVerifierConfigType>
100 template <
typename DeviceNameT = Aws::String>
102 m_deviceNameHasBeenSet =
true;
103 m_deviceName = std::forward<DeviceNameT>(value);
105 template <
typename DeviceNameT = Aws::String>
119 bool m_accessTokenHasBeenSet =
false;
120 bool m_deviceKeyHasBeenSet =
false;
121 bool m_deviceSecretVerifierConfigHasBeenSet =
false;
122 bool m_deviceNameHasBeenSet =
false;
ConfirmDeviceRequest & WithAccessToken(AccessTokenT &&value)
const DeviceSecretVerifierConfigType & GetDeviceSecretVerifierConfig() const
bool AccessTokenHasBeenSet() const
void SetAccessToken(AccessTokenT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
const Aws::String & GetDeviceName() const
const Aws::String & GetAccessToken() const
AWS_COGNITOIDENTITYPROVIDER_API ConfirmDeviceRequest()=default
void SetDeviceName(DeviceNameT &&value)
const Aws::String & GetDeviceKey() const
bool DeviceKeyHasBeenSet() const
ConfirmDeviceRequest & WithDeviceName(DeviceNameT &&value)
void SetDeviceSecretVerifierConfig(DeviceSecretVerifierConfigT &&value)
ConfirmDeviceRequest & WithDeviceKey(DeviceKeyT &&value)
bool DeviceNameHasBeenSet() const
void SetDeviceKey(DeviceKeyT &&value)
virtual const char * GetServiceRequestName() const override
bool DeviceSecretVerifierConfigHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ConfirmDeviceRequest & WithDeviceSecretVerifierConfig(DeviceSecretVerifierConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String