AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RuntimeHintDetails.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-runtime/model/RuntimeHintValue.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexRuntimeV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXRUNTIMEV2_API RuntimeHintDetails() = default;
39 AWS_LEXRUNTIMEV2_API RuntimeHintDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<RuntimeHintValue>& GetRuntimeHintValues() const { return m_runtimeHintValues; }
50 inline bool RuntimeHintValuesHasBeenSet() const { return m_runtimeHintValuesHasBeenSet; }
51 template<typename RuntimeHintValuesT = Aws::Vector<RuntimeHintValue>>
52 void SetRuntimeHintValues(RuntimeHintValuesT&& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues = std::forward<RuntimeHintValuesT>(value); }
53 template<typename RuntimeHintValuesT = Aws::Vector<RuntimeHintValue>>
54 RuntimeHintDetails& WithRuntimeHintValues(RuntimeHintValuesT&& value) { SetRuntimeHintValues(std::forward<RuntimeHintValuesT>(value)); return *this;}
55 template<typename RuntimeHintValuesT = RuntimeHintValue>
56 RuntimeHintDetails& AddRuntimeHintValues(RuntimeHintValuesT&& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues.emplace_back(std::forward<RuntimeHintValuesT>(value)); return *this; }
58
60
67 inline const Aws::Map<Aws::String, RuntimeHintDetails>& GetSubSlotHints() const { return m_subSlotHints; }
68 inline bool SubSlotHintsHasBeenSet() const { return m_subSlotHintsHasBeenSet; }
69 template<typename SubSlotHintsT = Aws::Map<Aws::String, RuntimeHintDetails>>
70 void SetSubSlotHints(SubSlotHintsT&& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints = std::forward<SubSlotHintsT>(value); }
71 template<typename SubSlotHintsT = Aws::Map<Aws::String, RuntimeHintDetails>>
72 RuntimeHintDetails& WithSubSlotHints(SubSlotHintsT&& value) { SetSubSlotHints(std::forward<SubSlotHintsT>(value)); return *this;}
73 template<typename SubSlotHintsKeyT = Aws::String, typename SubSlotHintsValueT = RuntimeHintDetails>
74 RuntimeHintDetails& AddSubSlotHints(SubSlotHintsKeyT&& key, SubSlotHintsValueT&& value) {
75 m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(std::forward<SubSlotHintsKeyT>(key), std::forward<SubSlotHintsValueT>(value)); return *this;
76 }
78 private:
79
80 Aws::Vector<RuntimeHintValue> m_runtimeHintValues;
81 bool m_runtimeHintValuesHasBeenSet = false;
82
84 bool m_subSlotHintsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace LexRuntimeV2
89} // namespace Aws
RuntimeHintDetails & WithSubSlotHints(SubSlotHintsT &&value)
RuntimeHintDetails & WithRuntimeHintValues(RuntimeHintValuesT &&value)
AWS_LEXRUNTIMEV2_API RuntimeHintDetails()=default
const Aws::Vector< RuntimeHintValue > & GetRuntimeHintValues() const
RuntimeHintDetails & AddSubSlotHints(SubSlotHintsKeyT &&key, SubSlotHintsValueT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuntimeHintValues(RuntimeHintValuesT &&value)
RuntimeHintDetails & AddRuntimeHintValues(RuntimeHintValuesT &&value)
AWS_LEXRUNTIMEV2_API RuntimeHintDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, RuntimeHintDetails > & GetSubSlotHints() const
AWS_LEXRUNTIMEV2_API RuntimeHintDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue