7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/Status.h>
12#include <aws/customer-profiles/model/WorkflowAttributes.h>
13#include <aws/customer-profiles/model/WorkflowMetrics.h>
14#include <aws/customer-profiles/model/WorkflowType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace CustomerProfiles {
40 template <
typename WorkflowIdT = Aws::String>
42 m_workflowIdHasBeenSet =
true;
43 m_workflowId = std::forward<WorkflowIdT>(value);
45 template <
typename WorkflowIdT = Aws::String>
58 m_workflowTypeHasBeenSet =
true;
59 m_workflowType = value;
73 m_statusHasBeenSet =
true;
87 template <
typename ErrorDescriptionT = Aws::String>
89 m_errorDescriptionHasBeenSet =
true;
90 m_errorDescription = std::forward<ErrorDescriptionT>(value);
92 template <
typename ErrorDescriptionT = Aws::String>
104 template <
typename StartDateT = Aws::Utils::DateTime>
106 m_startDateHasBeenSet =
true;
107 m_startDate = std::forward<StartDateT>(value);
109 template <
typename StartDateT = Aws::Utils::DateTime>
121 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
123 m_lastUpdatedAtHasBeenSet =
true;
124 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
126 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
138 template <
typename AttributesT = WorkflowAttributes>
140 m_attributesHasBeenSet =
true;
141 m_attributes = std::forward<AttributesT>(value);
143 template <
typename AttributesT = WorkflowAttributes>
155 template <
typename MetricsT = WorkflowMetrics>
157 m_metricsHasBeenSet =
true;
158 m_metrics = std::forward<MetricsT>(value);
160 template <
typename MetricsT = WorkflowMetrics>
170 template <
typename RequestIdT = Aws::String>
172 m_requestIdHasBeenSet =
true;
173 m_requestId = std::forward<RequestIdT>(value);
175 template <
typename RequestIdT = Aws::String>
196 WorkflowAttributes m_attributes;
198 WorkflowMetrics m_metrics;
202 bool m_workflowIdHasBeenSet =
false;
203 bool m_workflowTypeHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_errorDescriptionHasBeenSet =
false;
206 bool m_startDateHasBeenSet =
false;
207 bool m_lastUpdatedAtHasBeenSet =
false;
208 bool m_attributesHasBeenSet =
false;
209 bool m_metricsHasBeenSet =
false;
210 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetStartDate() const
GetWorkflowResult & WithWorkflowType(WorkflowType value)
void SetAttributes(AttributesT &&value)
const Aws::String & GetErrorDescription() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetWorkflowResult & WithAttributes(AttributesT &&value)
GetWorkflowResult & WithRequestId(RequestIdT &&value)
void SetMetrics(MetricsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const WorkflowAttributes & GetAttributes() const
const Aws::String & GetWorkflowId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetWorkflowResult & WithStatus(Status value)
void SetStatus(Status value)
GetWorkflowResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetWorkflowResult & WithMetrics(MetricsT &&value)
AWS_CUSTOMERPROFILES_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const WorkflowMetrics & GetMetrics() const
AWS_CUSTOMERPROFILES_API GetWorkflowResult()=default
WorkflowType GetWorkflowType() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetWorkflowType(WorkflowType value)
GetWorkflowResult & WithErrorDescription(ErrorDescriptionT &&value)
GetWorkflowResult & WithWorkflowId(WorkflowIdT &&value)
void SetWorkflowId(WorkflowIdT &&value)
void SetStartDate(StartDateT &&value)
GetWorkflowResult & WithStartDate(StartDateT &&value)
void SetErrorDescription(ErrorDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue