7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/DocumentAttributeBoostingConfiguration.h>
43 template <
typename IndexIdT = Aws::String>
45 m_indexIdHasBeenSet =
true;
46 m_indexId = std::forward<IndexIdT>(value);
48 template <
typename IndexIdT = Aws::String>
71 inline long long GetVersion()
const {
return m_version; }
74 m_versionHasBeenSet =
true;
90 template <
typename BoostingOverr
ideT = Aws::Map<Aws::String, DocumentAttributeBoostingConfiguration>>
92 m_boostingOverrideHasBeenSet =
true;
93 m_boostingOverride = std::forward<BoostingOverrideT>(value);
95 template <
typename BoostingOverr
ideT = Aws::Map<Aws::String, DocumentAttributeBoostingConfiguration>>
100 template <
typename BoostingOverr
ideKeyT = Aws::String,
typename BoostingOverr
ideValueT = DocumentAttributeBoostingConfiguration>
102 m_boostingOverrideHasBeenSet =
true;
103 m_boostingOverride.emplace(std::forward<BoostingOverrideKeyT>(
key), std::forward<BoostingOverrideValueT>(value));
110 long long m_version{0};
113 bool m_indexIdHasBeenSet =
false;
114 bool m_versionHasBeenSet =
false;
115 bool m_boostingOverrideHasBeenSet =
false;
NativeIndexConfiguration & WithVersion(long long value)
AWS_QBUSINESS_API NativeIndexConfiguration()=default
long long GetVersion() const
const Aws::Map< Aws::String, DocumentAttributeBoostingConfiguration > & GetBoostingOverride() const
AWS_QBUSINESS_API NativeIndexConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool BoostingOverrideHasBeenSet() const
void SetIndexId(IndexIdT &&value)
NativeIndexConfiguration & WithIndexId(IndexIdT &&value)
bool VersionHasBeenSet() const
void SetBoostingOverride(BoostingOverrideT &&value)
NativeIndexConfiguration & WithBoostingOverride(BoostingOverrideT &&value)
NativeIndexConfiguration & AddBoostingOverride(BoostingOverrideKeyT &&key, BoostingOverrideValueT &&value)
const Aws::String & GetIndexId() const
bool IndexIdHasBeenSet() const
AWS_QBUSINESS_API NativeIndexConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(long long value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue