AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotValueSelectionSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/SlotValueResolutionStrategy.h>
9#include <aws/lexv2-models/model/SlotValueRegexFilter.h>
10#include <aws/lexv2-models/model/AdvancedRecognitionSetting.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API SlotValueSelectionSetting();
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
55 inline const SlotValueResolutionStrategy& GetResolutionStrategy() const{ return m_resolutionStrategy; }
56 inline bool ResolutionStrategyHasBeenSet() const { return m_resolutionStrategyHasBeenSet; }
57 inline void SetResolutionStrategy(const SlotValueResolutionStrategy& value) { m_resolutionStrategyHasBeenSet = true; m_resolutionStrategy = value; }
58 inline void SetResolutionStrategy(SlotValueResolutionStrategy&& value) { m_resolutionStrategyHasBeenSet = true; m_resolutionStrategy = std::move(value); }
62
64
67 inline const SlotValueRegexFilter& GetRegexFilter() const{ return m_regexFilter; }
68 inline bool RegexFilterHasBeenSet() const { return m_regexFilterHasBeenSet; }
69 inline void SetRegexFilter(const SlotValueRegexFilter& value) { m_regexFilterHasBeenSet = true; m_regexFilter = value; }
70 inline void SetRegexFilter(SlotValueRegexFilter&& value) { m_regexFilterHasBeenSet = true; m_regexFilter = std::move(value); }
72 inline SlotValueSelectionSetting& WithRegexFilter(SlotValueRegexFilter&& value) { SetRegexFilter(std::move(value)); return *this;}
74
76
81 inline const AdvancedRecognitionSetting& GetAdvancedRecognitionSetting() const{ return m_advancedRecognitionSetting; }
82 inline bool AdvancedRecognitionSettingHasBeenSet() const { return m_advancedRecognitionSettingHasBeenSet; }
83 inline void SetAdvancedRecognitionSetting(const AdvancedRecognitionSetting& value) { m_advancedRecognitionSettingHasBeenSet = true; m_advancedRecognitionSetting = value; }
84 inline void SetAdvancedRecognitionSetting(AdvancedRecognitionSetting&& value) { m_advancedRecognitionSettingHasBeenSet = true; m_advancedRecognitionSetting = std::move(value); }
88 private:
89
90 SlotValueResolutionStrategy m_resolutionStrategy;
91 bool m_resolutionStrategyHasBeenSet = false;
92
93 SlotValueRegexFilter m_regexFilter;
94 bool m_regexFilterHasBeenSet = false;
95
96 AdvancedRecognitionSetting m_advancedRecognitionSetting;
97 bool m_advancedRecognitionSettingHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace LexModelsV2
102} // namespace Aws
void SetRegexFilter(const SlotValueRegexFilter &value)
SlotValueSelectionSetting & WithResolutionStrategy(SlotValueResolutionStrategy &&value)
void SetAdvancedRecognitionSetting(AdvancedRecognitionSetting &&value)
SlotValueSelectionSetting & WithRegexFilter(SlotValueRegexFilter &&value)
const AdvancedRecognitionSetting & GetAdvancedRecognitionSetting() const
AWS_LEXMODELSV2_API SlotValueSelectionSetting(Aws::Utils::Json::JsonView jsonValue)
SlotValueSelectionSetting & WithAdvancedRecognitionSetting(const AdvancedRecognitionSetting &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SlotValueSelectionSetting & WithResolutionStrategy(const SlotValueResolutionStrategy &value)
SlotValueSelectionSetting & WithAdvancedRecognitionSetting(AdvancedRecognitionSetting &&value)
void SetResolutionStrategy(const SlotValueResolutionStrategy &value)
const SlotValueResolutionStrategy & GetResolutionStrategy() const
AWS_LEXMODELSV2_API SlotValueSelectionSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResolutionStrategy(SlotValueResolutionStrategy &&value)
void SetAdvancedRecognitionSetting(const AdvancedRecognitionSetting &value)
SlotValueSelectionSetting & WithRegexFilter(const SlotValueRegexFilter &value)
Aws::Utils::Json::JsonValue JsonValue