AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
DescribeWorkflowExecutionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/SWF_EXPORTS.h>
10#include <aws/swf/model/WorkflowExecutionConfiguration.h>
11#include <aws/swf/model/WorkflowExecutionInfo.h>
12#include <aws/swf/model/WorkflowExecutionOpenCounts.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SWF {
26namespace Model {
33 public:
34 AWS_SWF_API DescribeWorkflowExecutionResult() = default;
37
39
42 inline const WorkflowExecutionInfo& GetExecutionInfo() const { return m_executionInfo; }
43 template <typename ExecutionInfoT = WorkflowExecutionInfo>
44 void SetExecutionInfo(ExecutionInfoT&& value) {
45 m_executionInfoHasBeenSet = true;
46 m_executionInfo = std::forward<ExecutionInfoT>(value);
47 }
48 template <typename ExecutionInfoT = WorkflowExecutionInfo>
50 SetExecutionInfo(std::forward<ExecutionInfoT>(value));
51 return *this;
52 }
54
56
60 inline const WorkflowExecutionConfiguration& GetExecutionConfiguration() const { return m_executionConfiguration; }
61 template <typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
62 void SetExecutionConfiguration(ExecutionConfigurationT&& value) {
63 m_executionConfigurationHasBeenSet = true;
64 m_executionConfiguration = std::forward<ExecutionConfigurationT>(value);
65 }
66 template <typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
68 SetExecutionConfiguration(std::forward<ExecutionConfigurationT>(value));
69 return *this;
70 }
72
74
78 inline const WorkflowExecutionOpenCounts& GetOpenCounts() const { return m_openCounts; }
79 template <typename OpenCountsT = WorkflowExecutionOpenCounts>
80 void SetOpenCounts(OpenCountsT&& value) {
81 m_openCountsHasBeenSet = true;
82 m_openCounts = std::forward<OpenCountsT>(value);
83 }
84 template <typename OpenCountsT = WorkflowExecutionOpenCounts>
86 SetOpenCounts(std::forward<OpenCountsT>(value));
87 return *this;
88 }
90
92
98 inline const Aws::Utils::DateTime& GetLatestActivityTaskTimestamp() const { return m_latestActivityTaskTimestamp; }
99 template <typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
100 void SetLatestActivityTaskTimestamp(LatestActivityTaskTimestampT&& value) {
101 m_latestActivityTaskTimestampHasBeenSet = true;
102 m_latestActivityTaskTimestamp = std::forward<LatestActivityTaskTimestampT>(value);
103 }
104 template <typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
106 SetLatestActivityTaskTimestamp(std::forward<LatestActivityTaskTimestampT>(value));
107 return *this;
108 }
110
112
117 inline const Aws::String& GetLatestExecutionContext() const { return m_latestExecutionContext; }
118 template <typename LatestExecutionContextT = Aws::String>
119 void SetLatestExecutionContext(LatestExecutionContextT&& value) {
120 m_latestExecutionContextHasBeenSet = true;
121 m_latestExecutionContext = std::forward<LatestExecutionContextT>(value);
122 }
123 template <typename LatestExecutionContextT = Aws::String>
125 SetLatestExecutionContext(std::forward<LatestExecutionContextT>(value));
126 return *this;
127 }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
133 template <typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) {
135 m_requestIdHasBeenSet = true;
136 m_requestId = std::forward<RequestIdT>(value);
137 }
138 template <typename RequestIdT = Aws::String>
140 SetRequestId(std::forward<RequestIdT>(value));
141 return *this;
142 }
144 private:
145 WorkflowExecutionInfo m_executionInfo;
146
147 WorkflowExecutionConfiguration m_executionConfiguration;
148
149 WorkflowExecutionOpenCounts m_openCounts;
150
151 Aws::Utils::DateTime m_latestActivityTaskTimestamp{};
152
153 Aws::String m_latestExecutionContext;
154
155 Aws::String m_requestId;
156 bool m_executionInfoHasBeenSet = false;
157 bool m_executionConfigurationHasBeenSet = false;
158 bool m_openCountsHasBeenSet = false;
159 bool m_latestActivityTaskTimestampHasBeenSet = false;
160 bool m_latestExecutionContextHasBeenSet = false;
161 bool m_requestIdHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace SWF
166} // 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