AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvokeAgentInitialResponse.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 InvokeAgentInitialResponse() = default;
31 AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(const Http::HeaderValueCollection& responseHeaders);
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
42 inline const Aws::String& GetContentType() const { return m_contentType; }
43 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
44 template<typename ContentTypeT = Aws::String>
45 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
46 template<typename ContentTypeT = Aws::String>
47 InvokeAgentInitialResponse& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
49
51
54 inline const Aws::String& GetMemoryId() const { return m_memoryId; }
55 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
56 template<typename MemoryIdT = Aws::String>
57 void SetMemoryId(MemoryIdT&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::forward<MemoryIdT>(value); }
58 template<typename MemoryIdT = Aws::String>
59 InvokeAgentInitialResponse& WithMemoryId(MemoryIdT&& value) { SetMemoryId(std::forward<MemoryIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetSessionId() const { return m_sessionId; }
67 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
68 template<typename SessionIdT = Aws::String>
69 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
70 template<typename SessionIdT = Aws::String>
71 InvokeAgentInitialResponse& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_contentType;
76 bool m_contentTypeHasBeenSet = false;
77
78 Aws::String m_memoryId;
79 bool m_memoryIdHasBeenSet = false;
80
81 Aws::String m_sessionId;
82 bool m_sessionIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace BedrockAgentRuntime
87} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeAgentInitialResponse & WithMemoryId(MemoryIdT &&value)
InvokeAgentInitialResponse & WithContentType(ContentTypeT &&value)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(const Http::HeaderValueCollection &responseHeaders)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse()=default
InvokeAgentInitialResponse & WithSessionId(SessionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue