7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace AmplifyBackend {
35 template <
typename AppIdT = Aws::String>
37 m_appIdHasBeenSet =
true;
38 m_appId = std::forward<AppIdT>(value);
40 template <
typename AppIdT = Aws::String>
42 SetAppId(std::forward<AppIdT>(value));
52 template <
typename ChallengeCodeT = Aws::String>
54 m_challengeCodeHasBeenSet =
true;
55 m_challengeCode = std::forward<ChallengeCodeT>(value);
57 template <
typename ChallengeCodeT = Aws::String>
69 template <
typename SessionIdT = Aws::String>
71 m_sessionIdHasBeenSet =
true;
72 m_sessionId = std::forward<SessionIdT>(value);
74 template <
typename SessionIdT = Aws::String>
86 template <
typename TtlT = Aws::String>
88 m_ttlHasBeenSet =
true;
89 m_ttl = std::forward<TtlT>(value);
91 template <
typename TtlT = Aws::String>
93 SetTtl(std::forward<TtlT>(value));
101 template <
typename RequestIdT = Aws::String>
103 m_requestIdHasBeenSet =
true;
104 m_requestId = std::forward<RequestIdT>(value);
106 template <
typename RequestIdT = Aws::String>
125 bool m_appIdHasBeenSet =
false;
126 bool m_challengeCodeHasBeenSet =
false;
127 bool m_sessionIdHasBeenSet =
false;
128 bool m_ttlHasBeenSet =
false;
129 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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