AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
RuntimeHints.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/RuntimeHintDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2 {
22namespace Model {
23
38 public:
39 AWS_LEXMODELSV2_API RuntimeHints() = default;
40 AWS_LEXMODELSV2_API RuntimeHints(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API RuntimeHints& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
54 inline bool SlotHintsHasBeenSet() const { return m_slotHintsHasBeenSet; }
55 template <typename SlotHintsT = Aws::Map<Aws::String, Aws::Map<Aws::String, RuntimeHintDetails>>>
56 void SetSlotHints(SlotHintsT&& value) {
57 m_slotHintsHasBeenSet = true;
58 m_slotHints = std::forward<SlotHintsT>(value);
59 }
60 template <typename SlotHintsT = Aws::Map<Aws::String, Aws::Map<Aws::String, RuntimeHintDetails>>>
61 RuntimeHints& WithSlotHints(SlotHintsT&& value) {
62 SetSlotHints(std::forward<SlotHintsT>(value));
63 return *this;
64 }
65 template <typename SlotHintsKeyT = Aws::String, typename SlotHintsValueT = Aws::Map<Aws::String, RuntimeHintDetails>>
66 RuntimeHints& AddSlotHints(SlotHintsKeyT&& key, SlotHintsValueT&& value) {
67 m_slotHintsHasBeenSet = true;
68 m_slotHints.emplace(std::forward<SlotHintsKeyT>(key), std::forward<SlotHintsValueT>(value));
69 return *this;
70 }
72 private:
74 bool m_slotHintsHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace LexModelsV2
79} // namespace Aws
RuntimeHints & AddSlotHints(SlotHintsKeyT &&key, SlotHintsValueT &&value)
AWS_LEXMODELSV2_API RuntimeHints & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API RuntimeHints(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Map< Aws::String, RuntimeHintDetails > > & GetSlotHints() const
RuntimeHints & WithSlotHints(SlotHintsT &&value)
void SetSlotHints(SlotHintsT &&value)
AWS_LEXMODELSV2_API RuntimeHints()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue