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>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CognitoIdentityProvider {
115 m_challengeNameHasBeenSet =
true;
116 m_challengeName = value;
133 template <
typename SessionT = Aws::String>
135 m_sessionHasBeenSet =
true;
136 m_session = std::forward<SessionT>(value);
138 template <
typename SessionT = Aws::String>
161 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
163 m_challengeParametersHasBeenSet =
true;
164 m_challengeParameters = std::forward<ChallengeParametersT>(value);
166 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
171 template <
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
173 m_challengeParametersHasBeenSet =
true;
174 m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
188 template <
typename AuthenticationResultT = AuthenticationResultType>
190 m_authenticationResultHasBeenSet =
true;
191 m_authenticationResult = std::forward<AuthenticationResultT>(value);
193 template <
typename AuthenticationResultT = AuthenticationResultType>
210 template <
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
212 m_availableChallengesHasBeenSet =
true;
213 m_availableChallenges = std::forward<AvailableChallengesT>(value);
215 template <
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
221 m_availableChallengesHasBeenSet =
true;
222 m_availableChallenges.push_back(value);
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
250 AuthenticationResultType m_authenticationResult;
256 bool m_challengeNameHasBeenSet =
false;
257 bool m_sessionHasBeenSet =
false;
258 bool m_challengeParametersHasBeenSet =
false;
259 bool m_authenticationResultHasBeenSet =
false;
260 bool m_availableChallengesHasBeenSet =
false;
261 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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