AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Specifications.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/SubSlotValueElicitationSetting.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
29 public:
30 AWS_LEXMODELSV2_API Specifications() = default;
31 AWS_LEXMODELSV2_API Specifications(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API Specifications& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
40 inline bool SlotTypeIdHasBeenSet() const { return m_slotTypeIdHasBeenSet; }
41 template <typename SlotTypeIdT = Aws::String>
42 void SetSlotTypeId(SlotTypeIdT&& value) {
43 m_slotTypeIdHasBeenSet = true;
44 m_slotTypeId = std::forward<SlotTypeIdT>(value);
45 }
46 template <typename SlotTypeIdT = Aws::String>
47 Specifications& WithSlotTypeId(SlotTypeIdT&& value) {
48 SetSlotTypeId(std::forward<SlotTypeIdT>(value));
49 return *this;
50 }
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) {
62 m_valueElicitationSettingHasBeenSet = true;
63 m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
64 }
65 template <typename ValueElicitationSettingT = SubSlotValueElicitationSetting>
66 Specifications& WithValueElicitationSetting(ValueElicitationSettingT&& value) {
67 SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_slotTypeId;
73
74 SubSlotValueElicitationSetting m_valueElicitationSetting;
75 bool m_slotTypeIdHasBeenSet = false;
76 bool m_valueElicitationSettingHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexModelsV2
81} // 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