7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/bedrock-agent-runtime/model/InvokeAgentHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-agent-runtime/model/SessionState.h>
17namespace BedrockAgentRuntime
66 inline void SetAgentAliasId(
const char* value) { m_agentAliasIdHasBeenSet =
true; m_agentAliasId.assign(value); }
80 inline void SetAgentId(
const char* value) { m_agentIdHasBeenSet =
true; m_agentId.assign(value); }
95 inline void SetEnableTrace(
bool value) { m_enableTraceHasBeenSet =
true; m_enableTrace = value; }
105 inline void SetEndSession(
bool value) { m_endSessionHasBeenSet =
true; m_endSession = value; }
119 inline void SetInputText(
const char* value) { m_inputTextHasBeenSet =
true; m_inputText.assign(value); }
133 inline void SetMemoryId(
const char* value) { m_memoryIdHasBeenSet =
true; m_memoryId.assign(value); }
148 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
173 bool m_agentAliasIdHasBeenSet =
false;
176 bool m_agentIdHasBeenSet =
false;
179 bool m_enableTraceHasBeenSet =
false;
182 bool m_endSessionHasBeenSet =
false;
185 bool m_inputTextHasBeenSet =
false;
188 bool m_memoryIdHasBeenSet =
false;
191 bool m_sessionIdHasBeenSet =
false;
194 bool m_sessionStateHasBeenSet =
false;
InvokeAgentRequest & WithSessionState(const SessionState &value)
void SetInputText(const Aws::String &value)
bool InputTextHasBeenSet() const
InvokeAgentRequest & WithMemoryId(const Aws::String &value)
InvokeAgentRequest & WithSessionId(const char *value)
const Aws::String & GetSessionId() const
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
bool EnableTraceHasBeenSet() const
const Aws::String & GetAgentId() const
InvokeAgentRequest & WithAgentId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool AgentIdHasBeenSet() const
void SetInputText(Aws::String &&value)
InvokeAgentRequest & WithAgentAliasId(const Aws::String &value)
void SetAgentId(const char *value)
InvokeAgentRequest & WithInputText(Aws::String &&value)
InvokeAgentRequest & WithMemoryId(Aws::String &&value)
void SetMemoryId(const char *value)
bool EndSessionHasBeenSet() const
InvokeAgentRequest & WithEndSession(bool value)
bool SessionIdHasBeenSet() const
const SessionState & GetSessionState() const
bool SessionStateHasBeenSet() const
InvokeAgentRequest & WithEventStreamHandler(const InvokeAgentHandler &value)
void SetSessionId(const Aws::String &value)
bool MemoryIdHasBeenSet() const
void SetSessionId(Aws::String &&value)
bool GetEndSession() const
void SetSessionState(SessionState &&value)
void SetEventStreamHandler(const InvokeAgentHandler &value)
InvokeAgentRequest & WithAgentId(const Aws::String &value)
const Aws::String & GetAgentAliasId() const
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
const Aws::String & GetInputText() const
bool GetEnableTrace() const
InvokeAgentRequest & WithInputText(const char *value)
InvokeAgentRequest & WithSessionState(SessionState &&value)
const InvokeAgentHandler & GetEventStreamHandler() const
void SetAgentAliasId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API InvokeAgentRequest()
InvokeAgentRequest & WithEnableTrace(bool value)
void SetMemoryId(const Aws::String &value)
InvokeAgentRequest & WithSessionId(Aws::String &&value)
void SetInputText(const char *value)
InvokeAgentRequest & WithInputText(const Aws::String &value)
void SetAgentId(Aws::String &&value)
InvokeAgentRequest & WithSessionId(const Aws::String &value)
void SetMemoryId(Aws::String &&value)
void SetSessionState(const SessionState &value)
void SetSessionId(const char *value)
InvokeAgentRequest & WithAgentAliasId(Aws::String &&value)
void SetAgentAliasId(const char *value)
InvokeAgentRequest & WithAgentId(const char *value)
const Aws::String & GetMemoryId() const
bool AgentAliasIdHasBeenSet() const
void SetEnableTrace(bool value)
InvokeAgentRequest & WithAgentAliasId(const char *value)
void SetEndSession(bool value)
InvokeAgentRequest & WithMemoryId(const char *value)
void SetAgentId(const Aws::String &value)
void SetAgentAliasId(Aws::String &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String