AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuntimeHintDetails.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/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 LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API RuntimeHintDetails();
39 AWS_LEXMODELSV2_API RuntimeHintDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_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 inline void SetRuntimeHintValues(const Aws::Vector<RuntimeHintValue>& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues = value; }
52 inline void SetRuntimeHintValues(Aws::Vector<RuntimeHintValue>&& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues = std::move(value); }
55 inline RuntimeHintDetails& AddRuntimeHintValues(const RuntimeHintValue& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues.push_back(value); return *this; }
56 inline RuntimeHintDetails& AddRuntimeHintValues(RuntimeHintValue&& value) { m_runtimeHintValuesHasBeenSet = true; m_runtimeHintValues.push_back(std::move(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 inline void SetSubSlotHints(const Aws::Map<Aws::String, RuntimeHintDetails>& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints = value; }
70 inline void SetSubSlotHints(Aws::Map<Aws::String, RuntimeHintDetails>&& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints = std::move(value); }
73 inline RuntimeHintDetails& AddSubSlotHints(const Aws::String& key, const RuntimeHintDetails& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(key, value); return *this; }
74 inline RuntimeHintDetails& AddSubSlotHints(Aws::String&& key, const RuntimeHintDetails& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(std::move(key), value); return *this; }
75 inline RuntimeHintDetails& AddSubSlotHints(const Aws::String& key, RuntimeHintDetails&& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(key, std::move(value)); return *this; }
76 inline RuntimeHintDetails& AddSubSlotHints(Aws::String&& key, RuntimeHintDetails&& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(std::move(key), std::move(value)); return *this; }
77 inline RuntimeHintDetails& AddSubSlotHints(const char* key, RuntimeHintDetails&& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(key, std::move(value)); return *this; }
78 inline RuntimeHintDetails& AddSubSlotHints(const char* key, const RuntimeHintDetails& value) { m_subSlotHintsHasBeenSet = true; m_subSlotHints.emplace(key, value); return *this; }
80 private:
81
82 Aws::Vector<RuntimeHintValue> m_runtimeHintValues;
83 bool m_runtimeHintValuesHasBeenSet = false;
84
86 bool m_subSlotHintsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
RuntimeHintDetails & WithSubSlotHints(Aws::Map< Aws::String, RuntimeHintDetails > &&value)
RuntimeHintDetails & WithRuntimeHintValues(const Aws::Vector< RuntimeHintValue > &value)
RuntimeHintDetails & AddSubSlotHints(Aws::String &&key, RuntimeHintDetails &&value)
AWS_LEXMODELSV2_API RuntimeHintDetails(Aws::Utils::Json::JsonView jsonValue)
RuntimeHintDetails & AddSubSlotHints(const Aws::String &key, const RuntimeHintDetails &value)
RuntimeHintDetails & AddSubSlotHints(const char *key, const RuntimeHintDetails &value)
RuntimeHintDetails & AddRuntimeHintValues(RuntimeHintValue &&value)
AWS_LEXMODELSV2_API RuntimeHintDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeHintDetails & AddSubSlotHints(Aws::String &&key, const RuntimeHintDetails &value)
RuntimeHintDetails & WithRuntimeHintValues(Aws::Vector< RuntimeHintValue > &&value)
void SetRuntimeHintValues(const Aws::Vector< RuntimeHintValue > &value)
RuntimeHintDetails & AddSubSlotHints(const Aws::String &key, RuntimeHintDetails &&value)
void SetSubSlotHints(Aws::Map< Aws::String, RuntimeHintDetails > &&value)
void SetSubSlotHints(const Aws::Map< Aws::String, RuntimeHintDetails > &value)
const Aws::Vector< RuntimeHintValue > & GetRuntimeHintValues() const
RuntimeHintDetails & AddRuntimeHintValues(const RuntimeHintValue &value)
RuntimeHintDetails & AddSubSlotHints(const char *key, RuntimeHintDetails &&value)
void SetRuntimeHintValues(Aws::Vector< RuntimeHintValue > &&value)
RuntimeHintDetails & WithSubSlotHints(const Aws::Map< Aws::String, RuntimeHintDetails > &value)
const Aws::Map< Aws::String, RuntimeHintDetails > & GetSubSlotHints() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue