AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTokenResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AMPLIFYBACKEND_API CreateTokenResult();
33
34
36
39 inline const Aws::String& GetAppId() const{ return m_appId; }
40 inline void SetAppId(const Aws::String& value) { m_appId = value; }
41 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
42 inline void SetAppId(const char* value) { m_appId.assign(value); }
43 inline CreateTokenResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
44 inline CreateTokenResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
45 inline CreateTokenResult& WithAppId(const char* value) { SetAppId(value); return *this;}
47
49
52 inline const Aws::String& GetChallengeCode() const{ return m_challengeCode; }
53 inline void SetChallengeCode(const Aws::String& value) { m_challengeCode = value; }
54 inline void SetChallengeCode(Aws::String&& value) { m_challengeCode = std::move(value); }
55 inline void SetChallengeCode(const char* value) { m_challengeCode.assign(value); }
56 inline CreateTokenResult& WithChallengeCode(const Aws::String& value) { SetChallengeCode(value); return *this;}
57 inline CreateTokenResult& WithChallengeCode(Aws::String&& value) { SetChallengeCode(std::move(value)); return *this;}
58 inline CreateTokenResult& WithChallengeCode(const char* value) { SetChallengeCode(value); return *this;}
60
62
65 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
66 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
67 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
68 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
69 inline CreateTokenResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
70 inline CreateTokenResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
71 inline CreateTokenResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
73
75
78 inline const Aws::String& GetTtl() const{ return m_ttl; }
79 inline void SetTtl(const Aws::String& value) { m_ttl = value; }
80 inline void SetTtl(Aws::String&& value) { m_ttl = std::move(value); }
81 inline void SetTtl(const char* value) { m_ttl.assign(value); }
82 inline CreateTokenResult& WithTtl(const Aws::String& value) { SetTtl(value); return *this;}
83 inline CreateTokenResult& WithTtl(Aws::String&& value) { SetTtl(std::move(value)); return *this;}
84 inline CreateTokenResult& WithTtl(const char* value) { SetTtl(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_appId;
100
101 Aws::String m_challengeCode;
102
103 Aws::String m_sessionId;
104
105 Aws::String m_ttl;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace AmplifyBackend
112} // namespace Aws
CreateTokenResult & WithAppId(Aws::String &&value)
CreateTokenResult & WithChallengeCode(const Aws::String &value)
CreateTokenResult & WithRequestId(const Aws::String &value)
CreateTokenResult & WithAppId(const Aws::String &value)
CreateTokenResult & WithTtl(const char *value)
void SetRequestId(const Aws::String &value)
CreateTokenResult & WithSessionId(const Aws::String &value)
CreateTokenResult & WithRequestId(const char *value)
void SetChallengeCode(const Aws::String &value)
void SetSessionId(const Aws::String &value)
AWS_AMPLIFYBACKEND_API CreateTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithRequestId(Aws::String &&value)
CreateTokenResult & WithAppId(const char *value)
CreateTokenResult & WithTtl(Aws::String &&value)
CreateTokenResult & WithChallengeCode(Aws::String &&value)
CreateTokenResult & WithSessionId(Aws::String &&value)
CreateTokenResult & WithTtl(const Aws::String &value)
CreateTokenResult & WithChallengeCode(const char *value)
AWS_AMPLIFYBACKEND_API CreateTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTokenResult & WithSessionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue