AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RetrieveAndGenerateStreamInitialResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/http/HttpTypes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse() = default;
33 AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse(const Http::HeaderValueCollection& responseHeaders);
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
41 inline const Aws::String& GetSessionId() const { return m_sessionId; }
42 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
43 template<typename SessionIdT = Aws::String>
44 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
45 template<typename SessionIdT = Aws::String>
46 RetrieveAndGenerateStreamInitialResponse& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
48 private:
49
50 Aws::String m_sessionId;
51 bool m_sessionIdHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace BedrockAgentRuntime
56} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateStreamInitialResponse(const Http::HeaderValueCollection &responseHeaders)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue