7#include <aws/chatbot/ChatbotRequest.h>
8#include <aws/chatbot/Chatbot_EXPORTS.h>
9#include <aws/chatbot/model/CustomActionAttachment.h>
10#include <aws/chatbot/model/CustomActionDefinition.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
40 template <
typename CustomActionArnT = Aws::String>
42 m_customActionArnHasBeenSet =
true;
43 m_customActionArn = std::forward<CustomActionArnT>(value);
45 template <
typename CustomActionArnT = Aws::String>
59 template <
typename DefinitionT = CustomActionDefinition>
61 m_definitionHasBeenSet =
true;
62 m_definition = std::forward<DefinitionT>(value);
64 template <
typename DefinitionT = CustomActionDefinition>
78 template <
typename AliasNameT = Aws::String>
80 m_aliasNameHasBeenSet =
true;
81 m_aliasName = std::forward<AliasNameT>(value);
83 template <
typename AliasNameT = Aws::String>
97 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
99 m_attachmentsHasBeenSet =
true;
100 m_attachments = std::forward<AttachmentsT>(value);
102 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
107 template <
typename AttachmentsT = CustomActionAttachment>
109 m_attachmentsHasBeenSet =
true;
110 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
116 bool m_customActionArnHasBeenSet =
false;
119 bool m_definitionHasBeenSet =
false;
122 bool m_aliasNameHasBeenSet =
false;
125 bool m_attachmentsHasBeenSet =
false;
UpdateCustomActionRequest & WithDefinition(DefinitionT &&value)
UpdateCustomActionRequest & WithCustomActionArn(CustomActionArnT &&value)
void SetAliasName(AliasNameT &&value)
void SetAttachments(AttachmentsT &&value)
AWS_CHATBOT_API UpdateCustomActionRequest()=default
void SetCustomActionArn(CustomActionArnT &&value)
UpdateCustomActionRequest & WithAttachments(AttachmentsT &&value)
bool CustomActionArnHasBeenSet() const
bool AliasNameHasBeenSet() const
UpdateCustomActionRequest & AddAttachments(AttachmentsT &&value)
const Aws::Vector< CustomActionAttachment > & GetAttachments() const
bool DefinitionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const CustomActionDefinition & GetDefinition() const
void SetDefinition(DefinitionT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
bool AttachmentsHasBeenSet() const
const Aws::String & GetCustomActionArn() const
UpdateCustomActionRequest & WithAliasName(AliasNameT &&value)
const Aws::String & GetAliasName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector