AWS SDK for C++

AWS SDK for C++ Version 1.11.901

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
30 public:
31 AWS_IMAGEBUILDER_API WorkflowStepExecution() = default;
32 AWS_IMAGEBUILDER_API WorkflowStepExecution(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
42 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
43 template <typename StepExecutionIdT = Aws::String>
44 void SetStepExecutionId(StepExecutionIdT&& value) {
45 m_stepExecutionIdHasBeenSet = true;
46 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
47 }
48 template <typename StepExecutionIdT = Aws::String>
49 WorkflowStepExecution& WithStepExecutionId(StepExecutionIdT&& value) {
50 SetStepExecutionId(std::forward<StepExecutionIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetImageBuildVersionArn() const { return m_imageBuildVersionArn; }
61 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
62 template <typename ImageBuildVersionArnT = Aws::String>
63 void SetImageBuildVersionArn(ImageBuildVersionArnT&& value) {
64 m_imageBuildVersionArnHasBeenSet = true;
65 m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value);
66 }
67 template <typename ImageBuildVersionArnT = Aws::String>
68 WorkflowStepExecution& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) {
69 SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetWorkflowExecutionId() const { return m_workflowExecutionId; }
80 inline bool WorkflowExecutionIdHasBeenSet() const { return m_workflowExecutionIdHasBeenSet; }
81 template <typename WorkflowExecutionIdT = Aws::String>
82 void SetWorkflowExecutionId(WorkflowExecutionIdT&& value) {
83 m_workflowExecutionIdHasBeenSet = true;
84 m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value);
85 }
86 template <typename WorkflowExecutionIdT = Aws::String>
87 WorkflowStepExecution& WithWorkflowExecutionId(WorkflowExecutionIdT&& value) {
88 SetWorkflowExecutionId(std::forward<WorkflowExecutionIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetWorkflowBuildVersionArn() const { return m_workflowBuildVersionArn; }
98 inline bool WorkflowBuildVersionArnHasBeenSet() const { return m_workflowBuildVersionArnHasBeenSet; }
99 template <typename WorkflowBuildVersionArnT = Aws::String>
100 void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) {
101 m_workflowBuildVersionArnHasBeenSet = true;
102 m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value);
103 }
104 template <typename WorkflowBuildVersionArnT = Aws::String>
105 WorkflowStepExecution& WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) {
106 SetWorkflowBuildVersionArn(std::forward<WorkflowBuildVersionArnT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetName() const { return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 template <typename NameT = Aws::String>
118 void SetName(NameT&& value) {
119 m_nameHasBeenSet = true;
120 m_name = std::forward<NameT>(value);
121 }
122 template <typename NameT = Aws::String>
124 SetName(std::forward<NameT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetAction() const { return m_action; }
134 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
135 template <typename ActionT = Aws::String>
136 void SetAction(ActionT&& value) {
137 m_actionHasBeenSet = true;
138 m_action = std::forward<ActionT>(value);
139 }
140 template <typename ActionT = Aws::String>
142 SetAction(std::forward<ActionT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetStartTime() const { return m_startTime; }
152 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
153 template <typename StartTimeT = Aws::String>
154 void SetStartTime(StartTimeT&& value) {
155 m_startTimeHasBeenSet = true;
156 m_startTime = std::forward<StartTimeT>(value);
157 }
158 template <typename StartTimeT = Aws::String>
160 SetStartTime(std::forward<StartTimeT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_stepExecutionId;
166
167 Aws::String m_imageBuildVersionArn;
168
169 Aws::String m_workflowExecutionId;
170
171 Aws::String m_workflowBuildVersionArn;
172
173 Aws::String m_name;
174
175 Aws::String m_action;
176
177 Aws::String m_startTime;
178 bool m_stepExecutionIdHasBeenSet = false;
179 bool m_imageBuildVersionArnHasBeenSet = false;
180 bool m_workflowExecutionIdHasBeenSet = false;
181 bool m_workflowBuildVersionArnHasBeenSet = false;
182 bool m_nameHasBeenSet = false;
183 bool m_actionHasBeenSet = false;
184 bool m_startTimeHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace imagebuilder
189} // 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