/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Confirms the device response.See Also:
AWS
* API Reference
Indicates whether the user confirmation must confirm the device response.
*/ inline bool GetUserConfirmationNecessary() const{ return m_userConfirmationNecessary; } /** *Indicates whether the user confirmation must confirm the device response.
*/ inline void SetUserConfirmationNecessary(bool value) { m_userConfirmationNecessary = value; } /** *Indicates whether the user confirmation must confirm the device response.
*/ inline ConfirmDeviceResult& WithUserConfirmationNecessary(bool value) { SetUserConfirmationNecessary(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ConfirmDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ConfirmDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ConfirmDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_userConfirmationNecessary; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws