7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ConversationHistory.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/bedrock-agent-runtime/model/InputFile.h>
13#include <aws/bedrock-agent-runtime/model/InvocationResultMember.h>
26namespace BedrockAgentRuntime
60 template<
typename ConversationHistoryT = ConversationHistory>
61 void SetConversationHistory(ConversationHistoryT&& value) { m_conversationHistoryHasBeenSet =
true; m_conversationHistory = std::forward<ConversationHistoryT>(value); }
62 template<
typename ConversationHistoryT = ConversationHistory>
72 template<
typename FilesT = Aws::Vector<InputFile>>
73 void SetFiles(FilesT&& value) { m_filesHasBeenSet =
true; m_files = std::forward<FilesT>(value); }
74 template<
typename FilesT = Aws::Vector<InputFile>>
76 template<
typename FilesT = InputFile>
77 InlineSessionState&
AddFiles(FilesT&& value) { m_filesHasBeenSet =
true; m_files.emplace_back(std::forward<FilesT>(value));
return *
this; }
91 template<
typename InvocationIdT = Aws::String>
92 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet =
true; m_invocationId = std::forward<InvocationIdT>(value); }
93 template<
typename InvocationIdT = Aws::String>
104 template<
typename PromptSessionAttributesT = Aws::Map<Aws::String, Aws::String>>
105 void SetPromptSessionAttributes(PromptSessionAttributesT&& value) { m_promptSessionAttributesHasBeenSet =
true; m_promptSessionAttributes = std::forward<PromptSessionAttributesT>(value); }
106 template<
typename PromptSessionAttributesT = Aws::Map<Aws::String, Aws::String>>
108 template<
typename PromptSessionAttributesKeyT = Aws::String,
typename PromptSessionAttributesValueT = Aws::String>
110 m_promptSessionAttributesHasBeenSet =
true; m_promptSessionAttributes.emplace(std::forward<PromptSessionAttributesKeyT>(key), std::forward<PromptSessionAttributesValueT>(value));
return *
this;
125 template<
typename ReturnControlInvocationResultsT = Aws::Vector<InvocationResultMember>>
126 void SetReturnControlInvocationResults(ReturnControlInvocationResultsT&& value) { m_returnControlInvocationResultsHasBeenSet =
true; m_returnControlInvocationResults = std::forward<ReturnControlInvocationResultsT>(value); }
127 template<
typename ReturnControlInvocationResultsT = Aws::Vector<InvocationResultMember>>
129 template<
typename ReturnControlInvocationResultsT = InvocationResultMember>
140 template<
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
141 void SetSessionAttributes(SessionAttributesT&& value) { m_sessionAttributesHasBeenSet =
true; m_sessionAttributes = std::forward<SessionAttributesT>(value); }
142 template<
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
144 template<
typename SessionAttributesKeyT = Aws::String,
typename SessionAttributesValueT = Aws::String>
146 m_sessionAttributesHasBeenSet =
true; m_sessionAttributes.emplace(std::forward<SessionAttributesKeyT>(key), std::forward<SessionAttributesValueT>(value));
return *
this;
152 bool m_conversationHistoryHasBeenSet =
false;
155 bool m_filesHasBeenSet =
false;
158 bool m_invocationIdHasBeenSet =
false;
161 bool m_promptSessionAttributesHasBeenSet =
false;
164 bool m_returnControlInvocationResultsHasBeenSet =
false;
167 bool m_sessionAttributesHasBeenSet =
false;
bool ReturnControlInvocationResultsHasBeenSet() const
const ConversationHistory & GetConversationHistory() const
bool ConversationHistoryHasBeenSet() const
bool FilesHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API InlineSessionState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PromptSessionAttributesHasBeenSet() const
InlineSessionState & AddSessionAttributes(SessionAttributesKeyT &&key, SessionAttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
const Aws::String & GetInvocationId() const
InlineSessionState & AddReturnControlInvocationResults(ReturnControlInvocationResultsT &&value)
void SetFiles(FilesT &&value)
void SetSessionAttributes(SessionAttributesT &&value)
void SetInvocationId(InvocationIdT &&value)
void SetPromptSessionAttributes(PromptSessionAttributesT &&value)
const Aws::Vector< InputFile > & GetFiles() const
const Aws::Map< Aws::String, Aws::String > & GetPromptSessionAttributes() const
void SetConversationHistory(ConversationHistoryT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
InlineSessionState & WithInvocationId(InvocationIdT &&value)
void SetReturnControlInvocationResults(ReturnControlInvocationResultsT &&value)
InlineSessionState & WithPromptSessionAttributes(PromptSessionAttributesT &&value)
AWS_BEDROCKAGENTRUNTIME_API InlineSessionState(Aws::Utils::Json::JsonView jsonValue)
InlineSessionState & WithReturnControlInvocationResults(ReturnControlInvocationResultsT &&value)
InlineSessionState & WithConversationHistory(ConversationHistoryT &&value)
const Aws::Vector< InvocationResultMember > & GetReturnControlInvocationResults() const
InlineSessionState & AddFiles(FilesT &&value)
InlineSessionState & WithSessionAttributes(SessionAttributesT &&value)
bool SessionAttributesHasBeenSet() const
InlineSessionState & AddPromptSessionAttributes(PromptSessionAttributesKeyT &&key, PromptSessionAttributesValueT &&value)
InlineSessionState & WithFiles(FilesT &&value)
AWS_BEDROCKAGENTRUNTIME_API InlineSessionState()=default
bool InvocationIdHasBeenSet() const
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