7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/PostDialogCodeHookInvocationSpecification.h>
59 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
70 template<
typename InvocationLabelT = Aws::String>
71 void SetInvocationLabel(InvocationLabelT&& value) { m_invocationLabelHasBeenSet =
true; m_invocationLabel = std::forward<InvocationLabelT>(value); }
72 template<
typename InvocationLabelT = Aws::String>
83 template<
typename PostCodeHookSpecificationT = PostDialogCodeHookInvocationSpecification>
84 void SetPostCodeHookSpecification(PostCodeHookSpecificationT&& value) { m_postCodeHookSpecificationHasBeenSet =
true; m_postCodeHookSpecification = std::forward<PostCodeHookSpecificationT>(value); }
85 template<
typename PostCodeHookSpecificationT = PostDialogCodeHookInvocationSpecification>
90 bool m_enableCodeHookInvocation{
false};
91 bool m_enableCodeHookInvocationHasBeenSet =
false;
94 bool m_activeHasBeenSet =
false;
97 bool m_invocationLabelHasBeenSet =
false;
99 PostDialogCodeHookInvocationSpecification m_postCodeHookSpecification;
100 bool m_postCodeHookSpecificationHasBeenSet =
false;
AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting()=default
bool PostCodeHookSpecificationHasBeenSet() const
AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting(Aws::Utils::Json::JsonView jsonValue)
DialogCodeHookInvocationSetting & WithActive(bool value)
const Aws::String & GetInvocationLabel() const
bool EnableCodeHookInvocationHasBeenSet() const
const PostDialogCodeHookInvocationSpecification & GetPostCodeHookSpecification() const
void SetPostCodeHookSpecification(PostCodeHookSpecificationT &&value)
void SetInvocationLabel(InvocationLabelT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool InvocationLabelHasBeenSet() const
void SetActive(bool value)
bool GetEnableCodeHookInvocation() const
DialogCodeHookInvocationSetting & WithInvocationLabel(InvocationLabelT &&value)
DialogCodeHookInvocationSetting & WithEnableCodeHookInvocation(bool value)
DialogCodeHookInvocationSetting & WithPostCodeHookSpecification(PostCodeHookSpecificationT &&value)
AWS_LEXMODELSV2_API DialogCodeHookInvocationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActiveHasBeenSet() const
void SetEnableCodeHookInvocation(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue