AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfirmDeviceResult.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentityProvider
24{
25namespace Model
26{
33 {
34 public:
35 AWS_COGNITOIDENTITYPROVIDER_API ConfirmDeviceResult() = default;
38
39
41
50 inline bool GetUserConfirmationNecessary() const { return m_userConfirmationNecessary; }
51 inline void SetUserConfirmationNecessary(bool value) { m_userConfirmationNecessaryHasBeenSet = true; m_userConfirmationNecessary = value; }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 ConfirmDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
65 bool m_userConfirmationNecessary{false};
66 bool m_userConfirmationNecessaryHasBeenSet = false;
67
68 Aws::String m_requestId;
69 bool m_requestIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CognitoIdentityProvider
74} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API ConfirmDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmDeviceResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API ConfirmDeviceResult()=default
AWS_COGNITOIDENTITYPROVIDER_API ConfirmDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmDeviceResult & WithUserConfirmationNecessary(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue