7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/bedrock-agent-runtime/model/InputFile.h>
12#include <aws/bedrock-agent-runtime/model/KnowledgeBaseConfiguration.h>
13#include <aws/bedrock-agent-runtime/model/InvocationResultMember.h>
26namespace BedrockAgentRuntime
84 inline void SetInvocationId(
const char* value) { m_invocationIdHasBeenSet =
true; m_invocationId.assign(value); }
165 inline SessionState&
AddSessionAttributes(
const char* key,
const char* value) { m_sessionAttributesHasBeenSet =
true; m_sessionAttributes.emplace(key, value);
return *
this; }
170 bool m_filesHasBeenSet =
false;
173 bool m_invocationIdHasBeenSet =
false;
176 bool m_knowledgeBaseConfigurationsHasBeenSet =
false;
179 bool m_promptSessionAttributesHasBeenSet =
false;
182 bool m_returnControlInvocationResultsHasBeenSet =
false;
185 bool m_sessionAttributesHasBeenSet =
false;
SessionState & WithKnowledgeBaseConfigurations(const Aws::Vector< KnowledgeBaseConfiguration > &value)
void SetInvocationId(const char *value)
void SetFiles(const Aws::Vector< InputFile > &value)
SessionState & WithPromptSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SessionState & AddKnowledgeBaseConfigurations(KnowledgeBaseConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
const Aws::Vector< KnowledgeBaseConfiguration > & GetKnowledgeBaseConfigurations() const
SessionState & AddSessionAttributes(Aws::String &&key, const Aws::String &value)
void SetSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_BEDROCKAGENTRUNTIME_API SessionState()
AWS_BEDROCKAGENTRUNTIME_API SessionState & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< InvocationResultMember > & GetReturnControlInvocationResults() const
SessionState & WithFiles(const Aws::Vector< InputFile > &value)
SessionState & AddReturnControlInvocationResults(const InvocationResultMember &value)
SessionState & WithInvocationId(const char *value)
const Aws::Vector< InputFile > & GetFiles() const
SessionState & WithFiles(Aws::Vector< InputFile > &&value)
SessionState & WithKnowledgeBaseConfigurations(Aws::Vector< KnowledgeBaseConfiguration > &&value)
void SetInvocationId(Aws::String &&value)
SessionState & AddSessionAttributes(Aws::String &&key, Aws::String &&value)
SessionState & AddPromptSessionAttributes(const char *key, Aws::String &&value)
SessionState & WithSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetInvocationId() const
SessionState & AddSessionAttributes(Aws::String &&key, const char *value)
SessionState & AddSessionAttributes(const char *key, Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API SessionState(Aws::Utils::Json::JsonView jsonValue)
void SetPromptSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SessionState & AddReturnControlInvocationResults(InvocationResultMember &&value)
SessionState & AddSessionAttributes(const Aws::String &key, Aws::String &&value)
bool PromptSessionAttributesHasBeenSet() const
bool FilesHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
SessionState & AddFiles(InputFile &&value)
SessionState & AddPromptSessionAttributes(Aws::String &&key, const char *value)
SessionState & AddPromptSessionAttributes(const char *key, const char *value)
SessionState & WithSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SessionState & WithPromptSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SessionState & WithReturnControlInvocationResults(Aws::Vector< InvocationResultMember > &&value)
void SetPromptSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool ReturnControlInvocationResultsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetPromptSessionAttributes() const
SessionState & AddPromptSessionAttributes(Aws::String &&key, const Aws::String &value)
SessionState & AddPromptSessionAttributes(Aws::String &&key, Aws::String &&value)
SessionState & AddKnowledgeBaseConfigurations(const KnowledgeBaseConfiguration &value)
SessionState & WithInvocationId(Aws::String &&value)
SessionState & AddSessionAttributes(const Aws::String &key, const Aws::String &value)
SessionState & WithInvocationId(const Aws::String &value)
void SetReturnControlInvocationResults(const Aws::Vector< InvocationResultMember > &value)
bool InvocationIdHasBeenSet() const
void SetKnowledgeBaseConfigurations(Aws::Vector< KnowledgeBaseConfiguration > &&value)
void SetReturnControlInvocationResults(Aws::Vector< InvocationResultMember > &&value)
SessionState & AddFiles(const InputFile &value)
SessionState & AddPromptSessionAttributes(const Aws::String &key, Aws::String &&value)
void SetKnowledgeBaseConfigurations(const Aws::Vector< KnowledgeBaseConfiguration > &value)
SessionState & AddPromptSessionAttributes(const Aws::String &key, const Aws::String &value)
void SetInvocationId(const Aws::String &value)
bool KnowledgeBaseConfigurationsHasBeenSet() const
bool SessionAttributesHasBeenSet() const
void SetFiles(Aws::Vector< InputFile > &&value)
SessionState & AddSessionAttributes(const char *key, const char *value)
SessionState & WithReturnControlInvocationResults(const Aws::Vector< InvocationResultMember > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue