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>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace CognitoIdentityProvider
131 template<
typename SessionT = Aws::String>
132 void SetSession(SessionT&& value) { m_sessionHasBeenSet =
true; m_session = std::forward<SessionT>(value); }
133 template<
typename SessionT = Aws::String>
153 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
154 void SetChallengeParameters(ChallengeParametersT&& value) { m_challengeParametersHasBeenSet =
true; m_challengeParameters = std::forward<ChallengeParametersT>(value); }
155 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
157 template<
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
159 m_challengeParametersHasBeenSet =
true; m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
return *
this;
172 template<
typename AuthenticationResultT = AuthenticationResultType>
173 void SetAuthenticationResult(AuthenticationResultT&& value) { m_authenticationResultHasBeenSet =
true; m_authenticationResult = std::forward<AuthenticationResultT>(value); }
174 template<
typename AuthenticationResultT = AuthenticationResultType>
188 template<
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
189 void SetAvailableChallenges(AvailableChallengesT&& value) { m_availableChallengesHasBeenSet =
true; m_availableChallenges = std::forward<AvailableChallengesT>(value); }
190 template<
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
198 template<
typename RequestIdT = Aws::String>
199 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
200 template<
typename RequestIdT = Aws::String>
206 bool m_challengeNameHasBeenSet =
false;
209 bool m_sessionHasBeenSet =
false;
212 bool m_challengeParametersHasBeenSet =
false;
214 AuthenticationResultType m_authenticationResult;
215 bool m_authenticationResultHasBeenSet =
false;
218 bool m_availableChallengesHasBeenSet =
false;
221 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetSession() const
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, Aws::String > & GetChallengeParameters() const
void SetChallengeName(ChallengeNameType value)
AdminInitiateAuthResult & WithAvailableChallenges(AvailableChallengesT &&value)
void SetSession(SessionT &&value)
void SetChallengeParameters(ChallengeParametersT &&value)
AdminInitiateAuthResult & WithRequestId(RequestIdT &&value)
AdminInitiateAuthResult & WithSession(SessionT &&value)
const AuthenticationResultType & GetAuthenticationResult() const
AdminInitiateAuthResult & WithChallengeParameters(ChallengeParametersT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminInitiateAuthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AdminInitiateAuthResult & WithAuthenticationResult(AuthenticationResultT &&value)
ChallengeNameType GetChallengeName() const
AdminInitiateAuthResult & WithChallengeName(ChallengeNameType value)
void SetAvailableChallenges(AvailableChallengesT &&value)
AdminInitiateAuthResult & AddChallengeParameters(ChallengeParametersKeyT &&key, ChallengeParametersValueT &&value)
void SetRequestId(RequestIdT &&value)
AdminInitiateAuthResult & AddAvailableChallenges(ChallengeNameType value)
const Aws::Vector< ChallengeNameType > & GetAvailableChallenges() const
AWS_COGNITOIDENTITYPROVIDER_API AdminInitiateAuthResult()=default
AWS_COGNITOIDENTITYPROVIDER_API AdminInitiateAuthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthenticationResult(AuthenticationResultT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue