AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQAppSessionRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QApps
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QAPPS_API GetQAppSessionRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetQAppSession"; }
35
36 AWS_QAPPS_API Aws::String SerializePayload() const override;
37
38 AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline GetQAppSessionRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline GetQAppSessionRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline GetQAppSessionRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
63 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
64 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
65 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
66 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
67 inline GetQAppSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
68 inline GetQAppSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
69 inline GetQAppSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
71 private:
72
73 Aws::String m_instanceId;
74 bool m_instanceIdHasBeenSet = false;
75
76 Aws::String m_sessionId;
77 bool m_sessionIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QApps
82} // namespace Aws
GetQAppSessionRequest & WithSessionId(const char *value)
AWS_QAPPS_API Aws::String SerializePayload() const override
GetQAppSessionRequest & WithSessionId(Aws::String &&value)
AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSessionId(const Aws::String &value)
GetQAppSessionRequest & WithSessionId(const Aws::String &value)
GetQAppSessionRequest & WithInstanceId(const char *value)
GetQAppSessionRequest & WithInstanceId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetQAppSessionRequest & WithInstanceId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String