7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DocumentAttributeBoostingLevel.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qbusiness/model/StringAttributeValueBoostingLevel.h>
80 template<
typename AttributeValueBoostingT = Aws::Map<Aws::String, StringAttributeValueBoostingLevel>>
82 template<
typename AttributeValueBoostingT = Aws::Map<Aws::String, StringAttributeValueBoostingLevel>>
85 m_attributeValueBoostingHasBeenSet =
true; m_attributeValueBoosting.emplace(
key, value);
return *
this;
91 bool m_boostingLevelHasBeenSet =
false;
94 bool m_attributeValueBoostingHasBeenSet =
false;
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributeValueBoosting(AttributeValueBoostingT &&value)
const Aws::Map< Aws::String, StringAttributeValueBoostingLevel > & GetAttributeValueBoosting() const
bool BoostingLevelHasBeenSet() const
AWS_QBUSINESS_API StringAttributeBoostingConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool AttributeValueBoostingHasBeenSet() const
DocumentAttributeBoostingLevel GetBoostingLevel() const
AWS_QBUSINESS_API StringAttributeBoostingConfiguration()=default
StringAttributeBoostingConfiguration & WithBoostingLevel(DocumentAttributeBoostingLevel value)
StringAttributeBoostingConfiguration & AddAttributeValueBoosting(Aws::String key, StringAttributeValueBoostingLevel value)
void SetBoostingLevel(DocumentAttributeBoostingLevel value)
AWS_QBUSINESS_API StringAttributeBoostingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StringAttributeBoostingConfiguration & WithAttributeValueBoosting(AttributeValueBoostingT &&value)
DocumentAttributeBoostingLevel
StringAttributeValueBoostingLevel
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