AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotSummary.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/lexv2-models/model/SlotConstraint.h>
10#include <aws/lexv2-models/model/PromptSpecification.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API SlotSummary();
39 AWS_LEXMODELSV2_API SlotSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API SlotSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetSlotId() const{ return m_slotId; }
49 inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; }
50 inline void SetSlotId(const Aws::String& value) { m_slotIdHasBeenSet = true; m_slotId = value; }
51 inline void SetSlotId(Aws::String&& value) { m_slotIdHasBeenSet = true; m_slotId = std::move(value); }
52 inline void SetSlotId(const char* value) { m_slotIdHasBeenSet = true; m_slotId.assign(value); }
53 inline SlotSummary& WithSlotId(const Aws::String& value) { SetSlotId(value); return *this;}
54 inline SlotSummary& WithSlotId(Aws::String&& value) { SetSlotId(std::move(value)); return *this;}
55 inline SlotSummary& WithSlotId(const char* value) { SetSlotId(value); return *this;}
57
59
62 inline const Aws::String& GetSlotName() const{ return m_slotName; }
63 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
64 inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; }
65 inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); }
66 inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); }
67 inline SlotSummary& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
68 inline SlotSummary& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
69 inline SlotSummary& WithSlotName(const char* value) { SetSlotName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline SlotSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline SlotSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline SlotSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
91 inline const SlotConstraint& GetSlotConstraint() const{ return m_slotConstraint; }
92 inline bool SlotConstraintHasBeenSet() const { return m_slotConstraintHasBeenSet; }
93 inline void SetSlotConstraint(const SlotConstraint& value) { m_slotConstraintHasBeenSet = true; m_slotConstraint = value; }
94 inline void SetSlotConstraint(SlotConstraint&& value) { m_slotConstraintHasBeenSet = true; m_slotConstraint = std::move(value); }
95 inline SlotSummary& WithSlotConstraint(const SlotConstraint& value) { SetSlotConstraint(value); return *this;}
96 inline SlotSummary& WithSlotConstraint(SlotConstraint&& value) { SetSlotConstraint(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetSlotTypeId() const{ return m_slotTypeId; }
105 inline bool SlotTypeIdHasBeenSet() const { return m_slotTypeIdHasBeenSet; }
106 inline void SetSlotTypeId(const Aws::String& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = value; }
107 inline void SetSlotTypeId(Aws::String&& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = std::move(value); }
108 inline void SetSlotTypeId(const char* value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId.assign(value); }
109 inline SlotSummary& WithSlotTypeId(const Aws::String& value) { SetSlotTypeId(value); return *this;}
110 inline SlotSummary& WithSlotTypeId(Aws::String&& value) { SetSlotTypeId(std::move(value)); return *this;}
111 inline SlotSummary& WithSlotTypeId(const char* value) { SetSlotTypeId(value); return *this;}
113
115
118 inline const PromptSpecification& GetValueElicitationPromptSpecification() const{ return m_valueElicitationPromptSpecification; }
119 inline bool ValueElicitationPromptSpecificationHasBeenSet() const { return m_valueElicitationPromptSpecificationHasBeenSet; }
120 inline void SetValueElicitationPromptSpecification(const PromptSpecification& value) { m_valueElicitationPromptSpecificationHasBeenSet = true; m_valueElicitationPromptSpecification = value; }
121 inline void SetValueElicitationPromptSpecification(PromptSpecification&& value) { m_valueElicitationPromptSpecificationHasBeenSet = true; m_valueElicitationPromptSpecification = std::move(value); }
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
131 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
132 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
133 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
135 inline SlotSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
137 private:
138
139 Aws::String m_slotId;
140 bool m_slotIdHasBeenSet = false;
141
142 Aws::String m_slotName;
143 bool m_slotNameHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 SlotConstraint m_slotConstraint;
149 bool m_slotConstraintHasBeenSet = false;
150
151 Aws::String m_slotTypeId;
152 bool m_slotTypeIdHasBeenSet = false;
153
154 PromptSpecification m_valueElicitationPromptSpecification;
155 bool m_valueElicitationPromptSpecificationHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastUpdatedDateTime;
158 bool m_lastUpdatedDateTimeHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace LexModelsV2
163} // namespace Aws
void SetValueElicitationPromptSpecification(const PromptSpecification &value)
SlotSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSlotId() const
Definition SlotSummary.h:48
SlotSummary & WithDescription(Aws::String &&value)
Definition SlotSummary.h:82
void SetSlotId(Aws::String &&value)
Definition SlotSummary.h:51
SlotSummary & WithSlotTypeId(const char *value)
void SetSlotId(const char *value)
Definition SlotSummary.h:52
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetSlotConstraint(const SlotConstraint &value)
Definition SlotSummary.h:93
const PromptSpecification & GetValueElicitationPromptSpecification() const
SlotSummary & WithDescription(const char *value)
Definition SlotSummary.h:83
void SetSlotName(const char *value)
Definition SlotSummary.h:66
SlotSummary & WithValueElicitationPromptSpecification(PromptSpecification &&value)
SlotSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
SlotSummary & WithSlotConstraint(const SlotConstraint &value)
Definition SlotSummary.h:95
SlotSummary & WithSlotId(const char *value)
Definition SlotSummary.h:55
void SetSlotTypeId(Aws::String &&value)
void SetDescription(Aws::String &&value)
Definition SlotSummary.h:79
SlotSummary & WithSlotName(const char *value)
Definition SlotSummary.h:69
bool ValueElicitationPromptSpecificationHasBeenSet() const
void SetSlotConstraint(SlotConstraint &&value)
Definition SlotSummary.h:94
AWS_LEXMODELSV2_API SlotSummary()
SlotSummary & WithSlotId(Aws::String &&value)
Definition SlotSummary.h:54
SlotSummary & WithSlotTypeId(Aws::String &&value)
const Aws::String & GetSlotTypeId() const
SlotSummary & WithSlotTypeId(const Aws::String &value)
void SetDescription(const Aws::String &value)
Definition SlotSummary.h:78
SlotSummary & WithSlotConstraint(SlotConstraint &&value)
Definition SlotSummary.h:96
SlotSummary & WithDescription(const Aws::String &value)
Definition SlotSummary.h:81
void SetSlotId(const Aws::String &value)
Definition SlotSummary.h:50
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetDescription(const char *value)
Definition SlotSummary.h:80
SlotSummary & WithSlotName(Aws::String &&value)
Definition SlotSummary.h:68
AWS_LEXMODELSV2_API SlotSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSlotName(const Aws::String &value)
Definition SlotSummary.h:64
void SetSlotName(Aws::String &&value)
Definition SlotSummary.h:65
AWS_LEXMODELSV2_API SlotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const SlotConstraint & GetSlotConstraint() const
Definition SlotSummary.h:91
SlotSummary & WithSlotId(const Aws::String &value)
Definition SlotSummary.h:53
const Aws::String & GetDescription() const
Definition SlotSummary.h:76
void SetValueElicitationPromptSpecification(PromptSpecification &&value)
SlotSummary & WithSlotName(const Aws::String &value)
Definition SlotSummary.h:67
void SetSlotTypeId(const char *value)
void SetSlotTypeId(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSlotName() const
Definition SlotSummary.h:62
SlotSummary & WithValueElicitationPromptSpecification(const PromptSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue