7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
21namespace AmplifyBackend {
34 template <
typename AppIdT = Aws::String>
36 m_appIdHasBeenSet =
true;
37 m_appId = std::forward<AppIdT>(value);
39 template <
typename AppIdT = Aws::String>
41 SetAppId(std::forward<AppIdT>(value));
51 template <
typename ChallengeCodeT = Aws::String>
53 m_challengeCodeHasBeenSet =
true;
54 m_challengeCode = std::forward<ChallengeCodeT>(value);
56 template <
typename ChallengeCodeT = Aws::String>
68 template <
typename SessionIdT = Aws::String>
70 m_sessionIdHasBeenSet =
true;
71 m_sessionId = std::forward<SessionIdT>(value);
73 template <
typename SessionIdT = Aws::String>
85 template <
typename TtlT = Aws::String>
87 m_ttlHasBeenSet =
true;
88 m_ttl = std::forward<TtlT>(value);
90 template <
typename TtlT = Aws::String>
92 SetTtl(std::forward<TtlT>(value));
100 template <
typename RequestIdT = Aws::String>
102 m_requestIdHasBeenSet =
true;
103 m_requestId = std::forward<RequestIdT>(value);
105 template <
typename RequestIdT = Aws::String>
121 bool m_appIdHasBeenSet =
false;
122 bool m_challengeCodeHasBeenSet =
false;
123 bool m_sessionIdHasBeenSet =
false;
124 bool m_ttlHasBeenSet =
false;
125 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