AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogoutRequest.h
1
6#pragma once
7#include <aws/sso/SSO_EXPORTS.h>
8#include <aws/sso/SSORequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SSO
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SSO_API LogoutRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "Logout"; }
31
32 AWS_SSO_API Aws::String SerializePayload() const override;
33
35
36
38
44 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
45 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
46 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
47 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
48 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
49 inline LogoutRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;}
50 inline LogoutRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
51 inline LogoutRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
53 private:
54
55 Aws::String m_accessToken;
56 bool m_accessTokenHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SSO
61} // namespace Aws
LogoutRequest & WithAccessToken(const Aws::String &value)
AWS_SSO_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAccessToken(Aws::String &&value)
LogoutRequest & WithAccessToken(Aws::String &&value)
const Aws::String & GetAccessToken() const
virtual const char * GetServiceRequestName() const override
AWS_SSO_API Aws::String SerializePayload() const override
void SetAccessToken(const char *value)
void SetAccessToken(const Aws::String &value)
LogoutRequest & WithAccessToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String