7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/bedrock-agent/model/RequireConfirmation.h>
11#include <aws/bedrock-agent/model/ParameterDetail.h>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
86 template<
typename ParametersT = Aws::Map<Aws::String, ParameterDetail>>
87 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
88 template<
typename ParametersT = Aws::Map<Aws::String, ParameterDetail>>
90 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = ParameterDetail>
92 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
109 bool m_descriptionHasBeenSet =
false;
112 bool m_nameHasBeenSet =
false;
115 bool m_parametersHasBeenSet =
false;
118 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::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