AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateAttributeBoostingConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DocumentAttributeBoostingLevel.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DocumentAttributeBoostingLevel& GetBoostingLevel() const{ return m_boostingLevel; }
49 inline bool BoostingLevelHasBeenSet() const { return m_boostingLevelHasBeenSet; }
50 inline void SetBoostingLevel(const DocumentAttributeBoostingLevel& value) { m_boostingLevelHasBeenSet = true; m_boostingLevel = value; }
51 inline void SetBoostingLevel(DocumentAttributeBoostingLevel&& value) { m_boostingLevelHasBeenSet = true; m_boostingLevel = std::move(value); }
55
57
61 inline long long GetBoostingDurationInSeconds() const{ return m_boostingDurationInSeconds; }
62 inline bool BoostingDurationInSecondsHasBeenSet() const { return m_boostingDurationInSecondsHasBeenSet; }
63 inline void SetBoostingDurationInSeconds(long long value) { m_boostingDurationInSecondsHasBeenSet = true; m_boostingDurationInSeconds = value; }
66 private:
67
68 DocumentAttributeBoostingLevel m_boostingLevel;
69 bool m_boostingLevelHasBeenSet = false;
70
71 long long m_boostingDurationInSeconds;
72 bool m_boostingDurationInSecondsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QBusiness
77} // namespace Aws
DateAttributeBoostingConfiguration & WithBoostingLevel(DocumentAttributeBoostingLevel &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DateAttributeBoostingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetBoostingLevel(const DocumentAttributeBoostingLevel &value)
AWS_QBUSINESS_API DateAttributeBoostingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DateAttributeBoostingConfiguration & WithBoostingDurationInSeconds(long long value)
DateAttributeBoostingConfiguration & WithBoostingLevel(const DocumentAttributeBoostingLevel &value)
Aws::Utils::Json::JsonValue JsonValue