7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/socialmessaging/SocialMessagingRequest.h>
11#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
12#include <aws/socialmessaging/model/MetaFlowCategory.h>
17namespace SocialMessaging {
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
59 template <
typename FlowNameT = Aws::String>
61 m_flowNameHasBeenSet =
true;
62 m_flowName = std::forward<FlowNameT>(value);
64 template <
typename FlowNameT = Aws::String>
78 template <
typename CategoriesT = Aws::Vector<MetaFlowCategory>>
80 m_categoriesHasBeenSet =
true;
81 m_categories = std::forward<CategoriesT>(value);
83 template <
typename CategoriesT = Aws::Vector<MetaFlowCategory>>
89 m_categoriesHasBeenSet =
true;
90 m_categories.push_back(value);
102 template <
typename FlowJsonT = Aws::Utils::ByteBuffer>
104 m_flowJsonHasBeenSet =
true;
105 m_flowJson = std::forward<FlowJsonT>(value);
107 template <
typename FlowJsonT = Aws::Utils::ByteBuffer>
122 m_publishHasBeenSet =
true;
138 template <
typename CloneFlowIdT = Aws::String>
140 m_cloneFlowIdHasBeenSet =
true;
141 m_cloneFlowId = std::forward<CloneFlowIdT>(value);
143 template <
typename CloneFlowIdT = Aws::String>
158 bool m_publish{
false};
161 bool m_idHasBeenSet =
false;
162 bool m_flowNameHasBeenSet =
false;
163 bool m_categoriesHasBeenSet =
false;
164 bool m_flowJsonHasBeenSet =
false;
165 bool m_publishHasBeenSet =
false;
166 bool m_cloneFlowIdHasBeenSet =
false;
void SetFlowJson(FlowJsonT &&value)
const Aws::String & GetFlowName() const
virtual const char * GetServiceRequestName() const override
CreateWhatsAppFlowRequest & WithPublish(bool value)
void SetCloneFlowId(CloneFlowIdT &&value)
void SetFlowName(FlowNameT &&value)
CreateWhatsAppFlowRequest & WithCategories(CategoriesT &&value)
AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override
const Aws::String & GetCloneFlowId() const
void SetCategories(CategoriesT &&value)
AWS_SOCIALMESSAGING_API CreateWhatsAppFlowRequest()=default
bool CategoriesHasBeenSet() const
const Aws::Vector< MetaFlowCategory > & GetCategories() const
void SetPublish(bool value)
CreateWhatsAppFlowRequest & WithId(IdT &&value)
const Aws::String & GetId() const
bool PublishHasBeenSet() const
CreateWhatsAppFlowRequest & WithFlowJson(FlowJsonT &&value)
CreateWhatsAppFlowRequest & WithFlowName(FlowNameT &&value)
const Aws::Utils::ByteBuffer & GetFlowJson() const
bool FlowJsonHasBeenSet() const
bool FlowNameHasBeenSet() const
CreateWhatsAppFlowRequest & WithCloneFlowId(CloneFlowIdT &&value)
bool CloneFlowIdHasBeenSet() const
bool IdHasBeenSet() const
CreateWhatsAppFlowRequest & AddCategories(MetaFlowCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector