AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RefreshTokenRequestBody.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody() = default;
35 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetToken() const { return m_token; }
46 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
47 template<typename TokenT = Aws::String>
48 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
49 template<typename TokenT = Aws::String>
50 RefreshTokenRequestBody& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
52
54
57 inline const Aws::String& GetClientId() const { return m_clientId; }
58 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
59 template<typename ClientIdT = Aws::String>
60 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
61 template<typename ClientIdT = Aws::String>
62 RefreshTokenRequestBody& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
64 private:
65
66 Aws::String m_token;
67 bool m_tokenHasBeenSet = false;
68
69 Aws::String m_clientId;
70 bool m_clientIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace AmplifyUIBuilder
75} // namespace Aws
RefreshTokenRequestBody & WithToken(TokenT &&value)
AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody()=default
AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
RefreshTokenRequestBody & WithClientId(ClientIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue