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/DateTime.h>
11#include <aws/lexv2-models/model/InputContext.h>
12#include <aws/lexv2-models/model/OutputContext.h>
52 template<
typename IntentIdT = Aws::String>
53 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet =
true; m_intentId = std::forward<IntentIdT>(value); }
54 template<
typename IntentIdT = Aws::String>
64 template<
typename IntentNameT = Aws::String>
65 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
66 template<
typename IntentNameT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
89 template<
typename ParentIntentSignatureT = Aws::String>
90 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
91 template<
typename ParentIntentSignatureT = Aws::String>
102 template<
typename InputContextsT = Aws::Vector<InputContext>>
103 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
104 template<
typename InputContextsT = Aws::Vector<InputContext>>
106 template<
typename InputContextsT = InputContext>
107 IntentSummary&
AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
return *
this; }
116 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
117 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
118 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
120 template<
typename OutputContextsT = OutputContext>
121 IntentSummary&
AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
return *
this; }
130 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
131 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
132 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 bool m_intentIdHasBeenSet =
false;
141 bool m_intentNameHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
147 bool m_parentIntentSignatureHasBeenSet =
false;
150 bool m_inputContextsHasBeenSet =
false;
153 bool m_outputContextsHasBeenSet =
false;
156 bool m_lastUpdatedDateTimeHasBeenSet =
false;
IntentSummary & WithParentIntentSignature(ParentIntentSignatureT &&value)
AWS_LEXMODELSV2_API IntentSummary(Aws::Utils::Json::JsonView jsonValue)
bool IntentNameHasBeenSet() const
const Aws::String & GetIntentName() const
bool DescriptionHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
const Aws::String & GetIntentId() const
void SetDescription(DescriptionT &&value)
void SetIntentId(IntentIdT &&value)
void SetInputContexts(InputContextsT &&value)
bool OutputContextsHasBeenSet() const
IntentSummary & AddInputContexts(InputContextsT &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
bool IntentIdHasBeenSet() const
bool ParentIntentSignatureHasBeenSet() const
IntentSummary & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API IntentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetDescription() const
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetOutputContexts(OutputContextsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API IntentSummary()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentSummary & AddOutputContexts(OutputContextsT &&value)
const Aws::String & GetParentIntentSignature() const
const Aws::Vector< InputContext > & GetInputContexts() const
IntentSummary & WithIntentId(IntentIdT &&value)
IntentSummary & WithOutputContexts(OutputContextsT &&value)
IntentSummary & WithIntentName(IntentNameT &&value)
IntentSummary & WithInputContexts(InputContextsT &&value)
void SetIntentName(IntentNameT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool InputContextsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue