7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/GuadrailAction.h>
10#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateOutput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-agent-runtime/model/Citation.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace BedrockAgentRuntime
87 inline void SetSessionId(
const char* value) { m_sessionId.assign(value); }
98 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
RetrieveAndGenerateResult & WithGuardrailAction(GuadrailAction &&value)
const RetrieveAndGenerateOutput & GetOutput() const
RetrieveAndGenerateResult & WithRequestId(const Aws::String &value)
RetrieveAndGenerateResult & WithOutput(RetrieveAndGenerateOutput &&value)
void SetCitations(const Aws::Vector< Citation > &value)
const Aws::String & GetSessionId() const
const Aws::Vector< Citation > & GetCitations() const
void SetGuardrailAction(const GuadrailAction &value)
void SetCitations(Aws::Vector< Citation > &&value)
void SetRequestId(const char *value)
RetrieveAndGenerateResult & WithCitations(Aws::Vector< Citation > &&value)
RetrieveAndGenerateResult & WithSessionId(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateResult()
const Aws::String & GetRequestId() const
void SetOutput(RetrieveAndGenerateOutput &&value)
RetrieveAndGenerateResult & WithSessionId(const char *value)
RetrieveAndGenerateResult & WithOutput(const RetrieveAndGenerateOutput &value)
RetrieveAndGenerateResult & WithRequestId(Aws::String &&value)
RetrieveAndGenerateResult & WithSessionId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetGuardrailAction(GuadrailAction &&value)
void SetSessionId(const Aws::String &value)
void SetSessionId(const char *value)
RetrieveAndGenerateResult & AddCitations(const Citation &value)
void SetSessionId(Aws::String &&value)
void SetOutput(const RetrieveAndGenerateOutput &value)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
RetrieveAndGenerateResult & WithRequestId(const char *value)
AWS_BEDROCKAGENTRUNTIME_API RetrieveAndGenerateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RetrieveAndGenerateResult & AddCitations(Citation &&value)
RetrieveAndGenerateResult & WithCitations(const Aws::Vector< Citation > &value)
RetrieveAndGenerateResult & WithGuardrailAction(const GuadrailAction &value)
const GuadrailAction & GetGuardrailAction() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue