AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserTurnSlotOutput.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 UserTurnSlotOutput();
38 AWS_LEXMODELSV2_API UserTurnSlotOutput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetValue() const{ return m_value; }
48 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
49 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
50 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
51 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
52 inline UserTurnSlotOutput& WithValue(const Aws::String& value) { SetValue(value); return *this;}
53 inline UserTurnSlotOutput& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
54 inline UserTurnSlotOutput& WithValue(const char* value) { SetValue(value); return *this;}
56
58
61 inline const Aws::Vector<UserTurnSlotOutput>& GetValues() const{ return m_values; }
62 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
63 inline void SetValues(const Aws::Vector<UserTurnSlotOutput>& value) { m_valuesHasBeenSet = true; m_values = value; }
64 inline void SetValues(Aws::Vector<UserTurnSlotOutput>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
65 inline UserTurnSlotOutput& WithValues(const Aws::Vector<UserTurnSlotOutput>& value) { SetValues(value); return *this;}
66 inline UserTurnSlotOutput& WithValues(Aws::Vector<UserTurnSlotOutput>&& value) { SetValues(std::move(value)); return *this;}
67 inline UserTurnSlotOutput& AddValues(const UserTurnSlotOutput& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
68 inline UserTurnSlotOutput& AddValues(UserTurnSlotOutput&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::Map<Aws::String, UserTurnSlotOutput>& GetSubSlots() const{ return m_subSlots; }
77 inline bool SubSlotsHasBeenSet() const { return m_subSlotsHasBeenSet; }
78 inline void SetSubSlots(const Aws::Map<Aws::String, UserTurnSlotOutput>& value) { m_subSlotsHasBeenSet = true; m_subSlots = value; }
79 inline void SetSubSlots(Aws::Map<Aws::String, UserTurnSlotOutput>&& value) { m_subSlotsHasBeenSet = true; m_subSlots = std::move(value); }
81 inline UserTurnSlotOutput& WithSubSlots(Aws::Map<Aws::String, UserTurnSlotOutput>&& value) { SetSubSlots(std::move(value)); return *this;}
82 inline UserTurnSlotOutput& AddSubSlots(const Aws::String& key, const UserTurnSlotOutput& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(key, value); return *this; }
83 inline UserTurnSlotOutput& AddSubSlots(Aws::String&& key, const UserTurnSlotOutput& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(std::move(key), value); return *this; }
84 inline UserTurnSlotOutput& AddSubSlots(const Aws::String& key, UserTurnSlotOutput&& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(key, std::move(value)); return *this; }
85 inline UserTurnSlotOutput& AddSubSlots(Aws::String&& key, UserTurnSlotOutput&& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(std::move(key), std::move(value)); return *this; }
86 inline UserTurnSlotOutput& AddSubSlots(const char* key, UserTurnSlotOutput&& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(key, std::move(value)); return *this; }
87 inline UserTurnSlotOutput& AddSubSlots(const char* key, const UserTurnSlotOutput& value) { m_subSlotsHasBeenSet = true; m_subSlots.emplace(key, value); return *this; }
89 private:
90
91 Aws::String m_value;
92 bool m_valueHasBeenSet = false;
93
95 bool m_valuesHasBeenSet = false;
96
98 bool m_subSlotsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace LexModelsV2
103} // namespace Aws
void SetValues(Aws::Vector< UserTurnSlotOutput > &&value)
UserTurnSlotOutput & AddValues(const UserTurnSlotOutput &value)
void SetValues(const Aws::Vector< UserTurnSlotOutput > &value)
AWS_LEXMODELSV2_API UserTurnSlotOutput(Aws::Utils::Json::JsonView jsonValue)
UserTurnSlotOutput & WithValues(Aws::Vector< UserTurnSlotOutput > &&value)
UserTurnSlotOutput & AddValues(UserTurnSlotOutput &&value)
void SetSubSlots(const Aws::Map< Aws::String, UserTurnSlotOutput > &value)
AWS_LEXMODELSV2_API UserTurnSlotOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
UserTurnSlotOutput & AddSubSlots(Aws::String &&key, const UserTurnSlotOutput &value)
UserTurnSlotOutput & AddSubSlots(const Aws::String &key, const UserTurnSlotOutput &value)
UserTurnSlotOutput & AddSubSlots(Aws::String &&key, UserTurnSlotOutput &&value)
UserTurnSlotOutput & WithValue(Aws::String &&value)
UserTurnSlotOutput & AddSubSlots(const char *key, UserTurnSlotOutput &&value)
const Aws::Map< Aws::String, UserTurnSlotOutput > & GetSubSlots() const
UserTurnSlotOutput & WithValues(const Aws::Vector< UserTurnSlotOutput > &value)
UserTurnSlotOutput & WithValue(const Aws::String &value)
void SetSubSlots(Aws::Map< Aws::String, UserTurnSlotOutput > &&value)
UserTurnSlotOutput & AddSubSlots(const Aws::String &key, UserTurnSlotOutput &&value)
UserTurnSlotOutput & WithSubSlots(const Aws::Map< Aws::String, UserTurnSlotOutput > &value)
UserTurnSlotOutput & WithValue(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
UserTurnSlotOutput & WithSubSlots(Aws::Map< Aws::String, UserTurnSlotOutput > &&value)
UserTurnSlotOutput & AddSubSlots(const char *key, const UserTurnSlotOutput &value)
const Aws::Vector< UserTurnSlotOutput > & GetValues() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue