AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
45 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
46 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
47 inline InvokeAgentInitialResponse& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
48 inline InvokeAgentInitialResponse& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
49 inline InvokeAgentInitialResponse& WithContentType(const char* value) { SetContentType(value); return *this;}
51
53
56 inline const Aws::String& GetMemoryId() const{ return m_memoryId; }
57 inline bool MemoryIdHasBeenSet() const { return m_memoryIdHasBeenSet; }
58 inline void SetMemoryId(const Aws::String& value) { m_memoryIdHasBeenSet = true; m_memoryId = value; }
59 inline void SetMemoryId(Aws::String&& value) { m_memoryIdHasBeenSet = true; m_memoryId = std::move(value); }
60 inline void SetMemoryId(const char* value) { m_memoryIdHasBeenSet = true; m_memoryId.assign(value); }
61 inline InvokeAgentInitialResponse& WithMemoryId(const Aws::String& value) { SetMemoryId(value); return *this;}
62 inline InvokeAgentInitialResponse& WithMemoryId(Aws::String&& value) { SetMemoryId(std::move(value)); return *this;}
63 inline InvokeAgentInitialResponse& WithMemoryId(const char* value) { SetMemoryId(value); return *this;}
65
67
70 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
71 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
72 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
73 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
74 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
75 inline InvokeAgentInitialResponse& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
76 inline InvokeAgentInitialResponse& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
77 inline InvokeAgentInitialResponse& WithSessionId(const char* value) { SetSessionId(value); return *this;}
79 private:
80
81 Aws::String m_contentType;
82 bool m_contentTypeHasBeenSet = false;
83
84 Aws::String m_memoryId;
85 bool m_memoryIdHasBeenSet = false;
86
87 Aws::String m_sessionId;
88 bool m_sessionIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace BedrockAgentRuntime
93} // namespace Aws
InvokeAgentInitialResponse & WithMemoryId(const char *value)
InvokeAgentInitialResponse & WithContentType(const Aws::String &value)
InvokeAgentInitialResponse & WithSessionId(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeAgentInitialResponse & WithContentType(const char *value)
InvokeAgentInitialResponse & WithSessionId(const char *value)
InvokeAgentInitialResponse & WithSessionId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse(const Http::HeaderValueCollection &responseHeaders)
InvokeAgentInitialResponse & WithMemoryId(const Aws::String &value)
InvokeAgentInitialResponse & WithContentType(Aws::String &&value)
InvokeAgentInitialResponse & WithMemoryId(Aws::String &&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