AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
37 public:
38 AWS_QBUSINESS_API NumberAttributeBoostingConfiguration() = default;
41 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
51 inline DocumentAttributeBoostingLevel GetBoostingLevel() const { return m_boostingLevel; }
52 inline bool BoostingLevelHasBeenSet() const { return m_boostingLevelHasBeenSet; }
54 m_boostingLevelHasBeenSet = true;
55 m_boostingLevel = value;
56 }
58 SetBoostingLevel(value);
59 return *this;
60 }
62
64
69 inline NumberAttributeBoostingType GetBoostingType() const { return m_boostingType; }
70 inline bool BoostingTypeHasBeenSet() const { return m_boostingTypeHasBeenSet; }
72 m_boostingTypeHasBeenSet = true;
73 m_boostingType = value;
74 }
76 SetBoostingType(value);
77 return *this;
78 }
80 private:
82
84 bool m_boostingLevelHasBeenSet = false;
85 bool m_boostingTypeHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace QBusiness
90} // 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