7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/PostDialogCodeHookInvocationSpecification.h>
20namespace LexModelsV2 {
43 m_enableCodeHookInvocationHasBeenSet =
true;
44 m_enableCodeHookInvocation = value;
60 m_activeHasBeenSet =
true;
76 template <
typename InvocationLabelT = Aws::String>
78 m_invocationLabelHasBeenSet =
true;
79 m_invocationLabel = std::forward<InvocationLabelT>(value);
81 template <
typename InvocationLabelT = Aws::String>
95 template <
typename PostCodeHookSpecificationT = PostDialogCodeHookInvocationSpecification>
97 m_postCodeHookSpecificationHasBeenSet =
true;
98 m_postCodeHookSpecification = std::forward<PostCodeHookSpecificationT>(value);
100 template <
typename PostCodeHookSpecificationT = PostDialogCodeHookInvocationSpecification>
107 bool m_enableCodeHookInvocation{
false};
109 bool m_active{
false};
113 PostDialogCodeHookInvocationSpecification m_postCodeHookSpecification;
114 bool m_enableCodeHookInvocationHasBeenSet =
false;
115 bool m_activeHasBeenSet =
false;
116 bool m_invocationLabelHasBeenSet =
false;
117 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