AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetWorkflowDefinitionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/WorkflowDefinitionStatus.h>
11#include <aws/nova-act/model/WorkflowExportConfig.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NovaAct {
25namespace Model {
27 public:
28 AWS_NOVAACT_API GetWorkflowDefinitionResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline const WorkflowExportConfig& GetExportConfig() const { return m_exportConfig; }
105 template <typename ExportConfigT = WorkflowExportConfig>
106 void SetExportConfig(ExportConfigT&& value) {
107 m_exportConfigHasBeenSet = true;
108 m_exportConfig = std::forward<ExportConfigT>(value);
109 }
110 template <typename ExportConfigT = WorkflowExportConfig>
112 SetExportConfig(std::forward<ExportConfigT>(value));
113 return *this;
114 }
116
118
121 inline WorkflowDefinitionStatus GetStatus() const { return m_status; }
123 m_statusHasBeenSet = true;
124 m_status = value;
125 }
127 SetStatus(value);
128 return *this;
129 }
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template <typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) {
137 m_requestIdHasBeenSet = true;
138 m_requestId = std::forward<RequestIdT>(value);
139 }
140 template <typename RequestIdT = Aws::String>
142 SetRequestId(std::forward<RequestIdT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_name;
148
149 Aws::String m_arn;
150
151 Aws::Utils::DateTime m_createdAt{};
152
153 Aws::String m_description;
154
155 WorkflowExportConfig m_exportConfig;
156
158
159 Aws::String m_requestId;
160 bool m_nameHasBeenSet = false;
161 bool m_arnHasBeenSet = false;
162 bool m_createdAtHasBeenSet = false;
163 bool m_descriptionHasBeenSet = false;
164 bool m_exportConfigHasBeenSet = false;
165 bool m_statusHasBeenSet = false;
166 bool m_requestIdHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace NovaAct
171} // 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