7#include <aws/chatbot/Chatbot_EXPORTS.h>
8#include <aws/chatbot/ChatbotRequest.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>
12#include <aws/chatbot/model/CustomActionAttachment.h>
13#include <aws/chatbot/model/Tag.h>
15#include <aws/core/utils/UUID.h>
47 template<
typename DefinitionT = CustomActionDefinition>
48 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
49 template<
typename DefinitionT = CustomActionDefinition>
60 template<
typename AliasNameT = Aws::String>
61 void SetAliasName(AliasNameT&& value) { m_aliasNameHasBeenSet =
true; m_aliasName = std::forward<AliasNameT>(value); }
62 template<
typename AliasNameT = Aws::String>
73 template<
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
74 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet =
true; m_attachments = std::forward<AttachmentsT>(value); }
75 template<
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
77 template<
typename AttachmentsT = CustomActionAttachment>
88 template<
typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
90 template<
typename TagsT = Aws::Vector<Tag>>
92 template<
typename TagsT = Tag>
107 template<
typename ClientTokenT = Aws::String>
108 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
109 template<
typename ClientTokenT = Aws::String>
120 template<
typename ActionNameT = Aws::String>
121 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
122 template<
typename ActionNameT = Aws::String>
128 bool m_definitionHasBeenSet =
false;
131 bool m_aliasNameHasBeenSet =
false;
134 bool m_attachmentsHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
140 bool m_clientTokenHasBeenSet =
true;
143 bool m_actionNameHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateCustomActionRequest & WithDefinition(DefinitionT &&value)
void SetDefinition(DefinitionT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetActionName() const
const Aws::Vector< Tag > & GetTags() const
AWS_CHATBOT_API CreateCustomActionRequest()=default
void SetAttachments(AttachmentsT &&value)
AWS_CHATBOT_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateCustomActionRequest & WithClientToken(ClientTokenT &&value)
bool AttachmentsHasBeenSet() const
bool DefinitionHasBeenSet() const
bool ActionNameHasBeenSet() const
bool AliasNameHasBeenSet() const
bool TagsHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateCustomActionRequest & WithActionName(ActionNameT &&value)
CreateCustomActionRequest & WithAttachments(AttachmentsT &&value)
CreateCustomActionRequest & AddAttachments(AttachmentsT &&value)
const Aws::String & GetClientToken() const
CreateCustomActionRequest & WithAliasName(AliasNameT &&value)
void SetAliasName(AliasNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateCustomActionRequest & WithTags(TagsT &&value)
void SetActionName(ActionNameT &&value)
const Aws::String & GetAliasName() const
CreateCustomActionRequest & AddTags(TagsT &&value)
const Aws::Vector< CustomActionAttachment > & GetAttachments() const
const CustomActionDefinition & GetDefinition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector