AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshTokenRequest.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h>
9#include <aws/amplifyuibuilder/model/TokenProviders.h>
10#include <aws/amplifyuibuilder/model/RefreshTokenRequestBody.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AmplifyUIBuilder
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AMPLIFYUIBUILDER_API RefreshTokenRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RefreshToken"; }
32
33 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
34
35
37
41 inline const TokenProviders& GetProvider() const{ return m_provider; }
42 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
43 inline void SetProvider(const TokenProviders& value) { m_providerHasBeenSet = true; m_provider = value; }
44 inline void SetProvider(TokenProviders&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
45 inline RefreshTokenRequest& WithProvider(const TokenProviders& value) { SetProvider(value); return *this;}
46 inline RefreshTokenRequest& WithProvider(TokenProviders&& value) { SetProvider(std::move(value)); return *this;}
48
50
53 inline const RefreshTokenRequestBody& GetRefreshTokenBody() const{ return m_refreshTokenBody; }
54 inline bool RefreshTokenBodyHasBeenSet() const { return m_refreshTokenBodyHasBeenSet; }
55 inline void SetRefreshTokenBody(const RefreshTokenRequestBody& value) { m_refreshTokenBodyHasBeenSet = true; m_refreshTokenBody = value; }
56 inline void SetRefreshTokenBody(RefreshTokenRequestBody&& value) { m_refreshTokenBodyHasBeenSet = true; m_refreshTokenBody = std::move(value); }
58 inline RefreshTokenRequest& WithRefreshTokenBody(RefreshTokenRequestBody&& value) { SetRefreshTokenBody(std::move(value)); return *this;}
60 private:
61
62 TokenProviders m_provider;
63 bool m_providerHasBeenSet = false;
64
65 RefreshTokenRequestBody m_refreshTokenBody;
66 bool m_refreshTokenBodyHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace AmplifyUIBuilder
71} // namespace Aws
RefreshTokenRequest & WithRefreshTokenBody(const RefreshTokenRequestBody &value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
RefreshTokenRequest & WithRefreshTokenBody(RefreshTokenRequestBody &&value)
void SetRefreshTokenBody(const RefreshTokenRequestBody &value)
void SetRefreshTokenBody(RefreshTokenRequestBody &&value)
RefreshTokenRequest & WithProvider(TokenProviders &&value)
RefreshTokenRequest & WithProvider(const TokenProviders &value)
const RefreshTokenRequestBody & GetRefreshTokenBody() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String