7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/model/CustomActionAttachment.h>
9#include <aws/chatbot/model/CustomActionDefinition.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename CustomActionArnT = Aws::String>
46 m_customActionArnHasBeenSet =
true;
47 m_customActionArn = std::forward<CustomActionArnT>(value);
49 template <
typename CustomActionArnT = Aws::String>
63 template <
typename DefinitionT = CustomActionDefinition>
65 m_definitionHasBeenSet =
true;
66 m_definition = std::forward<DefinitionT>(value);
68 template <
typename DefinitionT = CustomActionDefinition>
82 template <
typename AliasNameT = Aws::String>
84 m_aliasNameHasBeenSet =
true;
85 m_aliasName = std::forward<AliasNameT>(value);
87 template <
typename AliasNameT = Aws::String>
101 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
103 m_attachmentsHasBeenSet =
true;
104 m_attachments = std::forward<AttachmentsT>(value);
106 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
111 template <
typename AttachmentsT = CustomActionAttachment>
113 m_attachmentsHasBeenSet =
true;
114 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
125 template <
typename ActionNameT = Aws::String>
127 m_actionNameHasBeenSet =
true;
128 m_actionName = std::forward<ActionNameT>(value);
130 template <
typename ActionNameT = Aws::String>
146 bool m_customActionArnHasBeenSet =
false;
147 bool m_definitionHasBeenSet =
false;
148 bool m_aliasNameHasBeenSet =
false;
149 bool m_attachmentsHasBeenSet =
false;
150 bool m_actionNameHasBeenSet =
false;
CustomAction & WithDefinition(DefinitionT &&value)
AWS_CHATBOT_API CustomAction()=default
CustomAction & WithAliasName(AliasNameT &&value)
const Aws::String & GetActionName() const
AWS_CHATBOT_API CustomAction(Aws::Utils::Json::JsonView jsonValue)
bool AliasNameHasBeenSet() const
const Aws::Vector< CustomActionAttachment > & GetAttachments() const
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAliasName() const
CustomAction & WithCustomActionArn(CustomActionArnT &&value)
CustomAction & WithActionName(ActionNameT &&value)
void SetActionName(ActionNameT &&value)
AWS_CHATBOT_API CustomAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomActionDefinition & GetDefinition() const
void SetAttachments(AttachmentsT &&value)
const Aws::String & GetCustomActionArn() const
bool ActionNameHasBeenSet() const
void SetCustomActionArn(CustomActionArnT &&value)
CustomAction & WithAttachments(AttachmentsT &&value)
bool DefinitionHasBeenSet() const
CustomAction & AddAttachments(AttachmentsT &&value)
bool AttachmentsHasBeenSet() const
void SetDefinition(DefinitionT &&value)
void SetAliasName(AliasNameT &&value)
bool CustomActionArnHasBeenSet() 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