7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/Status.h>
11#include <aws/customer-profiles/model/WorkflowAttributes.h>
12#include <aws/customer-profiles/model/WorkflowMetrics.h>
13#include <aws/customer-profiles/model/WorkflowType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CustomerProfiles {
39 template <
typename WorkflowIdT = Aws::String>
41 m_workflowIdHasBeenSet =
true;
42 m_workflowId = std::forward<WorkflowIdT>(value);
44 template <
typename WorkflowIdT = Aws::String>
57 m_workflowTypeHasBeenSet =
true;
58 m_workflowType = value;
72 m_statusHasBeenSet =
true;
86 template <
typename ErrorDescriptionT = Aws::String>
88 m_errorDescriptionHasBeenSet =
true;
89 m_errorDescription = std::forward<ErrorDescriptionT>(value);
91 template <
typename ErrorDescriptionT = Aws::String>
103 template <
typename StartDateT = Aws::Utils::DateTime>
105 m_startDateHasBeenSet =
true;
106 m_startDate = std::forward<StartDateT>(value);
108 template <
typename StartDateT = Aws::Utils::DateTime>
120 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
122 m_lastUpdatedAtHasBeenSet =
true;
123 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
125 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
137 template <
typename AttributesT = WorkflowAttributes>
139 m_attributesHasBeenSet =
true;
140 m_attributes = std::forward<AttributesT>(value);
142 template <
typename AttributesT = WorkflowAttributes>
154 template <
typename MetricsT = WorkflowMetrics>
156 m_metricsHasBeenSet =
true;
157 m_metrics = std::forward<MetricsT>(value);
159 template <
typename MetricsT = WorkflowMetrics>
169 template <
typename RequestIdT = Aws::String>
171 m_requestIdHasBeenSet =
true;
172 m_requestId = std::forward<RequestIdT>(value);
174 template <
typename RequestIdT = Aws::String>
193 WorkflowAttributes m_attributes;
195 WorkflowMetrics m_metrics;
198 bool m_workflowIdHasBeenSet =
false;
199 bool m_workflowTypeHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
201 bool m_errorDescriptionHasBeenSet =
false;
202 bool m_startDateHasBeenSet =
false;
203 bool m_lastUpdatedAtHasBeenSet =
false;
204 bool m_attributesHasBeenSet =
false;
205 bool m_metricsHasBeenSet =
false;
206 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
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