AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
CreateWorkflowRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/WorkflowRunStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NovaAct {
24namespace Model {
26 public:
27 AWS_NOVAACT_API CreateWorkflowRunResult() = default;
30
32
35 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
36 template <typename WorkflowRunIdT = Aws::String>
37 void SetWorkflowRunId(WorkflowRunIdT&& value) {
38 m_workflowRunIdHasBeenSet = true;
39 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
40 }
41 template <typename WorkflowRunIdT = Aws::String>
42 CreateWorkflowRunResult& WithWorkflowRunId(WorkflowRunIdT&& value) {
43 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
44 return *this;
45 }
47
49
52 inline WorkflowRunStatus GetStatus() const { return m_status; }
53 inline void SetStatus(WorkflowRunStatus value) {
54 m_statusHasBeenSet = true;
55 m_status = value;
56 }
58 SetStatus(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
78
79 private:
80 Aws::String m_workflowRunId;
81
83
84 Aws::String m_requestId;
85 Aws::Http::HttpResponseCode m_HttpResponseCode;
86 bool m_workflowRunIdHasBeenSet = false;
87 bool m_statusHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace NovaAct
93} // namespace Aws
CreateWorkflowRunResult & WithStatus(WorkflowRunStatus value)
AWS_NOVAACT_API CreateWorkflowRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowRunResult & WithRequestId(RequestIdT &&value)
AWS_NOVAACT_API CreateWorkflowRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowRunResult & WithWorkflowRunId(WorkflowRunIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_NOVAACT_API CreateWorkflowRunResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue