AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotDefaultValue.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_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 LexModelBuildingService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue();
35 AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
49 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
50 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
51 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
52 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
53 inline SlotDefaultValue& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
54 inline SlotDefaultValue& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
55 inline SlotDefaultValue& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
57 private:
58
59 Aws::String m_defaultValue;
60 bool m_defaultValueHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace LexModelBuildingService
65} // namespace Aws
SlotDefaultValue & WithDefaultValue(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue()
AWS_LEXMODELBUILDINGSERVICE_API SlotDefaultValue & operator=(Aws::Utils::Json::JsonView jsonValue)
SlotDefaultValue & WithDefaultValue(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SlotDefaultValue & WithDefaultValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue