AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
48 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
49 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
50 inline RefreshTokenRequestBody& WithToken(const Aws::String& value) { SetToken(value); return *this;}
51 inline RefreshTokenRequestBody& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
52 inline RefreshTokenRequestBody& WithToken(const char* value) { SetToken(value); return *this;}
54
56
59 inline const Aws::String& GetClientId() const{ return m_clientId; }
60 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
61 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
62 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
63 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
64 inline RefreshTokenRequestBody& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
65 inline RefreshTokenRequestBody& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
66 inline RefreshTokenRequestBody& WithClientId(const char* value) { SetClientId(value); return *this;}
68 private:
69
70 Aws::String m_token;
71 bool m_tokenHasBeenSet = false;
72
73 Aws::String m_clientId;
74 bool m_clientIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AmplifyUIBuilder
79} // namespace Aws
RefreshTokenRequestBody & WithClientId(const Aws::String &value)
RefreshTokenRequestBody & WithToken(const Aws::String &value)
RefreshTokenRequestBody & WithToken(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody & operator=(Aws::Utils::Json::JsonView jsonValue)
RefreshTokenRequestBody & WithClientId(Aws::String &&value)
RefreshTokenRequestBody & WithToken(const char *value)
RefreshTokenRequestBody & WithClientId(const char *value)
AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue