7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/glue/model/WorkflowRun.h>
12#include <aws/glue/model/WorkflowGraph.h>
13#include <aws/glue/model/BlueprintDetails.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
79 template<
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
80 void SetDefaultRunProperties(DefaultRunPropertiesT&& value) { m_defaultRunPropertiesHasBeenSet =
true; m_defaultRunProperties = std::forward<DefaultRunPropertiesT>(value); }
81 template<
typename DefaultRunPropertiesT = Aws::Map<Aws::String, Aws::String>>
83 template<
typename DefaultRunPropertiesKeyT = Aws::String,
typename DefaultRunPropertiesValueT = Aws::String>
85 m_defaultRunPropertiesHasBeenSet =
true; m_defaultRunProperties.emplace(std::forward<DefaultRunPropertiesKeyT>(key), std::forward<DefaultRunPropertiesValueT>(value));
return *
this;
95 template<
typename CreatedOnT = Aws::Utils::DateTime>
96 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet =
true; m_createdOn = std::forward<CreatedOnT>(value); }
97 template<
typename CreatedOnT = Aws::Utils::DateTime>
107 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
108 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet =
true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
109 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
119 template<
typename LastRunT = WorkflowRun>
120 void SetLastRun(LastRunT&& value) { m_lastRunHasBeenSet =
true; m_lastRun = std::forward<LastRunT>(value); }
121 template<
typename LastRunT = WorkflowRun>
132 template<
typename GraphT = WorkflowGraph>
133 void SetGraph(GraphT&& value) { m_graphHasBeenSet =
true; m_graph = std::forward<GraphT>(value); }
134 template<
typename GraphT = WorkflowGraph>
147 inline void SetMaxConcurrentRuns(
int value) { m_maxConcurrentRunsHasBeenSet =
true; m_maxConcurrentRuns = value; }
158 template<
typename Bluepr
intDetailsT = Bluepr
intDetails>
159 void SetBlueprintDetails(BlueprintDetailsT&& value) { m_blueprintDetailsHasBeenSet =
true; m_blueprintDetails = std::forward<BlueprintDetailsT>(value); }
160 template<
typename Bluepr
intDetailsT = Bluepr
intDetails>
166 bool m_nameHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_defaultRunPropertiesHasBeenSet =
false;
175 bool m_createdOnHasBeenSet =
false;
178 bool m_lastModifiedOnHasBeenSet =
false;
180 WorkflowRun m_lastRun;
181 bool m_lastRunHasBeenSet =
false;
183 WorkflowGraph m_graph;
184 bool m_graphHasBeenSet =
false;
186 int m_maxConcurrentRuns{0};
187 bool m_maxConcurrentRunsHasBeenSet =
false;
189 BlueprintDetails m_blueprintDetails;
190 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