AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubSlotSetting.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/Specifications.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 SubSlotSetting();
38 AWS_LEXMODELSV2_API SubSlotSetting(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API SubSlotSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetExpression() const{ return m_expression; }
49 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
50 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
51 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
52 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
53 inline SubSlotSetting& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
54 inline SubSlotSetting& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
55 inline SubSlotSetting& WithExpression(const char* value) { SetExpression(value); return *this;}
57
59
62 inline const Aws::Map<Aws::String, Specifications>& GetSlotSpecifications() const{ return m_slotSpecifications; }
63 inline bool SlotSpecificationsHasBeenSet() const { return m_slotSpecificationsHasBeenSet; }
64 inline void SetSlotSpecifications(const Aws::Map<Aws::String, Specifications>& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications = value; }
65 inline void SetSlotSpecifications(Aws::Map<Aws::String, Specifications>&& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications = std::move(value); }
68 inline SubSlotSetting& AddSlotSpecifications(const Aws::String& key, const Specifications& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(key, value); return *this; }
69 inline SubSlotSetting& AddSlotSpecifications(Aws::String&& key, const Specifications& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(std::move(key), value); return *this; }
70 inline SubSlotSetting& AddSlotSpecifications(const Aws::String& key, Specifications&& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(key, std::move(value)); return *this; }
71 inline SubSlotSetting& AddSlotSpecifications(Aws::String&& key, Specifications&& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(std::move(key), std::move(value)); return *this; }
72 inline SubSlotSetting& AddSlotSpecifications(const char* key, Specifications&& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(key, std::move(value)); return *this; }
73 inline SubSlotSetting& AddSlotSpecifications(const char* key, const Specifications& value) { m_slotSpecificationsHasBeenSet = true; m_slotSpecifications.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_expression;
78 bool m_expressionHasBeenSet = false;
79
80 Aws::Map<Aws::String, Specifications> m_slotSpecifications;
81 bool m_slotSpecificationsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace LexModelsV2
86} // namespace Aws
SubSlotSetting & AddSlotSpecifications(Aws::String &&key, const Specifications &value)
void SetExpression(Aws::String &&value)
SubSlotSetting & AddSlotSpecifications(const char *key, const Specifications &value)
SubSlotSetting & WithSlotSpecifications(Aws::Map< Aws::String, Specifications > &&value)
const Aws::String & GetExpression() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SubSlotSetting & AddSlotSpecifications(const char *key, Specifications &&value)
SubSlotSetting & AddSlotSpecifications(Aws::String &&key, Specifications &&value)
void SetExpression(const Aws::String &value)
SubSlotSetting & WithExpression(Aws::String &&value)
const Aws::Map< Aws::String, Specifications > & GetSlotSpecifications() const
SubSlotSetting & WithSlotSpecifications(const Aws::Map< Aws::String, Specifications > &value)
SubSlotSetting & AddSlotSpecifications(const Aws::String &key, const Specifications &value)
AWS_LEXMODELSV2_API SubSlotSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSlotSpecifications(const Aws::Map< Aws::String, Specifications > &value)
SubSlotSetting & WithExpression(const Aws::String &value)
AWS_LEXMODELSV2_API SubSlotSetting(Aws::Utils::Json::JsonView jsonValue)
SubSlotSetting & AddSlotSpecifications(const Aws::String &key, Specifications &&value)
void SetSlotSpecifications(Aws::Map< Aws::String, Specifications > &&value)
SubSlotSetting & WithExpression(const char *value)
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