AWS SDK for C++

AWS SDK for C++ Version 1.11.929

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyUIBuilder {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody() = default;
30 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody(Aws::Utils::Json::JsonView jsonValue);
31 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequestBody& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetToken() const { return m_token; }
40 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
41 template <typename TokenT = Aws::String>
42 void SetToken(TokenT&& value) {
43 m_tokenHasBeenSet = true;
44 m_token = std::forward<TokenT>(value);
45 }
46 template <typename TokenT = Aws::String>
48 SetToken(std::forward<TokenT>(value));
49 return *this;
50 }
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) {
61 m_clientIdHasBeenSet = true;
62 m_clientId = std::forward<ClientIdT>(value);
63 }
64 template <typename ClientIdT = Aws::String>
66 SetClientId(std::forward<ClientIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_token;
72
73 Aws::String m_clientId;
74 bool m_tokenHasBeenSet = false;
75 bool m_clientIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AmplifyUIBuilder
80} // 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