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>
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
77 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
117 bool m_descriptionHasBeenSet =
false;
120 bool m_nameHasBeenSet =
false;
123 bool m_parametersHasBeenSet =
false;
126 bool m_requireConfirmationHasBeenSet =
false;
Function & WithName(const Aws::String &value)
bool NameHasBeenSet() const
Function & WithParameters(Aws::Map< Aws::String, ParameterDetail > &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Function & WithDescription(const char *value)
void SetParameters(const Aws::Map< Aws::String, ParameterDetail > &value)
bool ParametersHasBeenSet() const
AWS_BEDROCKAGENT_API Function()
void SetRequireConfirmation(RequireConfirmation &&value)
Function & WithDescription(Aws::String &&value)
AWS_BEDROCKAGENT_API Function & operator=(Aws::Utils::Json::JsonView jsonValue)
Function & WithDescription(const Aws::String &value)
Function & AddParameters(const char *key, const ParameterDetail &value)
void SetParameters(Aws::Map< Aws::String, ParameterDetail > &&value)
Function & WithRequireConfirmation(const RequireConfirmation &value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
Function & WithRequireConfirmation(RequireConfirmation &&value)
const RequireConfirmation & GetRequireConfirmation() const
Function & AddParameters(Aws::String &&key, ParameterDetail &&value)
Function & AddParameters(const Aws::String &key, ParameterDetail &&value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
Function & AddParameters(const Aws::String &key, const ParameterDetail &value)
void SetName(const Aws::String &value)
Function & WithName(const char *value)
Function & WithName(Aws::String &&value)
Function & AddParameters(const char *key, ParameterDetail &&value)
AWS_BEDROCKAGENT_API Function(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
bool RequireConfirmationHasBeenSet() const
const Aws::Map< Aws::String, ParameterDetail > & GetParameters() const
Function & WithParameters(const Aws::Map< Aws::String, ParameterDetail > &value)
void SetRequireConfirmation(const RequireConfirmation &value)
void SetDescription(const char *value)
Function & AddParameters(Aws::String &&key, const ParameterDetail &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