AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
WorkflowExecution.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SWF {
20namespace Model {
21
28 public:
29 AWS_SWF_API WorkflowExecution() = default;
33
35
38 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
39 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
40 template <typename WorkflowIdT = Aws::String>
41 void SetWorkflowId(WorkflowIdT&& value) {
42 m_workflowIdHasBeenSet = true;
43 m_workflowId = std::forward<WorkflowIdT>(value);
44 }
45 template <typename WorkflowIdT = Aws::String>
46 WorkflowExecution& WithWorkflowId(WorkflowIdT&& value) {
47 SetWorkflowId(std::forward<WorkflowIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRunId() const { return m_runId; }
57 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
58 template <typename RunIdT = Aws::String>
59 void SetRunId(RunIdT&& value) {
60 m_runIdHasBeenSet = true;
61 m_runId = std::forward<RunIdT>(value);
62 }
63 template <typename RunIdT = Aws::String>
64 WorkflowExecution& WithRunId(RunIdT&& value) {
65 SetRunId(std::forward<RunIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_workflowId;
71
72 Aws::String m_runId;
73 bool m_workflowIdHasBeenSet = false;
74 bool m_runIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SWF
79} // namespace Aws
AWS_SWF_API WorkflowExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecution & WithRunId(RunIdT &&value)
void SetWorkflowId(WorkflowIdT &&value)
const Aws::String & GetRunId() const
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API WorkflowExecution()=default
WorkflowExecution & WithWorkflowId(WorkflowIdT &&value)
AWS_SWF_API WorkflowExecution(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkflowId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue