AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ExpireSessionRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace AppStream
15{
16namespace Model
17{
18
22 {
23 public:
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 "ExpireSession"; }
31
33
35
36
40 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
41
45 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
46
50 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
51
55 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
56
60 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
61
65 inline ExpireSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
66
70 inline ExpireSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
71
75 inline ExpireSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
76
77 private:
78
79 Aws::String m_sessionId;
80 bool m_sessionIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace AppStream
85} // namespace Aws
#define AWS_APPSTREAM_API
ExpireSessionRequest & WithSessionId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ExpireSessionRequest & WithSessionId(const char *value)
ExpireSessionRequest & WithSessionId(const Aws::String &value)
void SetSessionId(const Aws::String &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPSTREAM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String