7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateInput.h>
10#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateConfiguration.h>
11#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateSessionConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace BedrockAgentRuntime
90 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
98 bool m_inputHasBeenSet =
false;
101 bool m_retrieveAndGenerateConfigurationHasBeenSet =
false;
104 bool m_sessionConfigurationHasBeenSet =
false;
107 bool m_sessionIdHasBeenSet =
false;
RetrieveAndGenerateRequest & WithSessionId(const Aws::String &value)
void SetSessionId(Aws::String &&value)
RetrieveAndGenerateRequest & WithSessionId(const char *value)
RetrieveAndGenerateRequest & WithRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration &&value)
const Aws::String & GetSessionId() const
const RetrieveAndGenerateConfiguration & GetRetrieveAndGenerateConfiguration() const
RetrieveAndGenerateRequest & WithSessionConfiguration(const RetrieveAndGenerateSessionConfiguration &value)
void SetRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration &&value)
void SetInput(RetrieveAndGenerateInput &&value)
RetrieveAndGenerateRequest & WithInput(const RetrieveAndGenerateInput &value)
void SetSessionId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateRequest()
RetrieveAndGenerateRequest & WithInput(RetrieveAndGenerateInput &&value)
virtual const char * GetServiceRequestName() const override
void SetInput(const RetrieveAndGenerateInput &value)
void SetSessionConfiguration(RetrieveAndGenerateSessionConfiguration &&value)
bool InputHasBeenSet() const
bool SessionIdHasBeenSet() const
const RetrieveAndGenerateInput & GetInput() const
bool RetrieveAndGenerateConfigurationHasBeenSet() const
RetrieveAndGenerateRequest & WithRetrieveAndGenerateConfiguration(const RetrieveAndGenerateConfiguration &value)
void SetSessionConfiguration(const RetrieveAndGenerateSessionConfiguration &value)
bool SessionConfigurationHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
RetrieveAndGenerateRequest & WithSessionConfiguration(RetrieveAndGenerateSessionConfiguration &&value)
RetrieveAndGenerateRequest & WithSessionId(Aws::String &&value)
void SetRetrieveAndGenerateConfiguration(const RetrieveAndGenerateConfiguration &value)
void SetSessionId(const char *value)
const RetrieveAndGenerateSessionConfiguration & GetSessionConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String