AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserTurnIntentOutput.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/UserTurnSlotOutput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API UserTurnIntentOutput();
38 AWS_LEXMODELSV2_API UserTurnIntentOutput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline UserTurnIntentOutput& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline UserTurnIntentOutput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline UserTurnIntentOutput& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Map<Aws::String, UserTurnSlotOutput>& GetSlots() const{ return m_slots; }
62 inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; }
63 inline void SetSlots(const Aws::Map<Aws::String, UserTurnSlotOutput>& value) { m_slotsHasBeenSet = true; m_slots = value; }
64 inline void SetSlots(Aws::Map<Aws::String, UserTurnSlotOutput>&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); }
66 inline UserTurnIntentOutput& WithSlots(Aws::Map<Aws::String, UserTurnSlotOutput>&& value) { SetSlots(std::move(value)); return *this;}
67 inline UserTurnIntentOutput& AddSlots(const Aws::String& key, const UserTurnSlotOutput& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; }
68 inline UserTurnIntentOutput& AddSlots(Aws::String&& key, const UserTurnSlotOutput& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), value); return *this; }
69 inline UserTurnIntentOutput& AddSlots(const Aws::String& key, UserTurnSlotOutput&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; }
70 inline UserTurnIntentOutput& AddSlots(Aws::String&& key, UserTurnSlotOutput&& value) { m_slotsHasBeenSet = true; m_slots.emplace(std::move(key), std::move(value)); return *this; }
71 inline UserTurnIntentOutput& AddSlots(const char* key, UserTurnSlotOutput&& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, std::move(value)); return *this; }
72 inline UserTurnIntentOutput& AddSlots(const char* key, const UserTurnSlotOutput& value) { m_slotsHasBeenSet = true; m_slots.emplace(key, value); return *this; }
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
80 bool m_slotsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LexModelsV2
85} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UserTurnIntentOutput & AddSlots(const char *key, const UserTurnSlotOutput &value)
UserTurnIntentOutput & WithName(const char *value)
UserTurnIntentOutput & WithName(const Aws::String &value)
UserTurnIntentOutput & WithSlots(const Aws::Map< Aws::String, UserTurnSlotOutput > &value)
UserTurnIntentOutput & AddSlots(Aws::String &&key, const UserTurnSlotOutput &value)
void SetSlots(Aws::Map< Aws::String, UserTurnSlotOutput > &&value)
UserTurnIntentOutput & AddSlots(const Aws::String &key, UserTurnSlotOutput &&value)
UserTurnIntentOutput & WithSlots(Aws::Map< Aws::String, UserTurnSlotOutput > &&value)
void SetSlots(const Aws::Map< Aws::String, UserTurnSlotOutput > &value)
AWS_LEXMODELSV2_API UserTurnIntentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
UserTurnIntentOutput & WithName(Aws::String &&value)
UserTurnIntentOutput & AddSlots(const char *key, UserTurnSlotOutput &&value)
const Aws::Map< Aws::String, UserTurnSlotOutput > & GetSlots() const
UserTurnIntentOutput & AddSlots(Aws::String &&key, UserTurnSlotOutput &&value)
UserTurnIntentOutput & AddSlots(const Aws::String &key, const UserTurnSlotOutput &value)
AWS_LEXMODELSV2_API UserTurnIntentOutput(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue