AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateWorkflowRunRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/nova-act/NovaActRequest.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/WorkflowRunStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace NovaAct {
16namespace Model {
17
21 public:
22 AWS_NOVAACT_API UpdateWorkflowRunRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkflowRun"; }
29
30 AWS_NOVAACT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetWorkflowDefinitionName() const { return m_workflowDefinitionName; }
37 inline bool WorkflowDefinitionNameHasBeenSet() const { return m_workflowDefinitionNameHasBeenSet; }
38 template <typename WorkflowDefinitionNameT = Aws::String>
39 void SetWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
40 m_workflowDefinitionNameHasBeenSet = true;
41 m_workflowDefinitionName = std::forward<WorkflowDefinitionNameT>(value);
42 }
43 template <typename WorkflowDefinitionNameT = Aws::String>
44 UpdateWorkflowRunRequest& WithWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
45 SetWorkflowDefinitionName(std::forward<WorkflowDefinitionNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
55 inline bool WorkflowRunIdHasBeenSet() const { return m_workflowRunIdHasBeenSet; }
56 template <typename WorkflowRunIdT = Aws::String>
57 void SetWorkflowRunId(WorkflowRunIdT&& value) {
58 m_workflowRunIdHasBeenSet = true;
59 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
60 }
61 template <typename WorkflowRunIdT = Aws::String>
63 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
64 return *this;
65 }
67
69
72 inline WorkflowRunStatus GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(WorkflowRunStatus value) {
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83 private:
84 Aws::String m_workflowDefinitionName;
85
86 Aws::String m_workflowRunId;
87
89 bool m_workflowDefinitionNameHasBeenSet = false;
90 bool m_workflowRunIdHasBeenSet = false;
91 bool m_statusHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace NovaAct
96} // namespace Aws
UpdateWorkflowRunRequest & WithStatus(WorkflowRunStatus value)
void SetWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
AWS_NOVAACT_API Aws::String SerializePayload() const override
UpdateWorkflowRunRequest & WithWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateWorkflowRunRequest & WithWorkflowRunId(WorkflowRunIdT &&value)
AWS_NOVAACT_API UpdateWorkflowRunRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String