AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInterpretedValue(const Aws::String& value) { m_interpretedValueHasBeenSet = true; m_interpretedValue = value; }
50 inline void SetInterpretedValue(Aws::String&& value) { m_interpretedValueHasBeenSet = true; m_interpretedValue = std::move(value); }
51 inline void SetInterpretedValue(const char* value) { m_interpretedValueHasBeenSet = true; m_interpretedValue.assign(value); }
52 inline SlotValue& WithInterpretedValue(const Aws::String& value) { SetInterpretedValue(value); return *this;}
53 inline SlotValue& WithInterpretedValue(Aws::String&& value) { SetInterpretedValue(std::move(value)); return *this;}
54 inline SlotValue& WithInterpretedValue(const char* value) { SetInterpretedValue(value); return *this;}
56 private:
57
58 Aws::String m_interpretedValue;
59 bool m_interpretedValueHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace LexModelsV2
64} // namespace Aws
AWS_LEXMODELSV2_API SlotValue(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInterpretedValue(Aws::String &&value)
Definition SlotValue.h:50
AWS_LEXMODELSV2_API SlotValue()
SlotValue & WithInterpretedValue(const Aws::String &value)
Definition SlotValue.h:52
void SetInterpretedValue(const char *value)
Definition SlotValue.h:51
SlotValue & WithInterpretedValue(Aws::String &&value)
Definition SlotValue.h:53
const Aws::String & GetInterpretedValue() const
Definition SlotValue.h:47
SlotValue & WithInterpretedValue(const char *value)
Definition SlotValue.h:54
void SetInterpretedValue(const Aws::String &value)
Definition SlotValue.h:49
AWS_LEXMODELSV2_API SlotValue & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue