AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SuggestableConfig.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 kendra
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KENDRA_API SuggestableConfig() = default;
38 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
46 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
47 template<typename AttributeNameT = Aws::String>
48 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
49 template<typename AttributeNameT = Aws::String>
50 SuggestableConfig& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
52
54
58 inline bool GetSuggestable() const { return m_suggestable; }
59 inline bool SuggestableHasBeenSet() const { return m_suggestableHasBeenSet; }
60 inline void SetSuggestable(bool value) { m_suggestableHasBeenSet = true; m_suggestable = value; }
61 inline SuggestableConfig& WithSuggestable(bool value) { SetSuggestable(value); return *this;}
63 private:
64
65 Aws::String m_attributeName;
66 bool m_attributeNameHasBeenSet = false;
67
68 bool m_suggestable{false};
69 bool m_suggestableHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace kendra
74} // namespace Aws
SuggestableConfig & WithSuggestable(bool value)
const Aws::String & GetAttributeName() const
SuggestableConfig & WithAttributeName(AttributeNameT &&value)
AWS_KENDRA_API SuggestableConfig()=default
AWS_KENDRA_API SuggestableConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API SuggestableConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeName(AttributeNameT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue