AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetNextMessageRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QConnect {
18namespace Model {
19
23 public:
24 AWS_QCONNECT_API GetNextMessageRequest() = 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 "GetNextMessage"; }
31
32 AWS_QCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_QCONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
41 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
42 template <typename AssistantIdT = Aws::String>
44 m_assistantIdHasBeenSet = true;
45 m_assistantId = std::forward<AssistantIdT>(value);
46 }
47 template <typename AssistantIdT = Aws::String>
49 SetAssistantId(std::forward<AssistantIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSessionId() const { return m_sessionId; }
59 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
60 template <typename SessionIdT = Aws::String>
61 void SetSessionId(SessionIdT&& value) {
62 m_sessionIdHasBeenSet = true;
63 m_sessionId = std::forward<SessionIdT>(value);
64 }
65 template <typename SessionIdT = Aws::String>
67 SetSessionId(std::forward<SessionIdT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNextMessageToken() const { return m_nextMessageToken; }
78 inline bool NextMessageTokenHasBeenSet() const { return m_nextMessageTokenHasBeenSet; }
79 template <typename NextMessageTokenT = Aws::String>
81 m_nextMessageTokenHasBeenSet = true;
82 m_nextMessageToken = std::forward<NextMessageTokenT>(value);
83 }
84 template <typename NextMessageTokenT = Aws::String>
86 SetNextMessageToken(std::forward<NextMessageTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_assistantId;
92
93 Aws::String m_sessionId;
94
95 Aws::String m_nextMessageToken;
96 bool m_assistantIdHasBeenSet = false;
97 bool m_sessionIdHasBeenSet = false;
98 bool m_nextMessageTokenHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QConnect
103} // namespace Aws
AWS_QCONNECT_API Aws::String SerializePayload() const override
GetNextMessageRequest & WithAssistantId(AssistantIdT &&value)
AWS_QCONNECT_API GetNextMessageRequest()=default
virtual const char * GetServiceRequestName() const override
GetNextMessageRequest & WithSessionId(SessionIdT &&value)
GetNextMessageRequest & WithNextMessageToken(NextMessageTokenT &&value)
void SetNextMessageToken(NextMessageTokenT &&value)
AWS_QCONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String