7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/model/AuthenticationResultType.h>
9#include <aws/cognito-idp/model/ChallengeNameType.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace CognitoIdentityProvider {
113 m_challengeNameHasBeenSet =
true;
114 m_challengeName = value;
132 template <
typename SessionT = Aws::String>
134 m_sessionHasBeenSet =
true;
135 m_session = std::forward<SessionT>(value);
137 template <
typename SessionT = Aws::String>
149 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
151 m_challengeParametersHasBeenSet =
true;
152 m_challengeParameters = std::forward<ChallengeParametersT>(value);
154 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
159 template <
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
161 m_challengeParametersHasBeenSet =
true;
162 m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
175 template <
typename AuthenticationResultT = AuthenticationResultType>
177 m_authenticationResultHasBeenSet =
true;
178 m_authenticationResult = std::forward<AuthenticationResultT>(value);
180 template <
typename AuthenticationResultT = AuthenticationResultType>
190 template <
typename RequestIdT = Aws::String>
192 m_requestIdHasBeenSet =
true;
193 m_requestId = std::forward<RequestIdT>(value);
195 template <
typename RequestIdT = Aws::String>
210 AuthenticationResultType m_authenticationResult;
214 bool m_challengeNameHasBeenSet =
false;
215 bool m_sessionHasBeenSet =
false;
216 bool m_challengeParametersHasBeenSet =
false;
217 bool m_authenticationResultHasBeenSet =
false;
218 bool m_requestIdHasBeenSet =
false;
void SetChallengeParameters(ChallengeParametersT &&value)
void SetRequestId(RequestIdT &&value)
RespondToAuthChallengeResult & WithSession(SessionT &&value)
void SetChallengeName(ChallengeNameType value)
AWS_COGNITOIDENTITYPROVIDER_API RespondToAuthChallengeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RespondToAuthChallengeResult & AddChallengeParameters(ChallengeParametersKeyT &&key, ChallengeParametersValueT &&value)
void SetSession(SessionT &&value)
AWS_COGNITOIDENTITYPROVIDER_API RespondToAuthChallengeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthenticationResult(AuthenticationResultT &&value)
RespondToAuthChallengeResult & WithAuthenticationResult(AuthenticationResultT &&value)
const Aws::Map< Aws::String, Aws::String > & GetChallengeParameters() const
const Aws::String & GetRequestId() const
RespondToAuthChallengeResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_COGNITOIDENTITYPROVIDER_API RespondToAuthChallengeResult()=default
const AuthenticationResultType & GetAuthenticationResult() const
ChallengeNameType GetChallengeName() const
RespondToAuthChallengeResult & WithChallengeName(ChallengeNameType value)
RespondToAuthChallengeResult & WithChallengeParameters(ChallengeParametersT &&value)
const Aws::String & GetSession() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue