AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NumberAttributeBoostingConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DocumentAttributeBoostingLevel.h>
9#include <aws/qbusiness/model/NumberAttributeBoostingType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_QBUSINESS_API NumberAttributeBoostingConfiguration() = default;
46 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
57 inline DocumentAttributeBoostingLevel GetBoostingLevel() const { return m_boostingLevel; }
58 inline bool BoostingLevelHasBeenSet() const { return m_boostingLevelHasBeenSet; }
59 inline void SetBoostingLevel(DocumentAttributeBoostingLevel value) { m_boostingLevelHasBeenSet = true; m_boostingLevel = value; }
62
64
69 inline NumberAttributeBoostingType GetBoostingType() const { return m_boostingType; }
70 inline bool BoostingTypeHasBeenSet() const { return m_boostingTypeHasBeenSet; }
71 inline void SetBoostingType(NumberAttributeBoostingType value) { m_boostingTypeHasBeenSet = true; m_boostingType = value; }
74 private:
75
77 bool m_boostingLevelHasBeenSet = false;
78
80 bool m_boostingTypeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace QBusiness
85} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
NumberAttributeBoostingConfiguration & WithBoostingLevel(DocumentAttributeBoostingLevel value)
AWS_QBUSINESS_API NumberAttributeBoostingConfiguration(Aws::Utils::Json::JsonView jsonValue)
NumberAttributeBoostingConfiguration & WithBoostingType(NumberAttributeBoostingType value)
AWS_QBUSINESS_API NumberAttributeBoostingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue