AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExternalSourceSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/GrammarSlotTypeSetting.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API ExternalSourceSetting() = default;
31 AWS_LEXMODELSV2_API ExternalSourceSetting(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const GrammarSlotTypeSetting& GetGrammarSlotTypeSetting() const { return m_grammarSlotTypeSetting; }
40 inline bool GrammarSlotTypeSettingHasBeenSet() const { return m_grammarSlotTypeSettingHasBeenSet; }
41 template <typename GrammarSlotTypeSettingT = GrammarSlotTypeSetting>
42 void SetGrammarSlotTypeSetting(GrammarSlotTypeSettingT&& value) {
43 m_grammarSlotTypeSettingHasBeenSet = true;
44 m_grammarSlotTypeSetting = std::forward<GrammarSlotTypeSettingT>(value);
45 }
46 template <typename GrammarSlotTypeSettingT = GrammarSlotTypeSetting>
47 ExternalSourceSetting& WithGrammarSlotTypeSetting(GrammarSlotTypeSettingT&& value) {
48 SetGrammarSlotTypeSetting(std::forward<GrammarSlotTypeSettingT>(value));
49 return *this;
50 }
52 private:
53 GrammarSlotTypeSetting m_grammarSlotTypeSetting;
54 bool m_grammarSlotTypeSettingHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace LexModelsV2
59} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API ExternalSourceSetting(Aws::Utils::Json::JsonView jsonValue)
const GrammarSlotTypeSetting & GetGrammarSlotTypeSetting() const
ExternalSourceSetting & WithGrammarSlotTypeSetting(GrammarSlotTypeSettingT &&value)
AWS_LEXMODELSV2_API ExternalSourceSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API ExternalSourceSetting()=default
void SetGrammarSlotTypeSetting(GrammarSlotTypeSettingT &&value)
Aws::Utils::Json::JsonValue JsonValue