AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ElicitSubSlot& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const ElicitSubSlot& GetSubSlotToElicit() const{
58 return *m_subSlotToElicit;
59 }
60 inline bool SubSlotToElicitHasBeenSet() const { return m_subSlotToElicitHasBeenSet; }
61 template<typename SubSlotToElicitT = ElicitSubSlot>
62 void SetSubSlotToElicit(SubSlotToElicitT&& value) {
63 m_subSlotToElicitHasBeenSet = true;
64 m_subSlotToElicit = Aws::MakeShared<ElicitSubSlot>("ElicitSubSlot", std::forward<SubSlotToElicitT>(value));
65 }
66 template<typename SubSlotToElicitT = ElicitSubSlot>
67 ElicitSubSlot& WithSubSlotToElicit(SubSlotToElicitT&& value) { SetSubSlotToElicit(std::forward<SubSlotToElicitT>(value)); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 std::shared_ptr<ElicitSubSlot> m_subSlotToElicit;
75 bool m_subSlotToElicitHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LexRuntimeV2
80} // namespace Aws
const ElicitSubSlot & GetSubSlotToElicit() const
AWS_LEXRUNTIMEV2_API ElicitSubSlot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubSlotToElicit(SubSlotToElicitT &&value)
const Aws::String & GetName() const
ElicitSubSlot & WithName(NameT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ElicitSubSlot & WithSubSlotToElicit(SubSlotToElicitT &&value)
AWS_LEXRUNTIMEV2_API ElicitSubSlot()=default
AWS_LEXRUNTIMEV2_API ElicitSubSlot(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue