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>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
93 inline Workflow&
AddDefaultRunProperties(
const char* key,
const char* value) { m_defaultRunPropertiesHasBeenSet =
true; m_defaultRunProperties.emplace(key, value);
return *
this; }
154 inline void SetMaxConcurrentRuns(
int value) { m_maxConcurrentRunsHasBeenSet =
true; m_maxConcurrentRuns = value; }
173 bool m_nameHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_defaultRunPropertiesHasBeenSet =
false;
182 bool m_createdOnHasBeenSet =
false;
185 bool m_lastModifiedOnHasBeenSet =
false;
188 bool m_lastRunHasBeenSet =
false;
191 bool m_graphHasBeenSet =
false;
193 int m_maxConcurrentRuns;
194 bool m_maxConcurrentRunsHasBeenSet =
false;
197 bool m_blueprintDetailsHasBeenSet =
false;
Workflow & WithLastRun(const WorkflowRun &value)
Workflow & AddDefaultRunProperties(const char *key, Aws::String &&value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
bool LastModifiedOnHasBeenSet() const
const Aws::String & GetName() const
Workflow & AddDefaultRunProperties(Aws::String &&key, Aws::String &&value)
void SetLastRun(const WorkflowRun &value)
Workflow & WithCreatedOn(const Aws::Utils::DateTime &value)
Workflow & WithGraph(WorkflowGraph &&value)
void SetDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
Workflow & WithLastRun(WorkflowRun &&value)
bool BlueprintDetailsHasBeenSet() const
Workflow & AddDefaultRunProperties(Aws::String &&key, const Aws::String &value)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Workflow & WithGraph(const WorkflowGraph &value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
void SetBlueprintDetails(const BlueprintDetails &value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
Workflow & WithDescription(const Aws::String &value)
Workflow & WithDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
bool DescriptionHasBeenSet() const
const WorkflowGraph & GetGraph() const
Workflow & AddDefaultRunProperties(const Aws::String &key, const Aws::String &value)
const WorkflowRun & GetLastRun() const
Workflow & AddDefaultRunProperties(const Aws::String &key, Aws::String &&value)
Workflow & WithName(Aws::String &&value)
Workflow & WithCreatedOn(Aws::Utils::DateTime &&value)
bool DefaultRunPropertiesHasBeenSet() const
void SetDescription(Aws::String &&value)
Workflow & WithMaxConcurrentRuns(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Workflow & WithDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreatedOn() const
Workflow & AddDefaultRunProperties(Aws::String &&key, const char *value)
void SetDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastRun(WorkflowRun &&value)
Workflow & WithBlueprintDetails(BlueprintDetails &&value)
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
void SetDescription(const char *value)
void SetName(const char *value)
int GetMaxConcurrentRuns() const
Workflow & WithLastModifiedOn(Aws::Utils::DateTime &&value)
AWS_GLUE_API Workflow(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool CreatedOnHasBeenSet() const
AWS_GLUE_API Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGraph(WorkflowGraph &&value)
const BlueprintDetails & GetBlueprintDetails() const
Workflow & WithDescription(const char *value)
void SetBlueprintDetails(BlueprintDetails &&value)
void SetName(Aws::String &&value)
bool LastRunHasBeenSet() const
bool GraphHasBeenSet() const
Workflow & WithName(const char *value)
Workflow & AddDefaultRunProperties(const char *key, const char *value)
const Aws::Utils::DateTime & GetLastModifiedOn() const
bool MaxConcurrentRunsHasBeenSet() const
void SetGraph(const WorkflowGraph &value)
Workflow & WithDescription(Aws::String &&value)
Workflow & WithBlueprintDetails(const BlueprintDetails &value)
void SetMaxConcurrentRuns(int value)
Workflow & WithName(const Aws::String &value)
Workflow & WithLastModifiedOn(const Aws::Utils::DateTime &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