7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ParameterDetail.h>
9#include <aws/bedrock-agent/model/RequireConfirmation.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgent {
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
92 template <
typename ParametersT = Aws::Map<Aws::String, ParameterDetail>>
94 m_parametersHasBeenSet =
true;
95 m_parameters = std::forward<ParametersT>(value);
97 template <
typename ParametersT = Aws::Map<Aws::String, ParameterDetail>>
102 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = ParameterDetail>
104 m_parametersHasBeenSet =
true;
105 m_parameters.emplace(std::forward<ParametersKeyT>(
key), std::forward<ParametersValueT>(value));
118 m_requireConfirmationHasBeenSet =
true;
119 m_requireConfirmation = value;
134 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
136 bool m_parametersHasBeenSet =
false;
137 bool m_requireConfirmationHasBeenSet =
false;
bool NameHasBeenSet() const
void SetParameters(ParametersT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ParametersHasBeenSet() const
Function & WithName(NameT &&value)
RequireConfirmation GetRequireConfirmation() const
AWS_BEDROCKAGENT_API Function & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
Function & WithDescription(DescriptionT &&value)
Function & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_BEDROCKAGENT_API Function(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetRequireConfirmation(RequireConfirmation value)
Function & WithParameters(ParametersT &&value)
bool RequireConfirmationHasBeenSet() const
AWS_BEDROCKAGENT_API Function()=default
Function & WithRequireConfirmation(RequireConfirmation value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, ParameterDetail > & GetParameters() const
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