7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/BlueprintDetails.h>
12#include <aws/glue/model/WorkflowGraph.h>
13#include <aws/glue/model/WorkflowRun.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
85 template <
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
87 m_defaultRunPropertiesHasBeenSet =
true;
88 m_defaultRunProperties = std::forward<DefaultRunPropertiesT>(value);
90 template <
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
95 template <
typename DefaultRunPropertiesKeyT = Aws::String,
typename DefaultRunPropertiesValueT = Aws::String>
97 m_defaultRunPropertiesHasBeenSet =
true;
98 m_defaultRunProperties.emplace(std::forward<DefaultRunPropertiesKeyT>(key), std::forward<DefaultRunPropertiesValueT>(value));
109 template <
typename CreatedOnT = Aws::Utils::DateTime>
111 m_createdOnHasBeenSet =
true;
112 m_createdOn = std::forward<CreatedOnT>(value);
114 template <
typename CreatedOnT = Aws::Utils::DateTime>
127 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
129 m_lastModifiedOnHasBeenSet =
true;
130 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
132 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
145 template <
typename LastRunT = WorkflowRun>
147 m_lastRunHasBeenSet =
true;
148 m_lastRun = std::forward<LastRunT>(value);
150 template <
typename LastRunT = WorkflowRun>
164 template <
typename GraphT = WorkflowGraph>
166 m_graphHasBeenSet =
true;
167 m_graph = std::forward<GraphT>(value);
169 template <
typename GraphT = WorkflowGraph>
171 SetGraph(std::forward<GraphT>(value));
186 m_maxConcurrentRunsHasBeenSet =
true;
187 m_maxConcurrentRuns = value;
202 template <
typename Bluepr
intDetailsT = Bluepr
intDetails>
204 m_blueprintDetailsHasBeenSet =
true;
205 m_blueprintDetails = std::forward<BlueprintDetailsT>(value);
207 template <
typename Bluepr
intDetailsT = Bluepr
intDetails>
224 WorkflowRun m_lastRun;
226 WorkflowGraph m_graph;
228 int m_maxConcurrentRuns{0};
230 BlueprintDetails m_blueprintDetails;
231 bool m_nameHasBeenSet =
false;
232 bool m_descriptionHasBeenSet =
false;
233 bool m_defaultRunPropertiesHasBeenSet =
false;
234 bool m_createdOnHasBeenSet =
false;
235 bool m_lastModifiedOnHasBeenSet =
false;
236 bool m_lastRunHasBeenSet =
false;
237 bool m_graphHasBeenSet =
false;
238 bool m_maxConcurrentRunsHasBeenSet =
false;
239 bool m_blueprintDetailsHasBeenSet =
false;
bool LastModifiedOnHasBeenSet() const
const Aws::String & GetName() const
Workflow & WithGraph(GraphT &&value)
void SetBlueprintDetails(BlueprintDetailsT &&value)
void SetDescription(DescriptionT &&value)
Workflow & WithLastModifiedOn(LastModifiedOnT &&value)
bool BlueprintDetailsHasBeenSet() const
Workflow & AddDefaultRunProperties(DefaultRunPropertiesKeyT &&key, DefaultRunPropertiesValueT &&value)
void SetName(NameT &&value)
Workflow & WithDefaultRunProperties(DefaultRunPropertiesT &&value)
bool DescriptionHasBeenSet() const
const WorkflowGraph & GetGraph() const
Workflow & WithLastRun(LastRunT &&value)
Workflow & WithBlueprintDetails(BlueprintDetailsT &&value)
const WorkflowRun & GetLastRun() const
bool DefaultRunPropertiesHasBeenSet() const
Workflow & WithMaxConcurrentRuns(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedOn() const
Workflow & WithDescription(DescriptionT &&value)
AWS_GLUE_API Workflow()=default
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
int GetMaxConcurrentRuns() const
AWS_GLUE_API Workflow(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetLastModifiedOn(LastModifiedOnT &&value)
bool CreatedOnHasBeenSet() const
AWS_GLUE_API Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
const BlueprintDetails & GetBlueprintDetails() const
Workflow & WithName(NameT &&value)
bool LastRunHasBeenSet() const
void SetGraph(GraphT &&value)
bool GraphHasBeenSet() const
void SetLastRun(LastRunT &&value)
Workflow & WithCreatedOn(CreatedOnT &&value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
bool MaxConcurrentRunsHasBeenSet() const
void SetCreatedOn(CreatedOnT &&value)
void SetDefaultRunProperties(DefaultRunPropertiesT &&value)
void SetMaxConcurrentRuns(int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue