AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeWorkflowExecutionResult.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/WorkflowExecutionInfo.h>
9#include <aws/swf/model/WorkflowExecutionConfiguration.h>
10#include <aws/swf/model/WorkflowExecutionOpenCounts.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SWF
28{
29namespace Model
30{
37 {
38 public:
39 AWS_SWF_API DescribeWorkflowExecutionResult() = default;
42
43
45
48 inline const WorkflowExecutionInfo& GetExecutionInfo() const { return m_executionInfo; }
49 template<typename ExecutionInfoT = WorkflowExecutionInfo>
50 void SetExecutionInfo(ExecutionInfoT&& value) { m_executionInfoHasBeenSet = true; m_executionInfo = std::forward<ExecutionInfoT>(value); }
51 template<typename ExecutionInfoT = WorkflowExecutionInfo>
52 DescribeWorkflowExecutionResult& WithExecutionInfo(ExecutionInfoT&& value) { SetExecutionInfo(std::forward<ExecutionInfoT>(value)); return *this;}
54
56
60 inline const WorkflowExecutionConfiguration& GetExecutionConfiguration() const { return m_executionConfiguration; }
61 template<typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
62 void SetExecutionConfiguration(ExecutionConfigurationT&& value) { m_executionConfigurationHasBeenSet = true; m_executionConfiguration = std::forward<ExecutionConfigurationT>(value); }
63 template<typename ExecutionConfigurationT = WorkflowExecutionConfiguration>
64 DescribeWorkflowExecutionResult& WithExecutionConfiguration(ExecutionConfigurationT&& value) { SetExecutionConfiguration(std::forward<ExecutionConfigurationT>(value)); return *this;}
66
68
72 inline const WorkflowExecutionOpenCounts& GetOpenCounts() const { return m_openCounts; }
73 template<typename OpenCountsT = WorkflowExecutionOpenCounts>
74 void SetOpenCounts(OpenCountsT&& value) { m_openCountsHasBeenSet = true; m_openCounts = std::forward<OpenCountsT>(value); }
75 template<typename OpenCountsT = WorkflowExecutionOpenCounts>
76 DescribeWorkflowExecutionResult& WithOpenCounts(OpenCountsT&& value) { SetOpenCounts(std::forward<OpenCountsT>(value)); return *this;}
78
80
86 inline const Aws::Utils::DateTime& GetLatestActivityTaskTimestamp() const { return m_latestActivityTaskTimestamp; }
87 template<typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
88 void SetLatestActivityTaskTimestamp(LatestActivityTaskTimestampT&& value) { m_latestActivityTaskTimestampHasBeenSet = true; m_latestActivityTaskTimestamp = std::forward<LatestActivityTaskTimestampT>(value); }
89 template<typename LatestActivityTaskTimestampT = Aws::Utils::DateTime>
90 DescribeWorkflowExecutionResult& WithLatestActivityTaskTimestamp(LatestActivityTaskTimestampT&& value) { SetLatestActivityTaskTimestamp(std::forward<LatestActivityTaskTimestampT>(value)); return *this;}
92
94
99 inline const Aws::String& GetLatestExecutionContext() const { return m_latestExecutionContext; }
100 template<typename LatestExecutionContextT = Aws::String>
101 void SetLatestExecutionContext(LatestExecutionContextT&& value) { m_latestExecutionContextHasBeenSet = true; m_latestExecutionContext = std::forward<LatestExecutionContextT>(value); }
102 template<typename LatestExecutionContextT = Aws::String>
103 DescribeWorkflowExecutionResult& WithLatestExecutionContext(LatestExecutionContextT&& value) { SetLatestExecutionContext(std::forward<LatestExecutionContextT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 DescribeWorkflowExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 WorkflowExecutionInfo m_executionInfo;
117 bool m_executionInfoHasBeenSet = false;
118
119 WorkflowExecutionConfiguration m_executionConfiguration;
120 bool m_executionConfigurationHasBeenSet = false;
121
122 WorkflowExecutionOpenCounts m_openCounts;
123 bool m_openCountsHasBeenSet = false;
124
125 Aws::Utils::DateTime m_latestActivityTaskTimestamp{};
126 bool m_latestActivityTaskTimestampHasBeenSet = false;
127
128 Aws::String m_latestExecutionContext;
129 bool m_latestExecutionContextHasBeenSet = false;
130
131 Aws::String m_requestId;
132 bool m_requestIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SWF
137} // 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