AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SlotValue.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXMODELSV2_API SlotValue() = default;
35 AWS_LEXMODELSV2_API SlotValue(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API SlotValue& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetInterpretedValue() const { return m_interpretedValue; }
48 inline bool InterpretedValueHasBeenSet() const { return m_interpretedValueHasBeenSet; }
49 template<typename InterpretedValueT = Aws::String>
50 void SetInterpretedValue(InterpretedValueT&& value) { m_interpretedValueHasBeenSet = true; m_interpretedValue = std::forward<InterpretedValueT>(value); }
51 template<typename InterpretedValueT = Aws::String>
52 SlotValue& WithInterpretedValue(InterpretedValueT&& value) { SetInterpretedValue(std::forward<InterpretedValueT>(value)); return *this;}
54 private:
55
56 Aws::String m_interpretedValue;
57 bool m_interpretedValueHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace LexModelsV2
62} // namespace Aws
AWS_LEXMODELSV2_API SlotValue(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API SlotValue()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInterpretedValue(InterpretedValueT &&value)
Definition SlotValue.h:50
const Aws::String & GetInterpretedValue() const
Definition SlotValue.h:47
AWS_LEXMODELSV2_API SlotValue & operator=(Aws::Utils::Json::JsonView jsonValue)
SlotValue & WithInterpretedValue(InterpretedValueT &&value)
Definition SlotValue.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue