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/chatbot/model/Tag.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename DefinitionT = CustomActionDefinition>
45 m_definitionHasBeenSet =
true;
46 m_definition = std::forward<DefinitionT>(value);
48 template <
typename DefinitionT = CustomActionDefinition>
62 template <
typename AliasNameT = Aws::String>
64 m_aliasNameHasBeenSet =
true;
65 m_aliasName = std::forward<AliasNameT>(value);
67 template <
typename AliasNameT = Aws::String>
81 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
83 m_attachmentsHasBeenSet =
true;
84 m_attachments = std::forward<AttachmentsT>(value);
86 template <
typename AttachmentsT = Aws::Vector<CustomActionAttachment>>
91 template <
typename AttachmentsT = CustomActionAttachment>
93 m_attachmentsHasBeenSet =
true;
94 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
106 template <
typename TagsT = Aws::Vector<Tag>>
108 m_tagsHasBeenSet =
true;
109 m_tags = std::forward<TagsT>(value);
111 template <
typename TagsT = Aws::Vector<Tag>>
113 SetTags(std::forward<TagsT>(value));
116 template <
typename TagsT = Tag>
118 m_tagsHasBeenSet =
true;
119 m_tags.emplace_back(std::forward<TagsT>(value));
135 template <
typename ClientTokenT = Aws::String>
137 m_clientTokenHasBeenSet =
true;
138 m_clientToken = std::forward<ClientTokenT>(value);
140 template <
typename ClientTokenT = Aws::String>
154 template <
typename ActionNameT = Aws::String>
156 m_actionNameHasBeenSet =
true;
157 m_actionName = std::forward<ActionNameT>(value);
159 template <
typename ActionNameT = Aws::String>
167 bool m_definitionHasBeenSet =
false;
170 bool m_aliasNameHasBeenSet =
false;
173 bool m_attachmentsHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
179 bool m_clientTokenHasBeenSet =
true;
182 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