AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
37 {
38 public:
42 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const DocumentAttributeBoostingLevel& GetBoostingLevel() const{ return m_boostingLevel; }
51 inline bool BoostingLevelHasBeenSet() const { return m_boostingLevelHasBeenSet; }
52 inline void SetBoostingLevel(const DocumentAttributeBoostingLevel& value) { m_boostingLevelHasBeenSet = true; m_boostingLevel = value; }
53 inline void SetBoostingLevel(DocumentAttributeBoostingLevel&& value) { m_boostingLevelHasBeenSet = true; m_boostingLevel = std::move(value); }
57
59
62 inline const NumberAttributeBoostingType& GetBoostingType() const{ return m_boostingType; }
63 inline bool BoostingTypeHasBeenSet() const { return m_boostingTypeHasBeenSet; }
64 inline void SetBoostingType(const NumberAttributeBoostingType& value) { m_boostingTypeHasBeenSet = true; m_boostingType = value; }
65 inline void SetBoostingType(NumberAttributeBoostingType&& value) { m_boostingTypeHasBeenSet = true; m_boostingType = std::move(value); }
69 private:
70
71 DocumentAttributeBoostingLevel m_boostingLevel;
72 bool m_boostingLevelHasBeenSet = false;
73
74 NumberAttributeBoostingType m_boostingType;
75 bool m_boostingTypeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QBusiness
80} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
NumberAttributeBoostingConfiguration & WithBoostingLevel(const DocumentAttributeBoostingLevel &value)
NumberAttributeBoostingConfiguration & WithBoostingType(const NumberAttributeBoostingType &value)
AWS_QBUSINESS_API NumberAttributeBoostingConfiguration(Aws::Utils::Json::JsonView jsonValue)
NumberAttributeBoostingConfiguration & WithBoostingType(NumberAttributeBoostingType &&value)
NumberAttributeBoostingConfiguration & WithBoostingLevel(DocumentAttributeBoostingLevel &&value)
AWS_QBUSINESS_API NumberAttributeBoostingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue