AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
WorkflowStepExecution.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
29 public:
30 AWS_IMAGEBUILDER_API WorkflowStepExecution() = default;
31 AWS_IMAGEBUILDER_API WorkflowStepExecution(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
41 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
42 template <typename StepExecutionIdT = Aws::String>
43 void SetStepExecutionId(StepExecutionIdT&& value) {
44 m_stepExecutionIdHasBeenSet = true;
45 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
46 }
47 template <typename StepExecutionIdT = Aws::String>
48 WorkflowStepExecution& WithStepExecutionId(StepExecutionIdT&& value) {
49 SetStepExecutionId(std::forward<StepExecutionIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetImageBuildVersionArn() const { return m_imageBuildVersionArn; }
60 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
61 template <typename ImageBuildVersionArnT = Aws::String>
62 void SetImageBuildVersionArn(ImageBuildVersionArnT&& value) {
63 m_imageBuildVersionArnHasBeenSet = true;
64 m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value);
65 }
66 template <typename ImageBuildVersionArnT = Aws::String>
67 WorkflowStepExecution& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) {
68 SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetWorkflowExecutionId() const { return m_workflowExecutionId; }
79 inline bool WorkflowExecutionIdHasBeenSet() const { return m_workflowExecutionIdHasBeenSet; }
80 template <typename WorkflowExecutionIdT = Aws::String>
81 void SetWorkflowExecutionId(WorkflowExecutionIdT&& value) {
82 m_workflowExecutionIdHasBeenSet = true;
83 m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value);
84 }
85 template <typename WorkflowExecutionIdT = Aws::String>
86 WorkflowStepExecution& WithWorkflowExecutionId(WorkflowExecutionIdT&& value) {
87 SetWorkflowExecutionId(std::forward<WorkflowExecutionIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetWorkflowBuildVersionArn() const { return m_workflowBuildVersionArn; }
97 inline bool WorkflowBuildVersionArnHasBeenSet() const { return m_workflowBuildVersionArnHasBeenSet; }
98 template <typename WorkflowBuildVersionArnT = Aws::String>
99 void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) {
100 m_workflowBuildVersionArnHasBeenSet = true;
101 m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value);
102 }
103 template <typename WorkflowBuildVersionArnT = Aws::String>
104 WorkflowStepExecution& WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) {
105 SetWorkflowBuildVersionArn(std::forward<WorkflowBuildVersionArnT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetName() const { return m_name; }
115 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 template <typename NameT = Aws::String>
117 void SetName(NameT&& value) {
118 m_nameHasBeenSet = true;
119 m_name = std::forward<NameT>(value);
120 }
121 template <typename NameT = Aws::String>
123 SetName(std::forward<NameT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetAction() const { return m_action; }
133 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
134 template <typename ActionT = Aws::String>
135 void SetAction(ActionT&& value) {
136 m_actionHasBeenSet = true;
137 m_action = std::forward<ActionT>(value);
138 }
139 template <typename ActionT = Aws::String>
141 SetAction(std::forward<ActionT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetStartTime() const { return m_startTime; }
151 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
152 template <typename StartTimeT = Aws::String>
153 void SetStartTime(StartTimeT&& value) {
154 m_startTimeHasBeenSet = true;
155 m_startTime = std::forward<StartTimeT>(value);
156 }
157 template <typename StartTimeT = Aws::String>
159 SetStartTime(std::forward<StartTimeT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_stepExecutionId;
165
166 Aws::String m_imageBuildVersionArn;
167
168 Aws::String m_workflowExecutionId;
169
170 Aws::String m_workflowBuildVersionArn;
171
172 Aws::String m_name;
173
174 Aws::String m_action;
175
176 Aws::String m_startTime;
177 bool m_stepExecutionIdHasBeenSet = false;
178 bool m_imageBuildVersionArnHasBeenSet = false;
179 bool m_workflowExecutionIdHasBeenSet = false;
180 bool m_workflowBuildVersionArnHasBeenSet = false;
181 bool m_nameHasBeenSet = false;
182 bool m_actionHasBeenSet = false;
183 bool m_startTimeHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace imagebuilder
188} // namespace Aws
void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
WorkflowStepExecution & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
WorkflowStepExecution & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
WorkflowStepExecution & WithStartTime(StartTimeT &&value)
WorkflowStepExecution & WithName(NameT &&value)
AWS_IMAGEBUILDER_API WorkflowStepExecution(Aws::Utils::Json::JsonView jsonValue)
void SetImageBuildVersionArn(ImageBuildVersionArnT &&value)
WorkflowStepExecution & WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowStepExecution & WithAction(ActionT &&value)
WorkflowStepExecution & WithStepExecutionId(StepExecutionIdT &&value)
AWS_IMAGEBUILDER_API WorkflowStepExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API WorkflowStepExecution()=default
void SetWorkflowExecutionId(WorkflowExecutionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue