AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Specifications.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/SubSlotValueElicitationSetting.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LEXMODELSV2_API Specifications() = default;
36 AWS_LEXMODELSV2_API Specifications(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Specifications& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
46 inline bool SlotTypeIdHasBeenSet() const { return m_slotTypeIdHasBeenSet; }
47 template<typename SlotTypeIdT = Aws::String>
48 void SetSlotTypeId(SlotTypeIdT&& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = std::forward<SlotTypeIdT>(value); }
49 template<typename SlotTypeIdT = Aws::String>
50 Specifications& WithSlotTypeId(SlotTypeIdT&& value) { SetSlotTypeId(std::forward<SlotTypeIdT>(value)); return *this;}
52
54
58 inline const SubSlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
59 inline bool ValueElicitationSettingHasBeenSet() const { return m_valueElicitationSettingHasBeenSet; }
60 template<typename ValueElicitationSettingT = SubSlotValueElicitationSetting>
61 void SetValueElicitationSetting(ValueElicitationSettingT&& value) { m_valueElicitationSettingHasBeenSet = true; m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value); }
62 template<typename ValueElicitationSettingT = SubSlotValueElicitationSetting>
63 Specifications& WithValueElicitationSetting(ValueElicitationSettingT&& value) { SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value)); return *this;}
65 private:
66
67 Aws::String m_slotTypeId;
68 bool m_slotTypeIdHasBeenSet = false;
69
70 SubSlotValueElicitationSetting m_valueElicitationSetting;
71 bool m_valueElicitationSettingHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
void SetSlotTypeId(SlotTypeIdT &&value)
AWS_LEXMODELSV2_API Specifications(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSlotTypeId() const
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
Specifications & WithSlotTypeId(SlotTypeIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API Specifications()=default
const SubSlotValueElicitationSetting & GetValueElicitationSetting() const
Specifications & WithValueElicitationSetting(ValueElicitationSettingT &&value)
AWS_LEXMODELSV2_API Specifications & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue