AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentAttributeBoostingConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/NumberAttributeBoostingConfiguration.h>
9#include <aws/qbusiness/model/StringAttributeBoostingConfiguration.h>
10#include <aws/qbusiness/model/DateAttributeBoostingConfiguration.h>
11#include <aws/qbusiness/model/StringListAttributeBoostingConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness
25{
26namespace Model
27{
28
50 {
51 public:
55 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
63 inline const NumberAttributeBoostingConfiguration& GetNumberConfiguration() const{ return m_numberConfiguration; }
64 inline bool NumberConfigurationHasBeenSet() const { return m_numberConfigurationHasBeenSet; }
65 inline void SetNumberConfiguration(const NumberAttributeBoostingConfiguration& value) { m_numberConfigurationHasBeenSet = true; m_numberConfiguration = value; }
66 inline void SetNumberConfiguration(NumberAttributeBoostingConfiguration&& value) { m_numberConfigurationHasBeenSet = true; m_numberConfiguration = std::move(value); }
70
72
76 inline const StringAttributeBoostingConfiguration& GetStringConfiguration() const{ return m_stringConfiguration; }
77 inline bool StringConfigurationHasBeenSet() const { return m_stringConfigurationHasBeenSet; }
78 inline void SetStringConfiguration(const StringAttributeBoostingConfiguration& value) { m_stringConfigurationHasBeenSet = true; m_stringConfiguration = value; }
79 inline void SetStringConfiguration(StringAttributeBoostingConfiguration&& value) { m_stringConfigurationHasBeenSet = true; m_stringConfiguration = std::move(value); }
83
85
89 inline const DateAttributeBoostingConfiguration& GetDateConfiguration() const{ return m_dateConfiguration; }
90 inline bool DateConfigurationHasBeenSet() const { return m_dateConfigurationHasBeenSet; }
91 inline void SetDateConfiguration(const DateAttributeBoostingConfiguration& value) { m_dateConfigurationHasBeenSet = true; m_dateConfiguration = value; }
92 inline void SetDateConfiguration(DateAttributeBoostingConfiguration&& value) { m_dateConfigurationHasBeenSet = true; m_dateConfiguration = std::move(value); }
96
98
102 inline const StringListAttributeBoostingConfiguration& GetStringListConfiguration() const{ return m_stringListConfiguration; }
103 inline bool StringListConfigurationHasBeenSet() const { return m_stringListConfigurationHasBeenSet; }
104 inline void SetStringListConfiguration(const StringListAttributeBoostingConfiguration& value) { m_stringListConfigurationHasBeenSet = true; m_stringListConfiguration = value; }
105 inline void SetStringListConfiguration(StringListAttributeBoostingConfiguration&& value) { m_stringListConfigurationHasBeenSet = true; m_stringListConfiguration = std::move(value); }
109 private:
110
111 NumberAttributeBoostingConfiguration m_numberConfiguration;
112 bool m_numberConfigurationHasBeenSet = false;
113
114 StringAttributeBoostingConfiguration m_stringConfiguration;
115 bool m_stringConfigurationHasBeenSet = false;
116
117 DateAttributeBoostingConfiguration m_dateConfiguration;
118 bool m_dateConfigurationHasBeenSet = false;
119
120 StringListAttributeBoostingConfiguration m_stringListConfiguration;
121 bool m_stringListConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QBusiness
126} // namespace Aws
DocumentAttributeBoostingConfiguration & WithStringConfiguration(StringAttributeBoostingConfiguration &&value)
DocumentAttributeBoostingConfiguration & WithDateConfiguration(const DateAttributeBoostingConfiguration &value)
const NumberAttributeBoostingConfiguration & GetNumberConfiguration() const
void SetStringConfiguration(const StringAttributeBoostingConfiguration &value)
DocumentAttributeBoostingConfiguration & WithStringConfiguration(const StringAttributeBoostingConfiguration &value)
void SetStringListConfiguration(const StringListAttributeBoostingConfiguration &value)
void SetDateConfiguration(const DateAttributeBoostingConfiguration &value)
const StringListAttributeBoostingConfiguration & GetStringListConfiguration() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const StringAttributeBoostingConfiguration & GetStringConfiguration() const
AWS_QBUSINESS_API DocumentAttributeBoostingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStringListConfiguration(StringListAttributeBoostingConfiguration &&value)
AWS_QBUSINESS_API DocumentAttributeBoostingConfiguration(Aws::Utils::Json::JsonView jsonValue)
DocumentAttributeBoostingConfiguration & WithNumberConfiguration(NumberAttributeBoostingConfiguration &&value)
DocumentAttributeBoostingConfiguration & WithStringListConfiguration(const StringListAttributeBoostingConfiguration &value)
DocumentAttributeBoostingConfiguration & WithStringListConfiguration(StringListAttributeBoostingConfiguration &&value)
DocumentAttributeBoostingConfiguration & WithNumberConfiguration(const NumberAttributeBoostingConfiguration &value)
DocumentAttributeBoostingConfiguration & WithDateConfiguration(DateAttributeBoostingConfiguration &&value)
void SetNumberConfiguration(const NumberAttributeBoostingConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue