7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/qbusiness/model/DocumentAttributeBoostingConfiguration.h>
49 template<
typename IndexIdT = Aws::String>
50 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
51 template<
typename IndexIdT = Aws::String>
71 inline long long GetVersion()
const {
return m_version; }
73 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
84 template<
typename BoostingOverr
ideT = Aws::Map<Aws::String, DocumentAttributeBoostingConfiguration>>
86 template<
typename BoostingOverr
ideT = Aws::Map<Aws::String, DocumentAttributeBoostingConfiguration>>
88 template<
typename BoostingOverr
ideKeyT = Aws::String,
typename BoostingOverr
ideValueT = DocumentAttributeBoostingConfiguration>
90 m_boostingOverrideHasBeenSet =
true; m_boostingOverride.emplace(std::forward<BoostingOverrideKeyT>(
key), std::forward<BoostingOverrideValueT>(value));
return *
this;
96 bool m_indexIdHasBeenSet =
false;
98 long long m_version{0};
99 bool m_versionHasBeenSet =
false;
102 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