7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/ConfirmationState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/bedrock-agent-runtime/model/ResponseState.h>
12#include <aws/bedrock-agent-runtime/model/ContentBody.h>
25namespace BedrockAgentRuntime
55 template<
typename ActionGroupT = Aws::String>
56 void SetActionGroup(ActionGroupT&& value) { m_actionGroupHasBeenSet =
true; m_actionGroup = std::forward<ActionGroupT>(value); }
57 template<
typename ActionGroupT = Aws::String>
67 template<
typename AgentIdT = Aws::String>
68 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
69 template<
typename AgentIdT = Aws::String>
90 template<
typename FunctionT = Aws::String>
91 void SetFunction(FunctionT&& value) { m_functionHasBeenSet =
true; m_function = std::forward<FunctionT>(value); }
92 template<
typename FunctionT = Aws::String>
110 template<
typename ResponseBodyT = Aws::Map<Aws::String, ContentBody>>
111 void SetResponseBody(ResponseBodyT&& value) { m_responseBodyHasBeenSet =
true; m_responseBody = std::forward<ResponseBodyT>(value); }
112 template<
typename ResponseBodyT = Aws::Map<Aws::String, ContentBody>>
114 template<
typename ResponseBodyKeyT = Aws::String,
typename ResponseBodyValueT = ContentBody>
116 m_responseBodyHasBeenSet =
true; m_responseBody.emplace(std::forward<ResponseBodyKeyT>(key), std::forward<ResponseBodyValueT>(value));
return *
this;
135 bool m_actionGroupHasBeenSet =
false;
138 bool m_agentIdHasBeenSet =
false;
141 bool m_confirmationStateHasBeenSet =
false;
144 bool m_functionHasBeenSet =
false;
147 bool m_responseBodyHasBeenSet =
false;
150 bool m_responseStateHasBeenSet =
false;
FunctionResult & WithFunction(FunctionT &&value)
FunctionResult & WithResponseBody(ResponseBodyT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseState GetResponseState() const
AWS_BEDROCKAGENTRUNTIME_API FunctionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAgentId() const
bool FunctionHasBeenSet() const
void SetResponseBody(ResponseBodyT &&value)
void SetAgentId(AgentIdT &&value)
const Aws::String & GetFunction() const
bool ConfirmationStateHasBeenSet() const
FunctionResult & WithResponseState(ResponseState value)
FunctionResult & WithAgentId(AgentIdT &&value)
bool AgentIdHasBeenSet() const
ConfirmationState GetConfirmationState() const
FunctionResult & WithActionGroup(ActionGroupT &&value)
void SetActionGroup(ActionGroupT &&value)
bool ResponseBodyHasBeenSet() const
void SetFunction(FunctionT &&value)
const Aws::Map< Aws::String, ContentBody > & GetResponseBody() const
bool ActionGroupHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API FunctionResult()=default
bool ResponseStateHasBeenSet() const
FunctionResult & AddResponseBody(ResponseBodyKeyT &&key, ResponseBodyValueT &&value)
FunctionResult & WithConfirmationState(ConfirmationState value)
AWS_BEDROCKAGENTRUNTIME_API FunctionResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetActionGroup() const
void SetResponseState(ResponseState value)
void SetConfirmationState(ConfirmationState 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
Aws::Utils::Json::JsonValue JsonValue