AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InvokeAgentInitialResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/http/HttpTypes.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
24 public:
25 AWS_BEDROCKAGENTRUNTIME_API InvokeAgentInitialResponse() = default;
29 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline const Aws::String& GetContentType() const { return m_contentType; }
37 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
38 template <typename ContentTypeT = Aws::String>
40 m_contentTypeHasBeenSet = true;
41 m_contentType = std::forward<ContentTypeT>(value);
42 }
43 template <typename ContentTypeT = Aws::String>
45 SetContentType(std::forward<ContentTypeT>(value));
46 return *this;
47 }
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) {
58 m_memoryIdHasBeenSet = true;
59 m_memoryId = std::forward<MemoryIdT>(value);
60 }
61 template <typename MemoryIdT = Aws::String>
63 SetMemoryId(std::forward<MemoryIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetSessionId() const { return m_sessionId; }
73 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
74 template <typename SessionIdT = Aws::String>
75 void SetSessionId(SessionIdT&& value) {
76 m_sessionIdHasBeenSet = true;
77 m_sessionId = std::forward<SessionIdT>(value);
78 }
79 template <typename SessionIdT = Aws::String>
81 SetSessionId(std::forward<SessionIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_contentType;
87
88 Aws::String m_memoryId;
89
90 Aws::String m_sessionId;
91 bool m_contentTypeHasBeenSet = false;
92 bool m_memoryIdHasBeenSet = false;
93 bool m_sessionIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace BedrockAgentRuntime
98} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue