AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles
29{
30namespace Model
31{
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API GetWorkflowResult();
38
39
41
44 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
45 inline void SetWorkflowId(const Aws::String& value) { m_workflowId = value; }
46 inline void SetWorkflowId(Aws::String&& value) { m_workflowId = std::move(value); }
47 inline void SetWorkflowId(const char* value) { m_workflowId.assign(value); }
48 inline GetWorkflowResult& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
49 inline GetWorkflowResult& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
50 inline GetWorkflowResult& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
52
54
57 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
58 inline void SetWorkflowType(const WorkflowType& value) { m_workflowType = value; }
59 inline void SetWorkflowType(WorkflowType&& value) { m_workflowType = std::move(value); }
60 inline GetWorkflowResult& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
61 inline GetWorkflowResult& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
63
65
68 inline const Status& GetStatus() const{ return m_status; }
69 inline void SetStatus(const Status& value) { m_status = value; }
70 inline void SetStatus(Status&& value) { m_status = std::move(value); }
71 inline GetWorkflowResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
72 inline GetWorkflowResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetErrorDescription() const{ return m_errorDescription; }
80 inline void SetErrorDescription(const Aws::String& value) { m_errorDescription = value; }
81 inline void SetErrorDescription(Aws::String&& value) { m_errorDescription = std::move(value); }
82 inline void SetErrorDescription(const char* value) { m_errorDescription.assign(value); }
83 inline GetWorkflowResult& WithErrorDescription(const Aws::String& value) { SetErrorDescription(value); return *this;}
84 inline GetWorkflowResult& WithErrorDescription(Aws::String&& value) { SetErrorDescription(std::move(value)); return *this;}
85 inline GetWorkflowResult& WithErrorDescription(const char* value) { SetErrorDescription(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
93 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
94 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
95 inline GetWorkflowResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
96 inline GetWorkflowResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
104 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
105 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
106 inline GetWorkflowResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
107 inline GetWorkflowResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
109
111
114 inline const WorkflowAttributes& GetAttributes() const{ return m_attributes; }
115 inline void SetAttributes(const WorkflowAttributes& value) { m_attributes = value; }
116 inline void SetAttributes(WorkflowAttributes&& value) { m_attributes = std::move(value); }
117 inline GetWorkflowResult& WithAttributes(const WorkflowAttributes& value) { SetAttributes(value); return *this;}
118 inline GetWorkflowResult& WithAttributes(WorkflowAttributes&& value) { SetAttributes(std::move(value)); return *this;}
120
122
125 inline const WorkflowMetrics& GetMetrics() const{ return m_metrics; }
126 inline void SetMetrics(const WorkflowMetrics& value) { m_metrics = value; }
127 inline void SetMetrics(WorkflowMetrics&& value) { m_metrics = std::move(value); }
128 inline GetWorkflowResult& WithMetrics(const WorkflowMetrics& value) { SetMetrics(value); return *this;}
129 inline GetWorkflowResult& WithMetrics(WorkflowMetrics&& value) { SetMetrics(std::move(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const{ return m_requestId; }
135 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
136 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
137 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
138 inline GetWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
139 inline GetWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
140 inline GetWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
142 private:
143
144 Aws::String m_workflowId;
145
146 WorkflowType m_workflowType;
147
148 Status m_status;
149
150 Aws::String m_errorDescription;
151
152 Aws::Utils::DateTime m_startDate;
153
154 Aws::Utils::DateTime m_lastUpdatedAt;
155
156 WorkflowAttributes m_attributes;
157
158 WorkflowMetrics m_metrics;
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace CustomerProfiles
165} // namespace Aws
const Aws::Utils::DateTime & GetStartDate() const
GetWorkflowResult & WithRequestId(Aws::String &&value)
GetWorkflowResult & WithStartDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetWorkflowResult & WithWorkflowId(const Aws::String &value)
GetWorkflowResult & WithStartDate(Aws::Utils::DateTime &&value)
GetWorkflowResult & WithWorkflowType(const WorkflowType &value)
AWS_CUSTOMERPROFILES_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & WithAttributes(const WorkflowAttributes &value)
GetWorkflowResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetWorkflowResult & WithMetrics(const WorkflowMetrics &value)
const WorkflowAttributes & GetAttributes() const
void SetMetrics(const WorkflowMetrics &value)
AWS_CUSTOMERPROFILES_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartDate(Aws::Utils::DateTime &&value)
GetWorkflowResult & WithMetrics(WorkflowMetrics &&value)
GetWorkflowResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetWorkflowResult & WithAttributes(WorkflowAttributes &&value)
GetWorkflowResult & WithErrorDescription(const char *value)
GetWorkflowResult & WithRequestId(const char *value)
GetWorkflowResult & WithWorkflowId(Aws::String &&value)
AWS_CUSTOMERPROFILES_API GetWorkflowResult()
void SetWorkflowType(const WorkflowType &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetErrorDescription(const Aws::String &value)
GetWorkflowResult & WithWorkflowType(WorkflowType &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
void SetAttributes(const WorkflowAttributes &value)
GetWorkflowResult & WithRequestId(const Aws::String &value)
GetWorkflowResult & WithWorkflowId(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetWorkflowResult & WithStatus(const Status &value)
GetWorkflowResult & WithErrorDescription(Aws::String &&value)
void SetAttributes(WorkflowAttributes &&value)
GetWorkflowResult & WithErrorDescription(const Aws::String &value)
GetWorkflowResult & WithStatus(Status &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue