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>
156 template <
typename Endpo
intUriT = Aws::String>
158 m_endpointUriHasBeenSet =
true;
159 m_endpointUri = std::forward<EndpointUriT>(value);
161 template <
typename Endpo
intUriT = Aws::String>
176 bool m_publish{
false};
181 bool m_idHasBeenSet =
false;
182 bool m_flowNameHasBeenSet =
false;
183 bool m_categoriesHasBeenSet =
false;
184 bool m_flowJsonHasBeenSet =
false;
185 bool m_publishHasBeenSet =
false;
186 bool m_cloneFlowIdHasBeenSet =
false;
187 bool m_endpointUriHasBeenSet =
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)
bool EndpointUriHasBeenSet() const
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
const Aws::String & GetEndpointUri() const
CreateWhatsAppFlowRequest & WithFlowJson(FlowJsonT &&value)
CreateWhatsAppFlowRequest & WithEndpointUri(EndpointUriT &&value)
CreateWhatsAppFlowRequest & WithFlowName(FlowNameT &&value)
const Aws::Utils::ByteBuffer & GetFlowJson() const
bool FlowJsonHasBeenSet() const
bool FlowNameHasBeenSet() const
CreateWhatsAppFlowRequest & WithCloneFlowId(CloneFlowIdT &&value)
bool CloneFlowIdHasBeenSet() const
void SetEndpointUri(EndpointUriT &&value)
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