7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/model/CustomActionAttachmentCriteria.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename NotificationTypeT = Aws::String>
46 m_notificationTypeHasBeenSet =
true;
47 m_notificationType = std::forward<NotificationTypeT>(value);
49 template <
typename NotificationTypeT = Aws::String>
62 template <
typename ButtonTextT = Aws::String>
64 m_buttonTextHasBeenSet =
true;
65 m_buttonText = std::forward<ButtonTextT>(value);
67 template <
typename ButtonTextT = Aws::String>
81 template <
typename CriteriaT = Aws::Vector<CustomActionAttachmentCriteria>>
83 m_criteriaHasBeenSet =
true;
84 m_criteria = std::forward<CriteriaT>(value);
86 template <
typename CriteriaT = Aws::Vector<CustomActionAttachmentCriteria>>
91 template <
typename CriteriaT = CustomActionAttachmentCriteria>
93 m_criteriaHasBeenSet =
true;
94 m_criteria.emplace_back(std::forward<CriteriaT>(value));
105 template <
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
107 m_variablesHasBeenSet =
true;
108 m_variables = std::forward<VariablesT>(value);
110 template <
typename VariablesT = Aws::Map<Aws::String, Aws::String>>
115 template <
typename VariablesKeyT = Aws::String,
typename VariablesValueT = Aws::String>
117 m_variablesHasBeenSet =
true;
118 m_variables.emplace(std::forward<VariablesKeyT>(key), std::forward<VariablesValueT>(value));
130 bool m_notificationTypeHasBeenSet =
false;
131 bool m_buttonTextHasBeenSet =
false;
132 bool m_criteriaHasBeenSet =
false;
133 bool m_variablesHasBeenSet =
false;
bool CriteriaHasBeenSet() const
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHATBOT_API CustomActionAttachment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CustomActionAttachmentCriteria > & GetCriteria() const
const Aws::String & GetButtonText() const
void SetCriteria(CriteriaT &&value)
CustomActionAttachment & WithVariables(VariablesT &&value)
const Aws::String & GetNotificationType() const
CustomActionAttachment & AddCriteria(CriteriaT &&value)
void SetNotificationType(NotificationTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetVariables() const
CustomActionAttachment & WithButtonText(ButtonTextT &&value)
void SetVariables(VariablesT &&value)
CustomActionAttachment & WithCriteria(CriteriaT &&value)
AWS_CHATBOT_API CustomActionAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomActionAttachment & AddVariables(VariablesKeyT &&key, VariablesValueT &&value)
bool NotificationTypeHasBeenSet() const
CustomActionAttachment & WithNotificationType(NotificationTypeT &&value)
AWS_CHATBOT_API CustomActionAttachment()=default
void SetButtonText(ButtonTextT &&value)
bool VariablesHasBeenSet() const
bool ButtonTextHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue