7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
11#include <aws/socialmessaging/model/MetaFlowApplicationInfo.h>
12#include <aws/socialmessaging/model/MetaFlowCategory.h>
13#include <aws/socialmessaging/model/MetaFlowHealthStatus.h>
14#include <aws/socialmessaging/model/MetaFlowPreviewInfo.h>
15#include <aws/socialmessaging/model/MetaFlowWhatsAppBusinessAccountInfo.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace SocialMessaging {
41 template <
typename FlowIdT = Aws::String>
43 m_flowIdHasBeenSet =
true;
44 m_flowId = std::forward<FlowIdT>(value);
46 template <
typename FlowIdT = Aws::String>
58 template <
typename FlowNameT = Aws::String>
60 m_flowNameHasBeenSet =
true;
61 m_flowName = std::forward<FlowNameT>(value);
63 template <
typename FlowNameT = Aws::String>
76 template <
typename FlowStatusT = Aws::String>
78 m_flowStatusHasBeenSet =
true;
79 m_flowStatus = std::forward<FlowStatusT>(value);
81 template <
typename FlowStatusT = Aws::String>
93 template <
typename CategoriesT = Aws::Vector<MetaFlowCategory>>
95 m_categoriesHasBeenSet =
true;
96 m_categories = std::forward<CategoriesT>(value);
98 template <
typename CategoriesT = Aws::Vector<MetaFlowCategory>>
104 m_categoriesHasBeenSet =
true;
105 m_categories.push_back(value);
115 template <
typename Val
idationErrorsT = Aws::Vector<Aws::String>>
117 m_validationErrorsHasBeenSet =
true;
118 m_validationErrors = std::forward<ValidationErrorsT>(value);
120 template <
typename Val
idationErrorsT = Aws::Vector<Aws::String>>
125 template <
typename Val
idationErrorsT = Aws::String>
127 m_validationErrorsHasBeenSet =
true;
128 m_validationErrors.emplace_back(std::forward<ValidationErrorsT>(value));
138 template <
typename JsonVersionT = Aws::String>
140 m_jsonVersionHasBeenSet =
true;
141 m_jsonVersion = std::forward<JsonVersionT>(value);
143 template <
typename JsonVersionT = Aws::String>
155 template <
typename DataApiVersionT = Aws::String>
157 m_dataApiVersionHasBeenSet =
true;
158 m_dataApiVersion = std::forward<DataApiVersionT>(value);
160 template <
typename DataApiVersionT = Aws::String>
172 template <
typename Endpo
intUriT = Aws::String>
174 m_endpointUriHasBeenSet =
true;
175 m_endpointUri = std::forward<EndpointUriT>(value);
177 template <
typename Endpo
intUriT = Aws::String>
189 template <
typename PreviewT = MetaFlowPreviewInfo>
191 m_previewHasBeenSet =
true;
192 m_preview = std::forward<PreviewT>(value);
194 template <
typename PreviewT = MetaFlowPreviewInfo>
207 template <
typename WhatsAppBusinessAccountT = MetaFlowWhatsAppBusinessAccountInfo>
209 m_whatsAppBusinessAccountHasBeenSet =
true;
210 m_whatsAppBusinessAccount = std::forward<WhatsAppBusinessAccountT>(value);
212 template <
typename WhatsAppBusinessAccountT = MetaFlowWhatsAppBusinessAccountInfo>
224 template <
typename ApplicationT = MetaFlowApplicationInfo>
226 m_applicationHasBeenSet =
true;
227 m_application = std::forward<ApplicationT>(value);
229 template <
typename ApplicationT = MetaFlowApplicationInfo>
241 template <
typename HealthStatusT = MetaFlowHealthStatus>
243 m_healthStatusHasBeenSet =
true;
244 m_healthStatus = std::forward<HealthStatusT>(value);
246 template <
typename HealthStatusT = MetaFlowHealthStatus>
256 template <
typename RequestIdT = Aws::String>
258 m_requestIdHasBeenSet =
true;
259 m_requestId = std::forward<RequestIdT>(value);
261 template <
typename RequestIdT = Aws::String>
296 bool m_flowIdHasBeenSet =
false;
297 bool m_flowNameHasBeenSet =
false;
298 bool m_flowStatusHasBeenSet =
false;
299 bool m_categoriesHasBeenSet =
false;
300 bool m_validationErrorsHasBeenSet =
false;
301 bool m_jsonVersionHasBeenSet =
false;
302 bool m_dataApiVersionHasBeenSet =
false;
303 bool m_endpointUriHasBeenSet =
false;
304 bool m_previewHasBeenSet =
false;
305 bool m_whatsAppBusinessAccountHasBeenSet =
false;
306 bool m_applicationHasBeenSet =
false;
307 bool m_healthStatusHasBeenSet =
false;
308 bool m_requestIdHasBeenSet =
false;
void SetDataApiVersion(DataApiVersionT &&value)
void SetFlowName(FlowNameT &&value)
GetWhatsAppFlowResult & WithWhatsAppBusinessAccount(WhatsAppBusinessAccountT &&value)
const Aws::String & GetJsonVersion() const
GetWhatsAppFlowResult & WithValidationErrors(ValidationErrorsT &&value)
AWS_SOCIALMESSAGING_API GetWhatsAppFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetWhatsAppBusinessAccount(WhatsAppBusinessAccountT &&value)
GetWhatsAppFlowResult & WithFlowId(FlowIdT &&value)
GetWhatsAppFlowResult & WithEndpointUri(EndpointUriT &&value)
AWS_SOCIALMESSAGING_API GetWhatsAppFlowResult()=default
const MetaFlowHealthStatus & GetHealthStatus() const
const Aws::String & GetEndpointUri() const
void SetEndpointUri(EndpointUriT &&value)
const Aws::Vector< MetaFlowCategory > & GetCategories() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetFlowStatus() const
const Aws::String & GetFlowId() const
void SetValidationErrors(ValidationErrorsT &&value)
const Aws::String & GetDataApiVersion() const
const Aws::Vector< Aws::String > & GetValidationErrors() const
GetWhatsAppFlowResult & AddValidationErrors(ValidationErrorsT &&value)
GetWhatsAppFlowResult & WithPreview(PreviewT &&value)
void SetCategories(CategoriesT &&value)
const MetaFlowApplicationInfo & GetApplication() const
void SetJsonVersion(JsonVersionT &&value)
void SetPreview(PreviewT &&value)
void SetApplication(ApplicationT &&value)
GetWhatsAppFlowResult & WithFlowStatus(FlowStatusT &&value)
AWS_SOCIALMESSAGING_API GetWhatsAppFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFlowStatus(FlowStatusT &&value)
const MetaFlowWhatsAppBusinessAccountInfo & GetWhatsAppBusinessAccount() const
GetWhatsAppFlowResult & WithRequestId(RequestIdT &&value)
GetWhatsAppFlowResult & WithFlowName(FlowNameT &&value)
void SetHealthStatus(HealthStatusT &&value)
GetWhatsAppFlowResult & WithApplication(ApplicationT &&value)
GetWhatsAppFlowResult & WithJsonVersion(JsonVersionT &&value)
void SetFlowId(FlowIdT &&value)
const Aws::String & GetFlowName() const
GetWhatsAppFlowResult & WithHealthStatus(HealthStatusT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetWhatsAppFlowResult & WithCategories(CategoriesT &&value)
const MetaFlowPreviewInfo & GetPreview() const
GetWhatsAppFlowResult & WithDataApiVersion(DataApiVersionT &&value)
GetWhatsAppFlowResult & AddCategories(MetaFlowCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue