AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetQAppSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QApps {
18namespace Model {
19
23 public:
24 AWS_QAPPS_API GetQAppSessionRequest() = default;
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 "GetQAppSession"; }
31
32 AWS_QAPPS_API Aws::String SerializePayload() const override;
33
34 AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
39
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template <typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) {
47 m_instanceIdHasBeenSet = true;
48 m_instanceId = std::forward<InstanceIdT>(value);
49 }
50 template <typename InstanceIdT = Aws::String>
52 SetInstanceId(std::forward<InstanceIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetSessionId() const { return m_sessionId; }
62 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
63 template <typename SessionIdT = Aws::String>
64 void SetSessionId(SessionIdT&& value) {
65 m_sessionIdHasBeenSet = true;
66 m_sessionId = std::forward<SessionIdT>(value);
67 }
68 template <typename SessionIdT = Aws::String>
70 SetSessionId(std::forward<SessionIdT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_instanceId;
76
77 Aws::String m_sessionId;
78 bool m_instanceIdHasBeenSet = false;
79 bool m_sessionIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace QApps
84} // namespace Aws
AWS_QAPPS_API Aws::String SerializePayload() const override
AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetQAppSessionRequest & WithInstanceId(InstanceIdT &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_QAPPS_API GetQAppSessionRequest()=default
virtual const char * GetServiceRequestName() const override
GetQAppSessionRequest & WithSessionId(SessionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String