7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/model/ChallengeNameType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/cognito-idp/model/AuthenticationResultType.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace CognitoIdentityProvider
130 template<
typename SessionT = Aws::String>
131 void SetSession(SessionT&& value) { m_sessionHasBeenSet =
true; m_session = std::forward<SessionT>(value); }
132 template<
typename SessionT = Aws::String>
141 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
142 void SetChallengeParameters(ChallengeParametersT&& value) { m_challengeParametersHasBeenSet =
true; m_challengeParameters = std::forward<ChallengeParametersT>(value); }
143 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
145 template<
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
147 m_challengeParametersHasBeenSet =
true; m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
return *
this;
159 template<
typename AuthenticationResultT = AuthenticationResultType>
160 void SetAuthenticationResult(AuthenticationResultT&& value) { m_authenticationResultHasBeenSet =
true; m_authenticationResult = std::forward<AuthenticationResultT>(value); }
161 template<
typename AuthenticationResultT = AuthenticationResultType>
168 template<
typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
170 template<
typename RequestIdT = Aws::String>
176 bool m_challengeNameHasBeenSet =
false;
179 bool m_sessionHasBeenSet =
false;
182 bool m_challengeParametersHasBeenSet =
false;
184 AuthenticationResultType m_authenticationResult;
185 bool m_authenticationResultHasBeenSet =
false;
188 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_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