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 {
112 m_challengeNameHasBeenSet =
true;
113 m_challengeName = value;
128 template <
typename SessionT = Aws::String>
130 m_sessionHasBeenSet =
true;
131 m_session = std::forward<SessionT>(value);
133 template <
typename SessionT = Aws::String>
147 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
149 m_challengeParametersHasBeenSet =
true;
150 m_challengeParameters = std::forward<ChallengeParametersT>(value);
152 template <
typename ChallengeParametersT = Aws::Map<Aws::String, Aws::String>>
157 template <
typename ChallengeParametersKeyT = Aws::String,
typename ChallengeParametersValueT = Aws::String>
159 m_challengeParametersHasBeenSet =
true;
160 m_challengeParameters.emplace(std::forward<ChallengeParametersKeyT>(key), std::forward<ChallengeParametersValueT>(value));
174 template <
typename AuthenticationResultT = AuthenticationResultType>
176 m_authenticationResultHasBeenSet =
true;
177 m_authenticationResult = std::forward<AuthenticationResultT>(value);
179 template <
typename AuthenticationResultT = AuthenticationResultType>
196 template <
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
198 m_availableChallengesHasBeenSet =
true;
199 m_availableChallenges = std::forward<AvailableChallengesT>(value);
201 template <
typename AvailableChallengesT = Aws::Vector<ChallengeNameType>>
207 m_availableChallengesHasBeenSet =
true;
208 m_availableChallenges.push_back(value);
216 template <
typename RequestIdT = Aws::String>
218 m_requestIdHasBeenSet =
true;
219 m_requestId = std::forward<RequestIdT>(value);
221 template <
typename RequestIdT = Aws::String>
236 AuthenticationResultType m_authenticationResult;
242 bool m_challengeNameHasBeenSet =
false;
243 bool m_sessionHasBeenSet =
false;
244 bool m_challengeParametersHasBeenSet =
false;
245 bool m_authenticationResultHasBeenSet =
false;
246 bool m_availableChallengesHasBeenSet =
false;
247 bool m_requestIdHasBeenSet =
false;
InitiateAuthResult & WithSession(SessionT &&value)
void SetAuthenticationResult(AuthenticationResultT &&value)
InitiateAuthResult & WithChallengeName(ChallengeNameType value)
const Aws::String & GetSession() const
InitiateAuthResult & AddAvailableChallenges(ChallengeNameType value)
const Aws::String & GetRequestId() const
void SetAvailableChallenges(AvailableChallengesT &&value)
void SetChallengeName(ChallengeNameType value)
AWS_COGNITOIDENTITYPROVIDER_API InitiateAuthResult()=default
void SetSession(SessionT &&value)
InitiateAuthResult & WithAvailableChallenges(AvailableChallengesT &&value)
const Aws::Vector< ChallengeNameType > & GetAvailableChallenges() const
InitiateAuthResult & WithAuthenticationResult(AuthenticationResultT &&value)
void SetChallengeParameters(ChallengeParametersT &&value)
AWS_COGNITOIDENTITYPROVIDER_API InitiateAuthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
InitiateAuthResult & AddChallengeParameters(ChallengeParametersKeyT &&key, ChallengeParametersValueT &&value)
const AuthenticationResultType & GetAuthenticationResult() const
InitiateAuthResult & WithRequestId(RequestIdT &&value)
InitiateAuthResult & WithChallengeParameters(ChallengeParametersT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ChallengeNameType GetChallengeName() const
const Aws::Map< Aws::String, Aws::String > & GetChallengeParameters() const
AWS_COGNITOIDENTITYPROVIDER_API InitiateAuthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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