7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent-runtime/model/FunctionDefinition.h>
22namespace BedrockAgentRuntime
48 template<
typename FunctionsT = Aws::Vector<FunctionDefinition>>
49 void SetFunctions(FunctionsT&& value) { m_functionsHasBeenSet =
true; m_functions = std::forward<FunctionsT>(value); }
50 template<
typename FunctionsT = Aws::Vector<FunctionDefinition>>
52 template<
typename FunctionsT = FunctionDefinition>
53 FunctionSchema&
AddFunctions(FunctionsT&& value) { m_functionsHasBeenSet =
true; m_functions.emplace_back(std::forward<FunctionsT>(value));
return *
this; }
58 bool m_functionsHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API FunctionSchema()=default
FunctionSchema & AddFunctions(FunctionsT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionSchema & WithFunctions(FunctionsT &&value)
AWS_BEDROCKAGENTRUNTIME_API FunctionSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FunctionsHasBeenSet() const
const Aws::Vector< FunctionDefinition > & GetFunctions() const
AWS_BEDROCKAGENTRUNTIME_API FunctionSchema(Aws::Utils::Json::JsonView jsonValue)
void SetFunctions(FunctionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue