AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Workflow.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_GLUE_API Workflow();
42 AWS_GLUE_API Workflow(Aws::Utils::Json::JsonView jsonValue);
45
46
48
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline Workflow& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline Workflow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline Workflow& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline Workflow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline Workflow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline Workflow& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
81 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultRunProperties() const{ return m_defaultRunProperties; }
82 inline bool DefaultRunPropertiesHasBeenSet() const { return m_defaultRunPropertiesHasBeenSet; }
83 inline void SetDefaultRunProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = value; }
84 inline void SetDefaultRunProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties = std::move(value); }
87 inline Workflow& AddDefaultRunProperties(const Aws::String& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
88 inline Workflow& AddDefaultRunProperties(Aws::String&& key, const Aws::String& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
89 inline Workflow& AddDefaultRunProperties(const Aws::String& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
90 inline Workflow& AddDefaultRunProperties(Aws::String&& key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), std::move(value)); return *this; }
91 inline Workflow& AddDefaultRunProperties(const char* key, Aws::String&& value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, std::move(value)); return *this; }
92 inline Workflow& AddDefaultRunProperties(Aws::String&& key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(std::move(key), value); return *this; }
93 inline Workflow& AddDefaultRunProperties(const char* key, const char* value) { m_defaultRunPropertiesHasBeenSet = true; m_defaultRunProperties.emplace(key, value); return *this; }
95
97
100 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
101 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
102 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; }
103 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); }
104 inline Workflow& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
105 inline Workflow& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
113 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
114 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
115 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
116 inline Workflow& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
117 inline Workflow& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
119
121
124 inline const WorkflowRun& GetLastRun() const{ return m_lastRun; }
125 inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; }
126 inline void SetLastRun(const WorkflowRun& value) { m_lastRunHasBeenSet = true; m_lastRun = value; }
127 inline void SetLastRun(WorkflowRun&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::move(value); }
128 inline Workflow& WithLastRun(const WorkflowRun& value) { SetLastRun(value); return *this;}
129 inline Workflow& WithLastRun(WorkflowRun&& value) { SetLastRun(std::move(value)); return *this;}
131
133
137 inline const WorkflowGraph& GetGraph() const{ return m_graph; }
138 inline bool GraphHasBeenSet() const { return m_graphHasBeenSet; }
139 inline void SetGraph(const WorkflowGraph& value) { m_graphHasBeenSet = true; m_graph = value; }
140 inline void SetGraph(WorkflowGraph&& value) { m_graphHasBeenSet = true; m_graph = std::move(value); }
141 inline Workflow& WithGraph(const WorkflowGraph& value) { SetGraph(value); return *this;}
142 inline Workflow& WithGraph(WorkflowGraph&& value) { SetGraph(std::move(value)); return *this;}
144
146
152 inline int GetMaxConcurrentRuns() const{ return m_maxConcurrentRuns; }
153 inline bool MaxConcurrentRunsHasBeenSet() const { return m_maxConcurrentRunsHasBeenSet; }
154 inline void SetMaxConcurrentRuns(int value) { m_maxConcurrentRunsHasBeenSet = true; m_maxConcurrentRuns = value; }
155 inline Workflow& WithMaxConcurrentRuns(int value) { SetMaxConcurrentRuns(value); return *this;}
157
159
163 inline const BlueprintDetails& GetBlueprintDetails() const{ return m_blueprintDetails; }
164 inline bool BlueprintDetailsHasBeenSet() const { return m_blueprintDetailsHasBeenSet; }
165 inline void SetBlueprintDetails(const BlueprintDetails& value) { m_blueprintDetailsHasBeenSet = true; m_blueprintDetails = value; }
166 inline void SetBlueprintDetails(BlueprintDetails&& value) { m_blueprintDetailsHasBeenSet = true; m_blueprintDetails = std::move(value); }
167 inline Workflow& WithBlueprintDetails(const BlueprintDetails& value) { SetBlueprintDetails(value); return *this;}
168 inline Workflow& WithBlueprintDetails(BlueprintDetails&& value) { SetBlueprintDetails(std::move(value)); return *this;}
170 private:
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::Map<Aws::String, Aws::String> m_defaultRunProperties;
179 bool m_defaultRunPropertiesHasBeenSet = false;
180
181 Aws::Utils::DateTime m_createdOn;
182 bool m_createdOnHasBeenSet = false;
183
184 Aws::Utils::DateTime m_lastModifiedOn;
185 bool m_lastModifiedOnHasBeenSet = false;
186
187 WorkflowRun m_lastRun;
188 bool m_lastRunHasBeenSet = false;
189
190 WorkflowGraph m_graph;
191 bool m_graphHasBeenSet = false;
192
193 int m_maxConcurrentRuns;
194 bool m_maxConcurrentRunsHasBeenSet = false;
195
196 BlueprintDetails m_blueprintDetails;
197 bool m_blueprintDetailsHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Glue
202} // namespace Aws
Workflow & WithLastRun(const WorkflowRun &value)
Definition Workflow.h:128
Workflow & AddDefaultRunProperties(const char *key, Aws::String &&value)
Definition Workflow.h:91
void SetCreatedOn(const Aws::Utils::DateTime &value)
Definition Workflow.h:102
void SetName(const Aws::String &value)
Definition Workflow.h:53
bool LastModifiedOnHasBeenSet() const
Definition Workflow.h:113
const Aws::String & GetName() const
Definition Workflow.h:51
Workflow & AddDefaultRunProperties(Aws::String &&key, Aws::String &&value)
Definition Workflow.h:90
void SetLastRun(const WorkflowRun &value)
Definition Workflow.h:126
Workflow & WithCreatedOn(const Aws::Utils::DateTime &value)
Definition Workflow.h:104
Workflow & WithGraph(WorkflowGraph &&value)
Definition Workflow.h:142
void SetDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition Workflow.h:84
Workflow & WithLastRun(WorkflowRun &&value)
Definition Workflow.h:129
bool BlueprintDetailsHasBeenSet() const
Definition Workflow.h:164
Workflow & AddDefaultRunProperties(Aws::String &&key, const Aws::String &value)
Definition Workflow.h:88
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Workflow.h:114
Workflow & WithGraph(const WorkflowGraph &value)
Definition Workflow.h:141
void SetCreatedOn(Aws::Utils::DateTime &&value)
Definition Workflow.h:103
void SetBlueprintDetails(const BlueprintDetails &value)
Definition Workflow.h:165
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Workflow.h:115
void SetDescription(const Aws::String &value)
Definition Workflow.h:67
Workflow & WithDescription(const Aws::String &value)
Definition Workflow.h:70
Workflow & WithDefaultRunProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition Workflow.h:86
bool DescriptionHasBeenSet() const
Definition Workflow.h:66
const WorkflowGraph & GetGraph() const
Definition Workflow.h:137
Workflow & AddDefaultRunProperties(const Aws::String &key, const Aws::String &value)
Definition Workflow.h:87
const WorkflowRun & GetLastRun() const
Definition Workflow.h:124
Workflow & AddDefaultRunProperties(const Aws::String &key, Aws::String &&value)
Definition Workflow.h:89
Workflow & WithName(Aws::String &&value)
Definition Workflow.h:57
Workflow & WithCreatedOn(Aws::Utils::DateTime &&value)
Definition Workflow.h:105
bool DefaultRunPropertiesHasBeenSet() const
Definition Workflow.h:82
void SetDescription(Aws::String &&value)
Definition Workflow.h:68
Workflow & WithMaxConcurrentRuns(int value)
Definition Workflow.h:155
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Workflow & WithDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition Workflow.h:85
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Workflow.h:100
Workflow & AddDefaultRunProperties(Aws::String &&key, const char *value)
Definition Workflow.h:92
void SetDefaultRunProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition Workflow.h:83
void SetLastRun(WorkflowRun &&value)
Definition Workflow.h:127
Workflow & WithBlueprintDetails(BlueprintDetails &&value)
Definition Workflow.h:168
bool NameHasBeenSet() const
Definition Workflow.h:52
const Aws::Map< Aws::String, Aws::String > & GetDefaultRunProperties() const
Definition Workflow.h:81
void SetDescription(const char *value)
Definition Workflow.h:69
void SetName(const char *value)
Definition Workflow.h:55
int GetMaxConcurrentRuns() const
Definition Workflow.h:152
Workflow & WithLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Workflow.h:117
AWS_GLUE_API Workflow(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
Definition Workflow.h:65
bool CreatedOnHasBeenSet() const
Definition Workflow.h:101
AWS_GLUE_API Workflow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGraph(WorkflowGraph &&value)
Definition Workflow.h:140
const BlueprintDetails & GetBlueprintDetails() const
Definition Workflow.h:163
Workflow & WithDescription(const char *value)
Definition Workflow.h:72
void SetBlueprintDetails(BlueprintDetails &&value)
Definition Workflow.h:166
void SetName(Aws::String &&value)
Definition Workflow.h:54
bool LastRunHasBeenSet() const
Definition Workflow.h:125
bool GraphHasBeenSet() const
Definition Workflow.h:138
Workflow & WithName(const char *value)
Definition Workflow.h:58
Workflow & AddDefaultRunProperties(const char *key, const char *value)
Definition Workflow.h:93
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Workflow.h:112
bool MaxConcurrentRunsHasBeenSet() const
Definition Workflow.h:153
void SetGraph(const WorkflowGraph &value)
Definition Workflow.h:139
Workflow & WithDescription(Aws::String &&value)
Definition Workflow.h:71
Workflow & WithBlueprintDetails(const BlueprintDetails &value)
Definition Workflow.h:167
void SetMaxConcurrentRuns(int value)
Definition Workflow.h:154
Workflow & WithName(const Aws::String &value)
Definition Workflow.h:56
Workflow & WithLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Workflow.h:116
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