7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
23namespace AmplifyBackend
40 template<
typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
42 template<
typename AppIdT = Aws::String>
51 template<
typename ChallengeCodeT = Aws::String>
52 void SetChallengeCode(ChallengeCodeT&& value) { m_challengeCodeHasBeenSet =
true; m_challengeCode = std::forward<ChallengeCodeT>(value); }
53 template<
typename ChallengeCodeT = Aws::String>
62 template<
typename SessionIdT = Aws::String>
63 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
64 template<
typename SessionIdT = Aws::String>
73 template<
typename TtlT = Aws::String>
74 void SetTtl(TtlT&& value) { m_ttlHasBeenSet =
true; m_ttl = std::forward<TtlT>(value); }
75 template<
typename TtlT = Aws::String>
82 template<
typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
84 template<
typename RequestIdT = Aws::String>
90 bool m_appIdHasBeenSet =
false;
93 bool m_challengeCodeHasBeenSet =
false;
96 bool m_sessionIdHasBeenSet =
false;
99 bool m_ttlHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
AWS_AMPLIFYBACKEND_API GetTokenResult()=default
const Aws::String & GetChallengeCode() const
GetTokenResult & WithChallengeCode(ChallengeCodeT &&value)
AWS_AMPLIFYBACKEND_API GetTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetTtl() const
AWS_AMPLIFYBACKEND_API GetTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTokenResult & WithSessionId(SessionIdT &&value)
const Aws::String & GetAppId() const
GetTokenResult & WithAppId(AppIdT &&value)
const Aws::String & GetRequestId() const
void SetChallengeCode(ChallengeCodeT &&value)
void SetAppId(AppIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetSessionId(SessionIdT &&value)
GetTokenResult & WithTtl(TtlT &&value)
void SetTtl(TtlT &&value)
const Aws::String & GetSessionId() const
GetTokenResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue