7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/WorkflowType.h>
10#include <aws/customer-profiles/model/Status.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/customer-profiles/model/WorkflowAttributes.h>
13#include <aws/customer-profiles/model/WorkflowMetrics.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace CustomerProfiles
45 template<
typename WorkflowIdT = Aws::String>
46 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet =
true; m_workflowId = std::forward<WorkflowIdT>(value); }
47 template<
typename WorkflowIdT = Aws::String>
65 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
74 template<
typename ErrorDescriptionT = Aws::String>
75 void SetErrorDescription(ErrorDescriptionT&& value) { m_errorDescriptionHasBeenSet =
true; m_errorDescription = std::forward<ErrorDescriptionT>(value); }
76 template<
typename ErrorDescriptionT = Aws::String>
85 template<
typename StartDateT = Aws::Utils::DateTime>
86 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
87 template<
typename StartDateT = Aws::Utils::DateTime>
96 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
97 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
98 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
107 template<
typename AttributesT = WorkflowAttributes>
108 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
109 template<
typename AttributesT = WorkflowAttributes>
118 template<
typename MetricsT = WorkflowMetrics>
119 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
120 template<
typename MetricsT = WorkflowMetrics>
127 template<
typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
129 template<
typename RequestIdT = Aws::String>
135 bool m_workflowIdHasBeenSet =
false;
138 bool m_workflowTypeHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
144 bool m_errorDescriptionHasBeenSet =
false;
147 bool m_startDateHasBeenSet =
false;
150 bool m_lastUpdatedAtHasBeenSet =
false;
152 WorkflowAttributes m_attributes;
153 bool m_attributesHasBeenSet =
false;
155 WorkflowMetrics m_metrics;
156 bool m_metricsHasBeenSet =
false;
159 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