AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetWorkflowDefinitionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/WorkflowDefinitionStatus.h>
12#include <aws/nova-act/model/WorkflowExportConfig.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NovaAct {
26namespace Model {
28 public:
29 AWS_NOVAACT_API GetWorkflowDefinitionResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 template <typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) {
74 m_createdAtHasBeenSet = true;
75 m_createdAt = std::forward<CreatedAtT>(value);
76 }
77 template <typename CreatedAtT = Aws::Utils::DateTime>
79 SetCreatedAt(std::forward<CreatedAtT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) {
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
105 inline const WorkflowExportConfig& GetExportConfig() const { return m_exportConfig; }
106 template <typename ExportConfigT = WorkflowExportConfig>
107 void SetExportConfig(ExportConfigT&& value) {
108 m_exportConfigHasBeenSet = true;
109 m_exportConfig = std::forward<ExportConfigT>(value);
110 }
111 template <typename ExportConfigT = WorkflowExportConfig>
113 SetExportConfig(std::forward<ExportConfigT>(value));
114 return *this;
115 }
117
119
122 inline WorkflowDefinitionStatus GetStatus() const { return m_status; }
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template <typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) {
138 m_requestIdHasBeenSet = true;
139 m_requestId = std::forward<RequestIdT>(value);
140 }
141 template <typename RequestIdT = Aws::String>
143 SetRequestId(std::forward<RequestIdT>(value));
144 return *this;
145 }
147 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
148
149 private:
150 Aws::String m_name;
151
152 Aws::String m_arn;
153
154 Aws::Utils::DateTime m_createdAt{};
155
156 Aws::String m_description;
157
158 WorkflowExportConfig m_exportConfig;
159
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_nameHasBeenSet = false;
165 bool m_arnHasBeenSet = false;
166 bool m_createdAtHasBeenSet = false;
167 bool m_descriptionHasBeenSet = false;
168 bool m_exportConfigHasBeenSet = false;
169 bool m_statusHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace NovaAct
175} // namespace Aws
AWS_NOVAACT_API GetWorkflowDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowDefinitionResult & WithExportConfig(ExportConfigT &&value)
GetWorkflowDefinitionResult & WithCreatedAt(CreatedAtT &&value)
GetWorkflowDefinitionResult & WithRequestId(RequestIdT &&value)
GetWorkflowDefinitionResult & WithName(NameT &&value)
AWS_NOVAACT_API GetWorkflowDefinitionResult()=default
GetWorkflowDefinitionResult & WithStatus(WorkflowDefinitionStatus value)
GetWorkflowDefinitionResult & WithDescription(DescriptionT &&value)
GetWorkflowDefinitionResult & WithArn(ArnT &&value)
AWS_NOVAACT_API GetWorkflowDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue