AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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