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
57 inline void SetActionGroup(
const char* value) { m_actionGroupHasBeenSet =
true; m_actionGroup.assign(value); }
84 inline void SetFunction(
const char* value) { m_functionHasBeenSet =
true; m_function.assign(value); }
127 bool m_actionGroupHasBeenSet =
false;
130 bool m_confirmationStateHasBeenSet =
false;
133 bool m_functionHasBeenSet =
false;
136 bool m_responseBodyHasBeenSet =
false;
139 bool m_responseStateHasBeenSet =
false;
FunctionResult & WithConfirmationState(ConfirmationState &&value)
void SetActionGroup(const char *value)
void SetConfirmationState(const ConfirmationState &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionResult & AddResponseBody(const char *key, const ContentBody &value)
void SetConfirmationState(ConfirmationState &&value)
FunctionResult & AddResponseBody(const Aws::String &key, ContentBody &&value)
const ConfirmationState & GetConfirmationState() const
void SetResponseBody(const Aws::Map< Aws::String, ContentBody > &value)
AWS_BEDROCKAGENTRUNTIME_API FunctionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionResult & AddResponseBody(Aws::String &&key, const ContentBody &value)
AWS_BEDROCKAGENTRUNTIME_API FunctionResult()
bool FunctionHasBeenSet() const
FunctionResult & WithResponseState(ResponseState &&value)
FunctionResult & WithConfirmationState(const ConfirmationState &value)
FunctionResult & WithResponseBody(const Aws::Map< Aws::String, ContentBody > &value)
const Aws::String & GetFunction() const
FunctionResult & WithFunction(const char *value)
FunctionResult & AddResponseBody(const char *key, ContentBody &&value)
void SetResponseState(const ResponseState &value)
bool ConfirmationStateHasBeenSet() const
FunctionResult & WithActionGroup(const Aws::String &value)
FunctionResult & AddResponseBody(Aws::String &&key, ContentBody &&value)
FunctionResult & AddResponseBody(const Aws::String &key, const ContentBody &value)
const ResponseState & GetResponseState() const
FunctionResult & WithResponseState(const ResponseState &value)
bool ResponseBodyHasBeenSet() const
void SetActionGroup(const Aws::String &value)
const Aws::Map< Aws::String, ContentBody > & GetResponseBody() const
FunctionResult & WithActionGroup(const char *value)
bool ActionGroupHasBeenSet() const
void SetResponseBody(Aws::Map< Aws::String, ContentBody > &&value)
bool ResponseStateHasBeenSet() const
void SetResponseState(ResponseState &&value)
void SetFunction(const Aws::String &value)
FunctionResult & WithActionGroup(Aws::String &&value)
FunctionResult & WithResponseBody(Aws::Map< Aws::String, ContentBody > &&value)
void SetFunction(Aws::String &&value)
FunctionResult & WithFunction(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API FunctionResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetActionGroup() const
void SetFunction(const char *value)
void SetActionGroup(Aws::String &&value)
FunctionResult & WithFunction(const Aws::String &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