AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateQAppSessionMetadataRequest.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 <aws/qapps/model/SessionSharingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QApps
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QAPPS_API UpdateQAppSessionMetadataRequest() = default;
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 "UpdateQAppSessionMetadata"; }
32
33 AWS_QAPPS_API Aws::String SerializePayload() const override;
34
36
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) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 UpdateQAppSessionMetadataRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetSessionId() const { return m_sessionId; }
56 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
57 template<typename SessionIdT = Aws::String>
58 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
59 template<typename SessionIdT = Aws::String>
60 UpdateQAppSessionMetadataRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetSessionName() const { return m_sessionName; }
68 inline bool SessionNameHasBeenSet() const { return m_sessionNameHasBeenSet; }
69 template<typename SessionNameT = Aws::String>
70 void SetSessionName(SessionNameT&& value) { m_sessionNameHasBeenSet = true; m_sessionName = std::forward<SessionNameT>(value); }
71 template<typename SessionNameT = Aws::String>
72 UpdateQAppSessionMetadataRequest& WithSessionName(SessionNameT&& value) { SetSessionName(std::forward<SessionNameT>(value)); return *this;}
74
76
79 inline const SessionSharingConfiguration& GetSharingConfiguration() const { return m_sharingConfiguration; }
80 inline bool SharingConfigurationHasBeenSet() const { return m_sharingConfigurationHasBeenSet; }
81 template<typename SharingConfigurationT = SessionSharingConfiguration>
82 void SetSharingConfiguration(SharingConfigurationT&& value) { m_sharingConfigurationHasBeenSet = true; m_sharingConfiguration = std::forward<SharingConfigurationT>(value); }
83 template<typename SharingConfigurationT = SessionSharingConfiguration>
84 UpdateQAppSessionMetadataRequest& WithSharingConfiguration(SharingConfigurationT&& value) { SetSharingConfiguration(std::forward<SharingConfigurationT>(value)); return *this;}
86 private:
87
88 Aws::String m_instanceId;
89 bool m_instanceIdHasBeenSet = false;
90
91 Aws::String m_sessionId;
92 bool m_sessionIdHasBeenSet = false;
93
94 Aws::String m_sessionName;
95 bool m_sessionNameHasBeenSet = false;
96
97 SessionSharingConfiguration m_sharingConfiguration;
98 bool m_sharingConfigurationHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace QApps
103} // namespace Aws
UpdateQAppSessionMetadataRequest & WithSharingConfiguration(SharingConfigurationT &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateQAppSessionMetadataRequest & WithSessionId(SessionIdT &&value)
UpdateQAppSessionMetadataRequest & WithInstanceId(InstanceIdT &&value)
UpdateQAppSessionMetadataRequest & WithSessionName(SessionNameT &&value)
const SessionSharingConfiguration & GetSharingConfiguration() const
AWS_QAPPS_API Aws::String SerializePayload() const override
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