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
129 template<
typename SessionT = Aws::String>
130 void SetSession(SessionT&& value) { m_sessionHasBeenSet =
true; m_session = std::forward<SessionT>(value); }
131 template<
typename SessionT = Aws::String>
151 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
152 void SetChallengeParameters(ChallengeParametersT&& value) { m_challengeParametersHasBeenSet =
true; m_challengeParameters = std::forward<ChallengeParametersT>(value); }
153 template<
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
155 template<
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
157 m_challengeParametersHasBeenSet =
true; m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
return *
this;
170 template<
typename AuthenticationResultT = AuthenticationResultType>
171 void SetAuthenticationResult(AuthenticationResultT&& value) { m_authenticationResultHasBeenSet =
true; m_authenticationResult = std::forward<AuthenticationResultT>(value); }
172 template<
typename AuthenticationResultT = AuthenticationResultType>
186 template<
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
187 void SetAvailableChallenges(AvailableChallengesT&& value) { m_availableChallengesHasBeenSet =
true; m_availableChallenges = std::forward<AvailableChallengesT>(value); }
188 template<
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
196 template<
typename RequestIdT = Aws::String>
197 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
198 template<
typename RequestIdT = Aws::String>
204 bool m_challengeNameHasBeenSet =
false;
207 bool m_sessionHasBeenSet =
false;
210 bool m_challengeParametersHasBeenSet =
false;
212 AuthenticationResultType m_authenticationResult;
213 bool m_authenticationResultHasBeenSet =
false;
216 bool m_availableChallengesHasBeenSet =
false;
219 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