/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Confirms the device request.See Also:
AWS
* API Reference
A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline const Aws::String& GetAccessToken() const{ return m_accessToken; } /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline ConfirmDeviceRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline ConfirmDeviceRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose device you * want to confirm.
*/ inline ConfirmDeviceRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} /** *The device key.
*/ inline const Aws::String& GetDeviceKey() const{ return m_deviceKey; } /** *The device key.
*/ inline bool DeviceKeyHasBeenSet() const { return m_deviceKeyHasBeenSet; } /** *The device key.
*/ inline void SetDeviceKey(const Aws::String& value) { m_deviceKeyHasBeenSet = true; m_deviceKey = value; } /** *The device key.
*/ inline void SetDeviceKey(Aws::String&& value) { m_deviceKeyHasBeenSet = true; m_deviceKey = std::move(value); } /** *The device key.
*/ inline void SetDeviceKey(const char* value) { m_deviceKeyHasBeenSet = true; m_deviceKey.assign(value); } /** *The device key.
*/ inline ConfirmDeviceRequest& WithDeviceKey(const Aws::String& value) { SetDeviceKey(value); return *this;} /** *The device key.
*/ inline ConfirmDeviceRequest& WithDeviceKey(Aws::String&& value) { SetDeviceKey(std::move(value)); return *this;} /** *The device key.
*/ inline ConfirmDeviceRequest& WithDeviceKey(const char* value) { SetDeviceKey(value); return *this;} /** *The configuration of the device secret verifier.
*/ inline const DeviceSecretVerifierConfigType& GetDeviceSecretVerifierConfig() const{ return m_deviceSecretVerifierConfig; } /** *The configuration of the device secret verifier.
*/ inline bool DeviceSecretVerifierConfigHasBeenSet() const { return m_deviceSecretVerifierConfigHasBeenSet; } /** *The configuration of the device secret verifier.
*/ inline void SetDeviceSecretVerifierConfig(const DeviceSecretVerifierConfigType& value) { m_deviceSecretVerifierConfigHasBeenSet = true; m_deviceSecretVerifierConfig = value; } /** *The configuration of the device secret verifier.
*/ inline void SetDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType&& value) { m_deviceSecretVerifierConfigHasBeenSet = true; m_deviceSecretVerifierConfig = std::move(value); } /** *The configuration of the device secret verifier.
*/ inline ConfirmDeviceRequest& WithDeviceSecretVerifierConfig(const DeviceSecretVerifierConfigType& value) { SetDeviceSecretVerifierConfig(value); return *this;} /** *The configuration of the device secret verifier.
*/ inline ConfirmDeviceRequest& WithDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType&& value) { SetDeviceSecretVerifierConfig(std::move(value)); return *this;} /** *The device name.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The device name.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The device name.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The device name.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The device name.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The device name.
*/ inline ConfirmDeviceRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The device name.
*/ inline ConfirmDeviceRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The device name.
*/ inline ConfirmDeviceRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} private: Aws::String m_accessToken; bool m_accessTokenHasBeenSet = false; Aws::String m_deviceKey; bool m_deviceKeyHasBeenSet = false; DeviceSecretVerifierConfigType m_deviceSecretVerifierConfig; bool m_deviceSecretVerifierConfigHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws