AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElicitSubSlot.h
1
6#pragma once
7#include <aws/lexv2-runtime/LexRuntimeV2_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 LexRuntimeV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXRUNTIMEV2_API ElicitSubSlot();
36 AWS_LEXRUNTIMEV2_API ElicitSubSlot(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXRUNTIMEV2_API ElicitSubSlot& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ElicitSubSlot& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ElicitSubSlot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ElicitSubSlot& WithName(const char* value) { SetName(value); return *this;}
54
56
59 AWS_LEXRUNTIMEV2_API const ElicitSubSlot& GetSubSlotToElicit() const;
60 AWS_LEXRUNTIMEV2_API bool SubSlotToElicitHasBeenSet() const;
61 AWS_LEXRUNTIMEV2_API void SetSubSlotToElicit(const ElicitSubSlot& value);
62 AWS_LEXRUNTIMEV2_API void SetSubSlotToElicit(ElicitSubSlot&& value);
63 AWS_LEXRUNTIMEV2_API ElicitSubSlot& WithSubSlotToElicit(const ElicitSubSlot& value);
64 AWS_LEXRUNTIMEV2_API ElicitSubSlot& WithSubSlotToElicit(ElicitSubSlot&& value);
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 std::shared_ptr<ElicitSubSlot> m_subSlotToElicit;
72 bool m_subSlotToElicitHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LexRuntimeV2
77} // namespace Aws
AWS_LEXRUNTIMEV2_API ElicitSubSlot()
ElicitSubSlot & WithName(const char *value)
AWS_LEXRUNTIMEV2_API ElicitSubSlot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
ElicitSubSlot & WithName(Aws::String &&value)
AWS_LEXRUNTIMEV2_API const ElicitSubSlot & GetSubSlotToElicit() const
AWS_LEXRUNTIMEV2_API void SetSubSlotToElicit(ElicitSubSlot &&value)
AWS_LEXRUNTIMEV2_API bool SubSlotToElicitHasBeenSet() const
AWS_LEXRUNTIMEV2_API ElicitSubSlot & WithSubSlotToElicit(ElicitSubSlot &&value)
AWS_LEXRUNTIMEV2_API ElicitSubSlot & WithSubSlotToElicit(const ElicitSubSlot &value)
void SetName(const Aws::String &value)
ElicitSubSlot & WithName(const Aws::String &value)
const Aws::String & GetName() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXRUNTIMEV2_API ElicitSubSlot(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API void SetSubSlotToElicit(const ElicitSubSlot &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue