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
127 template<
typename SessionT = Aws::String>
128 void SetSession(SessionT&& value) { m_sessionHasBeenSet =
true; m_session = std::forward<SessionT>(value); }
129 template<
typename SessionT = Aws::String>
138 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
139 void SetChallengeParameters(ChallengeParametersT&& value) { m_challengeParametersHasBeenSet =
true; m_challengeParameters = std::forward<ChallengeParametersT>(value); }
140 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
142 template<
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
144 m_challengeParametersHasBeenSet =
true; m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
return *
this;
156 template<
typename AuthenticationResultT = AuthenticationResultType>
157 void SetAuthenticationResult(AuthenticationResultT&& value) { m_authenticationResultHasBeenSet =
true; m_authenticationResult = std::forward<AuthenticationResultT>(value); }
158 template<
typename AuthenticationResultT = AuthenticationResultType>
165 template<
typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
167 template<
typename RequestIdT = Aws::String>
173 bool m_challengeNameHasBeenSet =
false;
176 bool m_sessionHasBeenSet =
false;
179 bool m_challengeParametersHasBeenSet =
false;
181 AuthenticationResultType m_authenticationResult;
182 bool m_authenticationResultHasBeenSet =
false;
185 bool m_requestIdHasBeenSet =
false;
void SetChallengeName(ChallengeNameType value)
void SetRequestId(RequestIdT &&value)
void SetSession(SessionT &&value)
AdminRespondToAuthChallengeResult & AddChallengeParameters(ChallengeParametersKeyT &&key, ChallengeParametersValueT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminRespondToAuthChallengeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AdminRespondToAuthChallengeResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminRespondToAuthChallengeResult()=default
ChallengeNameType GetChallengeName() const
AdminRespondToAuthChallengeResult & WithChallengeName(ChallengeNameType value)
AdminRespondToAuthChallengeResult & WithChallengeParameters(ChallengeParametersT &&value)
const Aws::String & GetSession() const
AWS_COGNITOIDENTITYPROVIDER_API AdminRespondToAuthChallengeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AuthenticationResultType & GetAuthenticationResult() const
const Aws::String & GetRequestId() const
void SetAuthenticationResult(AuthenticationResultT &&value)
AdminRespondToAuthChallengeResult & WithAuthenticationResult(AuthenticationResultT &&value)
AdminRespondToAuthChallengeResult & WithSession(SessionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetChallengeParameters() const
void SetChallengeParameters(ChallengeParametersT &&value)
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