AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlueprintRun.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/BlueprintRunState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API BlueprintRun();
40
41
43
46 inline const Aws::String& GetBlueprintName() const{ return m_blueprintName; }
47 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
48 inline void SetBlueprintName(const Aws::String& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = value; }
49 inline void SetBlueprintName(Aws::String&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::move(value); }
50 inline void SetBlueprintName(const char* value) { m_blueprintNameHasBeenSet = true; m_blueprintName.assign(value); }
51 inline BlueprintRun& WithBlueprintName(const Aws::String& value) { SetBlueprintName(value); return *this;}
52 inline BlueprintRun& WithBlueprintName(Aws::String&& value) { SetBlueprintName(std::move(value)); return *this;}
53 inline BlueprintRun& WithBlueprintName(const char* value) { SetBlueprintName(value); return *this;}
55
57
60 inline const Aws::String& GetRunId() const{ return m_runId; }
61 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
62 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
63 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
64 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
65 inline BlueprintRun& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
66 inline BlueprintRun& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
67 inline BlueprintRun& WithRunId(const char* value) { SetRunId(value); return *this;}
69
71
75 inline const Aws::String& GetWorkflowName() const{ return m_workflowName; }
76 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
77 inline void SetWorkflowName(const Aws::String& value) { m_workflowNameHasBeenSet = true; m_workflowName = value; }
78 inline void SetWorkflowName(Aws::String&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::move(value); }
79 inline void SetWorkflowName(const char* value) { m_workflowNameHasBeenSet = true; m_workflowName.assign(value); }
80 inline BlueprintRun& WithWorkflowName(const Aws::String& value) { SetWorkflowName(value); return *this;}
81 inline BlueprintRun& WithWorkflowName(Aws::String&& value) { SetWorkflowName(std::move(value)); return *this;}
82 inline BlueprintRun& WithWorkflowName(const char* value) { SetWorkflowName(value); return *this;}
84
86
93 inline const BlueprintRunState& GetState() const{ return m_state; }
94 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
95 inline void SetState(const BlueprintRunState& value) { m_stateHasBeenSet = true; m_state = value; }
96 inline void SetState(BlueprintRunState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
97 inline BlueprintRun& WithState(const BlueprintRunState& value) { SetState(value); return *this;}
98 inline BlueprintRun& WithState(BlueprintRunState&& value) { SetState(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
106 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
107 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; }
108 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); }
109 inline BlueprintRun& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
110 inline BlueprintRun& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
118 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
119 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; }
120 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); }
121 inline BlueprintRun& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
122 inline BlueprintRun& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
130 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
131 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
132 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
133 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
134 inline BlueprintRun& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
135 inline BlueprintRun& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
136 inline BlueprintRun& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
138
140
146 inline const Aws::String& GetRollbackErrorMessage() const{ return m_rollbackErrorMessage; }
147 inline bool RollbackErrorMessageHasBeenSet() const { return m_rollbackErrorMessageHasBeenSet; }
148 inline void SetRollbackErrorMessage(const Aws::String& value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage = value; }
149 inline void SetRollbackErrorMessage(Aws::String&& value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage = std::move(value); }
150 inline void SetRollbackErrorMessage(const char* value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage.assign(value); }
151 inline BlueprintRun& WithRollbackErrorMessage(const Aws::String& value) { SetRollbackErrorMessage(value); return *this;}
152 inline BlueprintRun& WithRollbackErrorMessage(Aws::String&& value) { SetRollbackErrorMessage(std::move(value)); return *this;}
153 inline BlueprintRun& WithRollbackErrorMessage(const char* value) { SetRollbackErrorMessage(value); return *this;}
155
157
162 inline const Aws::String& GetParameters() const{ return m_parameters; }
163 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
164 inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
165 inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
166 inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
167 inline BlueprintRun& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
168 inline BlueprintRun& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
169 inline BlueprintRun& WithParameters(const char* value) { SetParameters(value); return *this;}
171
173
177 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
178 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
179 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
180 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
181 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
182 inline BlueprintRun& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
183 inline BlueprintRun& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
184 inline BlueprintRun& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
186 private:
187
188 Aws::String m_blueprintName;
189 bool m_blueprintNameHasBeenSet = false;
190
191 Aws::String m_runId;
192 bool m_runIdHasBeenSet = false;
193
194 Aws::String m_workflowName;
195 bool m_workflowNameHasBeenSet = false;
196
197 BlueprintRunState m_state;
198 bool m_stateHasBeenSet = false;
199
200 Aws::Utils::DateTime m_startedOn;
201 bool m_startedOnHasBeenSet = false;
202
203 Aws::Utils::DateTime m_completedOn;
204 bool m_completedOnHasBeenSet = false;
205
206 Aws::String m_errorMessage;
207 bool m_errorMessageHasBeenSet = false;
208
209 Aws::String m_rollbackErrorMessage;
210 bool m_rollbackErrorMessageHasBeenSet = false;
211
212 Aws::String m_parameters;
213 bool m_parametersHasBeenSet = false;
214
215 Aws::String m_roleArn;
216 bool m_roleArnHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Glue
221} // namespace Aws
void SetCompletedOn(Aws::Utils::DateTime &&value)
BlueprintRun & WithRoleArn(Aws::String &&value)
const Aws::String & GetRunId() const
BlueprintRun & WithStartedOn(const Aws::Utils::DateTime &value)
BlueprintRun & WithParameters(Aws::String &&value)
BlueprintRun & WithRollbackErrorMessage(Aws::String &&value)
void SetRollbackErrorMessage(const Aws::String &value)
BlueprintRun & WithRunId(const Aws::String &value)
BlueprintRun & WithState(const BlueprintRunState &value)
void SetRunId(const Aws::String &value)
BlueprintRun & WithState(BlueprintRunState &&value)
AWS_GLUE_API BlueprintRun(Aws::Utils::Json::JsonView jsonValue)
BlueprintRun & WithCompletedOn(const Aws::Utils::DateTime &value)
void SetStartedOn(Aws::Utils::DateTime &&value)
BlueprintRun & WithErrorMessage(Aws::String &&value)
const Aws::String & GetParameters() const
const Aws::String & GetRoleArn() const
BlueprintRun & WithBlueprintName(const char *value)
BlueprintRun & WithRollbackErrorMessage(const Aws::String &value)
const Aws::String & GetRollbackErrorMessage() const
BlueprintRun & WithParameters(const char *value)
BlueprintRun & WithCompletedOn(Aws::Utils::DateTime &&value)
BlueprintRun & WithErrorMessage(const char *value)
BlueprintRun & WithErrorMessage(const Aws::String &value)
void SetRoleArn(const char *value)
AWS_GLUE_API BlueprintRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletedOn() const
void SetErrorMessage(Aws::String &&value)
const BlueprintRunState & GetState() const
BlueprintRun & WithRoleArn(const char *value)
void SetErrorMessage(const char *value)
void SetWorkflowName(Aws::String &&value)
BlueprintRun & WithStartedOn(Aws::Utils::DateTime &&value)
void SetStartedOn(const Aws::Utils::DateTime &value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BlueprintRun & WithWorkflowName(const Aws::String &value)
void SetBlueprintName(const char *value)
void SetWorkflowName(const Aws::String &value)
const Aws::String & GetErrorMessage() const
void SetRoleArn(Aws::String &&value)
BlueprintRun & WithRunId(const char *value)
void SetState(const BlueprintRunState &value)
void SetRollbackErrorMessage(const char *value)
BlueprintRun & WithRunId(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
BlueprintRun & WithBlueprintName(Aws::String &&value)
void SetBlueprintName(Aws::String &&value)
void SetRunId(Aws::String &&value)
void SetBlueprintName(const Aws::String &value)
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::String & GetBlueprintName() const
void SetParameters(Aws::String &&value)
void SetWorkflowName(const char *value)
const Aws::String & GetWorkflowName() const
bool RollbackErrorMessageHasBeenSet() const
void SetRollbackErrorMessage(Aws::String &&value)
BlueprintRun & WithParameters(const Aws::String &value)
BlueprintRun & WithWorkflowName(const char *value)
void SetRunId(const char *value)
BlueprintRun & WithWorkflowName(Aws::String &&value)
BlueprintRun & WithRoleArn(const Aws::String &value)
void SetState(BlueprintRunState &&value)
void SetParameters(const Aws::String &value)
void SetParameters(const char *value)
BlueprintRun & WithRollbackErrorMessage(const char *value)
BlueprintRun & WithBlueprintName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue