7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ConfirmationState.h>
9#include <aws/bedrock-agent-runtime/model/ContentBody.h>
10#include <aws/bedrock-agent-runtime/model/ResponseState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace BedrockAgentRuntime {
49 template <
typename ActionGroupT = Aws::String>
51 m_actionGroupHasBeenSet =
true;
52 m_actionGroup = std::forward<ActionGroupT>(value);
54 template <
typename ActionGroupT = Aws::String>
67 template <
typename AgentIdT = Aws::String>
69 m_agentIdHasBeenSet =
true;
70 m_agentId = std::forward<AgentIdT>(value);
72 template <
typename AgentIdT = Aws::String>
87 m_confirmationStateHasBeenSet =
true;
88 m_confirmationState = value;
102 template <
typename FunctionT = Aws::String>
104 m_functionHasBeenSet =
true;
105 m_function = std::forward<FunctionT>(value);
107 template <
typename FunctionT = Aws::String>
128 template <
typename ResponseBodyT = Aws::Map<Aws::String, ContentBody>>
130 m_responseBodyHasBeenSet =
true;
131 m_responseBody = std::forward<ResponseBodyT>(value);
133 template <
typename ResponseBodyT = Aws::Map<Aws::String, ContentBody>>
138 template <
typename ResponseBodyKeyT = Aws::String,
typename ResponseBodyValueT = ContentBody>
140 m_responseBodyHasBeenSet =
true;
141 m_responseBody.emplace(std::forward<ResponseBodyKeyT>(
key), std::forward<ResponseBodyValueT>(value));
156 m_responseStateHasBeenSet =
true;
157 m_responseState = value;
176 bool m_actionGroupHasBeenSet =
false;
177 bool m_agentIdHasBeenSet =
false;
178 bool m_confirmationStateHasBeenSet =
false;
179 bool m_functionHasBeenSet =
false;
180 bool m_responseBodyHasBeenSet =
false;
181 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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