AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RuntimeHints.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-runtime/model/RuntimeHintDetails.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 LexRuntimeV2
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_LEXRUNTIMEV2_API RuntimeHints() = default;
45 AWS_LEXRUNTIMEV2_API RuntimeHints(Aws::Utils::Json::JsonView jsonValue);
46 AWS_LEXRUNTIMEV2_API RuntimeHints& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
60 inline bool SlotHintsHasBeenSet() const { return m_slotHintsHasBeenSet; }
61 template<typename SlotHintsT = Aws::Map<Aws::String, Aws::Map<Aws::String, RuntimeHintDetails>>>
62 void SetSlotHints(SlotHintsT&& value) { m_slotHintsHasBeenSet = true; m_slotHints = std::forward<SlotHintsT>(value); }
63 template<typename SlotHintsT = Aws::Map<Aws::String, Aws::Map<Aws::String, RuntimeHintDetails>>>
64 RuntimeHints& WithSlotHints(SlotHintsT&& value) { SetSlotHints(std::forward<SlotHintsT>(value)); return *this;}
65 template<typename SlotHintsKeyT = Aws::String, typename SlotHintsValueT = Aws::Map<Aws::String, RuntimeHintDetails>>
66 RuntimeHints& AddSlotHints(SlotHintsKeyT&& key, SlotHintsValueT&& value) {
67 m_slotHintsHasBeenSet = true; m_slotHints.emplace(std::forward<SlotHintsKeyT>(key), std::forward<SlotHintsValueT>(value)); return *this;
68 }
70 private:
71
73 bool m_slotHintsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexRuntimeV2
78} // namespace Aws
AWS_LEXRUNTIMEV2_API RuntimeHints()=default
const Aws::Map< Aws::String, Aws::Map< Aws::String, RuntimeHintDetails > > & GetSlotHints() const
AWS_LEXRUNTIMEV2_API RuntimeHints & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSlotHints(SlotHintsT &&value)
RuntimeHints & AddSlotHints(SlotHintsKeyT &&key, SlotHintsValueT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeHints & WithSlotHints(SlotHintsT &&value)
AWS_LEXRUNTIMEV2_API RuntimeHints(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue