7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/PromptSpecification.h>
11#include <aws/lexv2-models/model/SlotConstraint.h>
22namespace LexModelsV2 {
44 template <
typename SlotIdT = Aws::String>
46 m_slotIdHasBeenSet =
true;
47 m_slotId = std::forward<SlotIdT>(value);
49 template <
typename SlotIdT = Aws::String>
62 template <
typename SlotNameT = Aws::String>
64 m_slotNameHasBeenSet =
true;
65 m_slotName = std::forward<SlotNameT>(value);
67 template <
typename SlotNameT = Aws::String>
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
100 m_slotConstraintHasBeenSet =
true;
101 m_slotConstraint = value;
116 template <
typename SlotTypeIdT = Aws::String>
118 m_slotTypeIdHasBeenSet =
true;
119 m_slotTypeId = std::forward<SlotTypeIdT>(value);
121 template <
typename SlotTypeIdT = Aws::String>
134 template <
typename ValueElicitationPromptSpecificationT = PromptSpecification>
136 m_valueElicitationPromptSpecificationHasBeenSet =
true;
137 m_valueElicitationPromptSpecification = std::forward<ValueElicitationPromptSpecificationT>(value);
139 template <
typename ValueElicitationPromptSpecificationT = PromptSpecification>
152 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
154 m_lastUpdatedDateTimeHasBeenSet =
true;
155 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
157 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
174 PromptSpecification m_valueElicitationPromptSpecification;
177 bool m_slotIdHasBeenSet =
false;
178 bool m_slotNameHasBeenSet =
false;
179 bool m_descriptionHasBeenSet =
false;
180 bool m_slotConstraintHasBeenSet =
false;
181 bool m_slotTypeIdHasBeenSet =
false;
182 bool m_valueElicitationPromptSpecificationHasBeenSet =
false;
183 bool m_lastUpdatedDateTimeHasBeenSet =
false;
SlotSummary & WithSlotId(SlotIdT &&value)
bool SlotIdHasBeenSet() const
SlotSummary & WithSlotTypeId(SlotTypeIdT &&value)
const Aws::String & GetSlotId() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SlotTypeIdHasBeenSet() const
const PromptSpecification & GetValueElicitationPromptSpecification() const
SlotSummary & WithValueElicitationPromptSpecification(ValueElicitationPromptSpecificationT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
void SetValueElicitationPromptSpecification(ValueElicitationPromptSpecificationT &&value)
SlotSummary & WithSlotName(SlotNameT &&value)
SlotSummary & WithSlotConstraint(SlotConstraint value)
AWS_LEXMODELSV2_API SlotSummary()=default
bool ValueElicitationPromptSpecificationHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotTypeId() const
void SetSlotTypeId(SlotTypeIdT &&value)
void SetSlotName(SlotNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API SlotSummary(Aws::Utils::Json::JsonView jsonValue)
SlotSummary & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API SlotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SlotNameHasBeenSet() const
void SetSlotConstraint(SlotConstraint value)
SlotConstraint GetSlotConstraint() const
bool SlotConstraintHasBeenSet() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
SlotSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotName() const
void SetSlotId(SlotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue