AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
40
41
43
46 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
47 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
48 template<typename BlueprintNameT = Aws::String>
49 void SetBlueprintName(BlueprintNameT&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::forward<BlueprintNameT>(value); }
50 template<typename BlueprintNameT = Aws::String>
51 BlueprintRun& WithBlueprintName(BlueprintNameT&& value) { SetBlueprintName(std::forward<BlueprintNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRunId() const { return m_runId; }
59 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
60 template<typename RunIdT = Aws::String>
61 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
62 template<typename RunIdT = Aws::String>
63 BlueprintRun& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
65
67
71 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
72 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
73 template<typename WorkflowNameT = Aws::String>
74 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::forward<WorkflowNameT>(value); }
75 template<typename WorkflowNameT = Aws::String>
76 BlueprintRun& WithWorkflowName(WorkflowNameT&& value) { SetWorkflowName(std::forward<WorkflowNameT>(value)); return *this;}
78
80
87 inline BlueprintRunState GetState() const { return m_state; }
88 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
89 inline void SetState(BlueprintRunState value) { m_stateHasBeenSet = true; m_state = value; }
90 inline BlueprintRun& WithState(BlueprintRunState value) { SetState(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
98 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
99 template<typename StartedOnT = Aws::Utils::DateTime>
100 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::forward<StartedOnT>(value); }
101 template<typename StartedOnT = Aws::Utils::DateTime>
102 BlueprintRun& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
110 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
111 template<typename CompletedOnT = Aws::Utils::DateTime>
112 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::forward<CompletedOnT>(value); }
113 template<typename CompletedOnT = Aws::Utils::DateTime>
114 BlueprintRun& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
116
118
121 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
122 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
123 template<typename ErrorMessageT = Aws::String>
124 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
125 template<typename ErrorMessageT = Aws::String>
126 BlueprintRun& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
128
130
136 inline const Aws::String& GetRollbackErrorMessage() const { return m_rollbackErrorMessage; }
137 inline bool RollbackErrorMessageHasBeenSet() const { return m_rollbackErrorMessageHasBeenSet; }
138 template<typename RollbackErrorMessageT = Aws::String>
139 void SetRollbackErrorMessage(RollbackErrorMessageT&& value) { m_rollbackErrorMessageHasBeenSet = true; m_rollbackErrorMessage = std::forward<RollbackErrorMessageT>(value); }
140 template<typename RollbackErrorMessageT = Aws::String>
141 BlueprintRun& WithRollbackErrorMessage(RollbackErrorMessageT&& value) { SetRollbackErrorMessage(std::forward<RollbackErrorMessageT>(value)); return *this;}
143
145
150 inline const Aws::String& GetParameters() const { return m_parameters; }
151 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
152 template<typename ParametersT = Aws::String>
153 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
154 template<typename ParametersT = Aws::String>
155 BlueprintRun& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
157
159
163 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
164 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
165 template<typename RoleArnT = Aws::String>
166 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
167 template<typename RoleArnT = Aws::String>
168 BlueprintRun& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
170 private:
171
172 Aws::String m_blueprintName;
173 bool m_blueprintNameHasBeenSet = false;
174
175 Aws::String m_runId;
176 bool m_runIdHasBeenSet = false;
177
178 Aws::String m_workflowName;
179 bool m_workflowNameHasBeenSet = false;
180
182 bool m_stateHasBeenSet = false;
183
184 Aws::Utils::DateTime m_startedOn{};
185 bool m_startedOnHasBeenSet = false;
186
187 Aws::Utils::DateTime m_completedOn{};
188 bool m_completedOnHasBeenSet = false;
189
190 Aws::String m_errorMessage;
191 bool m_errorMessageHasBeenSet = false;
192
193 Aws::String m_rollbackErrorMessage;
194 bool m_rollbackErrorMessageHasBeenSet = false;
195
196 Aws::String m_parameters;
197 bool m_parametersHasBeenSet = false;
198
199 Aws::String m_roleArn;
200 bool m_roleArnHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace Glue
205} // namespace Aws
const Aws::String & GetRunId() const
BlueprintRun & WithErrorMessage(ErrorMessageT &&value)
void SetBlueprintName(BlueprintNameT &&value)
AWS_GLUE_API BlueprintRun(Aws::Utils::Json::JsonView jsonValue)
BlueprintRun & WithStartedOn(StartedOnT &&value)
const Aws::String & GetParameters() const
const Aws::String & GetRoleArn() const
void SetRoleArn(RoleArnT &&value)
BlueprintRun & WithBlueprintName(BlueprintNameT &&value)
const Aws::String & GetRollbackErrorMessage() const
void SetParameters(ParametersT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetState(BlueprintRunState value)
BlueprintRun & WithRoleArn(RoleArnT &&value)
AWS_GLUE_API BlueprintRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletedOn() const
void SetWorkflowName(WorkflowNameT &&value)
BlueprintRun & WithWorkflowName(WorkflowNameT &&value)
BlueprintRun & WithParameters(ParametersT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BlueprintRunState GetState() const
const Aws::String & GetErrorMessage() const
void SetRollbackErrorMessage(RollbackErrorMessageT &&value)
BlueprintRun & WithRollbackErrorMessage(RollbackErrorMessageT &&value)
BlueprintRun & WithState(BlueprintRunState value)
BlueprintRun & WithRunId(RunIdT &&value)
BlueprintRun & WithCompletedOn(CompletedOnT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::String & GetBlueprintName() const
AWS_GLUE_API BlueprintRun()=default
const Aws::String & GetWorkflowName() const
void SetCompletedOn(CompletedOnT &&value)
bool RollbackErrorMessageHasBeenSet() const
void SetStartedOn(StartedOnT &&value)
void SetRunId(RunIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue