7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Memory.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace BedrockAgentRuntime {
37 template <
typename MemoryContentsT = Aws::Vector<Memory>>
39 m_memoryContentsHasBeenSet =
true;
40 m_memoryContents = std::forward<MemoryContentsT>(value);
42 template <
typename MemoryContentsT = Aws::Vector<Memory>>
47 template <
typename MemoryContentsT = Memory>
49 m_memoryContentsHasBeenSet =
true;
50 m_memoryContents.emplace_back(std::forward<MemoryContentsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_memoryContentsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetMemoryContents(MemoryContentsT &&value)
GetAgentMemoryResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetNextToken() const
GetAgentMemoryResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetAgentMemoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAgentMemoryResult & WithMemoryContents(MemoryContentsT &&value)
GetAgentMemoryResult & AddMemoryContents(MemoryContentsT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_BEDROCKAGENTRUNTIME_API GetAgentMemoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENTRUNTIME_API GetAgentMemoryResult()=default
const Aws::Vector< Memory > & GetMemoryContents() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue