AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeWorkflowExecutionResult.h
1
6#pragma once
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/swf/SWF_EXPORTS.h>
11#include <aws/swf/model/WorkflowExecutionConfiguration.h>
12#include <aws/swf/model/WorkflowExecutionInfo.h>
13#include <aws/swf/model/WorkflowExecutionOpenCounts.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SWF {
27namespace Model {
34 public:
35 AWS_SWF_API DescribeWorkflowExecutionResult() = default;
38
40
43 inline const WorkflowExecutionInfo& GetExecutionInfo() const { return m_executionInfo; }
44 template <typename ExecutionInfoT = WorkflowExecutionInfo>
45 void SetExecutionInfo(ExecutionInfoT&& value) {
46 m_executionInfoHasBeenSet = true;
47 m_executionInfo = std::forward<ExecutionInfoT>(value);
48 }
49 template <typename ExecutionInfoT = WorkflowExecutionInfo>
51 SetExecutionInfo(std::forward<ExecutionInfoT>(value));
52 return *this;
53 }
55
57
61 inline const WorkflowExecutionConfiguration& GetExecutionConfiguration() const { return m_executionConfiguration; }
62 template <typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
63 void SetExecutionConfiguration(ExecutionConfigurationT&& value) {
64 m_executionConfigurationHasBeenSet = true;
65 m_executionConfiguration = std::forward<ExecutionConfigurationT>(value);
66 }
67 template <typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
69 SetExecutionConfiguration(std::forward<ExecutionConfigurationT>(value));
70 return *this;
71 }
73
75
79 inline const WorkflowExecutionOpenCounts& GetOpenCounts() const { return m_openCounts; }
80 template <typename OpenCountsT = WorkflowExecutionOpenCounts>
81 void SetOpenCounts(OpenCountsT&& value) {
82 m_openCountsHasBeenSet = true;
83 m_openCounts = std::forward<OpenCountsT>(value);
84 }
85 template <typename OpenCountsT = WorkflowExecutionOpenCounts>
87 SetOpenCounts(std::forward<OpenCountsT>(value));
88 return *this;
89 }
91
93
99 inline const Aws::Utils::DateTime& GetLatestActivityTaskTimestamp() const { return m_latestActivityTaskTimestamp; }
100 template <typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
101 void SetLatestActivityTaskTimestamp(LatestActivityTaskTimestampT&& value) {
102 m_latestActivityTaskTimestampHasBeenSet = true;
103 m_latestActivityTaskTimestamp = std::forward<LatestActivityTaskTimestampT>(value);
104 }
105 template <typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
107 SetLatestActivityTaskTimestamp(std::forward<LatestActivityTaskTimestampT>(value));
108 return *this;
109 }
111
113
118 inline const Aws::String& GetLatestExecutionContext() const { return m_latestExecutionContext; }
119 template <typename LatestExecutionContextT = Aws::String>
120 void SetLatestExecutionContext(LatestExecutionContextT&& value) {
121 m_latestExecutionContextHasBeenSet = true;
122 m_latestExecutionContext = std::forward<LatestExecutionContextT>(value);
123 }
124 template <typename LatestExecutionContextT = Aws::String>
126 SetLatestExecutionContext(std::forward<LatestExecutionContextT>(value));
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
146
147 private:
148 WorkflowExecutionInfo m_executionInfo;
149
150 WorkflowExecutionConfiguration m_executionConfiguration;
151
152 WorkflowExecutionOpenCounts m_openCounts;
153
154 Aws::Utils::DateTime m_latestActivityTaskTimestamp{};
155
156 Aws::String m_latestExecutionContext;
157
158 Aws::String m_requestId;
159 Aws::Http::HttpResponseCode m_HttpResponseCode;
160 bool m_executionInfoHasBeenSet = false;
161 bool m_executionConfigurationHasBeenSet = false;
162 bool m_openCountsHasBeenSet = false;
163 bool m_latestActivityTaskTimestampHasBeenSet = false;
164 bool m_latestExecutionContextHasBeenSet = false;
165 bool m_requestIdHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace SWF
170} // namespace Aws
DescribeWorkflowExecutionResult & WithExecutionConfiguration(ExecutionConfigurationT &&value)
const Aws::Utils::DateTime & GetLatestActivityTaskTimestamp() const
void SetLatestActivityTaskTimestamp(LatestActivityTaskTimestampT &&value)
DescribeWorkflowExecutionResult & WithRequestId(RequestIdT &&value)
void SetExecutionConfiguration(ExecutionConfigurationT &&value)
DescribeWorkflowExecutionResult & WithOpenCounts(OpenCountsT &&value)
DescribeWorkflowExecutionResult & WithExecutionInfo(ExecutionInfoT &&value)
const WorkflowExecutionOpenCounts & GetOpenCounts() const
DescribeWorkflowExecutionResult & WithLatestActivityTaskTimestamp(LatestActivityTaskTimestampT &&value)
AWS_SWF_API DescribeWorkflowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const WorkflowExecutionConfiguration & GetExecutionConfiguration() const
AWS_SWF_API DescribeWorkflowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkflowExecutionResult & WithLatestExecutionContext(LatestExecutionContextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue