AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshTokenResult.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_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 AmplifyUIBuilder
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AMPLIFYUIBUILDER_API RefreshTokenResult();
33
34
36
39 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
40 inline void SetAccessToken(const Aws::String& value) { m_accessToken = value; }
41 inline void SetAccessToken(Aws::String&& value) { m_accessToken = std::move(value); }
42 inline void SetAccessToken(const char* value) { m_accessToken.assign(value); }
43 inline RefreshTokenResult& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
44 inline RefreshTokenResult& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
45 inline RefreshTokenResult& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
47
49
52 inline int GetExpiresIn() const{ return m_expiresIn; }
53 inline void SetExpiresIn(int value) { m_expiresIn = value; }
54 inline RefreshTokenResult& WithExpiresIn(int value) { SetExpiresIn(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline RefreshTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline RefreshTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline RefreshTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::String m_accessToken;
70
71 int m_expiresIn;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace AmplifyUIBuilder
78} // namespace Aws
AWS_AMPLIFYUIBUILDER_API RefreshTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RefreshTokenResult & WithAccessToken(const Aws::String &value)
RefreshTokenResult & WithRequestId(const Aws::String &value)
RefreshTokenResult & WithAccessToken(const char *value)
AWS_AMPLIFYUIBUILDER_API RefreshTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RefreshTokenResult & WithAccessToken(Aws::String &&value)
RefreshTokenResult & WithRequestId(const char *value)
RefreshTokenResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue