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>
50 template<
typename SlotIdT = Aws::String>
51 void SetSlotId(SlotIdT&& value) { m_slotIdHasBeenSet =
true; m_slotId = std::forward<SlotIdT>(value); }
52 template<
typename SlotIdT = Aws::String>
62 template<
typename SlotNameT = Aws::String>
63 void SetSlotName(SlotNameT&& value) { m_slotNameHasBeenSet =
true; m_slotName = std::forward<SlotNameT>(value); }
64 template<
typename SlotNameT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
98 template<
typename SlotTypeIdT = Aws::String>
99 void SetSlotTypeId(SlotTypeIdT&& value) { m_slotTypeIdHasBeenSet =
true; m_slotTypeId = std::forward<SlotTypeIdT>(value); }
100 template<
typename SlotTypeIdT = Aws::String>
110 template<
typename ValueElicitationPromptSpecificationT = PromptSpecification>
111 void SetValueElicitationPromptSpecification(ValueElicitationPromptSpecificationT&& value) { m_valueElicitationPromptSpecificationHasBeenSet =
true; m_valueElicitationPromptSpecification = std::forward<ValueElicitationPromptSpecificationT>(value); }
112 template<
typename ValueElicitationPromptSpecificationT = PromptSpecification>
122 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
123 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
124 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
130 bool m_slotIdHasBeenSet =
false;
133 bool m_slotNameHasBeenSet =
false;
136 bool m_descriptionHasBeenSet =
false;
139 bool m_slotConstraintHasBeenSet =
false;
142 bool m_slotTypeIdHasBeenSet =
false;
144 PromptSpecification m_valueElicitationPromptSpecification;
145 bool m_valueElicitationPromptSpecificationHasBeenSet =
false;
148 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