AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WorkflowStepExecution.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IMAGEBUILDER_API WorkflowStepExecution() = default;
36 AWS_IMAGEBUILDER_API WorkflowStepExecution(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
47 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
48 template<typename StepExecutionIdT = Aws::String>
49 void SetStepExecutionId(StepExecutionIdT&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::forward<StepExecutionIdT>(value); }
50 template<typename StepExecutionIdT = Aws::String>
51 WorkflowStepExecution& WithStepExecutionId(StepExecutionIdT&& value) { SetStepExecutionId(std::forward<StepExecutionIdT>(value)); return *this;}
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) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value); }
63 template<typename ImageBuildVersionArnT = Aws::String>
64 WorkflowStepExecution& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) { SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetWorkflowExecutionId() const { return m_workflowExecutionId; }
73 inline bool WorkflowExecutionIdHasBeenSet() const { return m_workflowExecutionIdHasBeenSet; }
74 template<typename WorkflowExecutionIdT = Aws::String>
75 void SetWorkflowExecutionId(WorkflowExecutionIdT&& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value); }
76 template<typename WorkflowExecutionIdT = Aws::String>
77 WorkflowStepExecution& WithWorkflowExecutionId(WorkflowExecutionIdT&& value) { SetWorkflowExecutionId(std::forward<WorkflowExecutionIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetWorkflowBuildVersionArn() const { return m_workflowBuildVersionArn; }
85 inline bool WorkflowBuildVersionArnHasBeenSet() const { return m_workflowBuildVersionArnHasBeenSet; }
86 template<typename WorkflowBuildVersionArnT = Aws::String>
87 void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value); }
88 template<typename WorkflowBuildVersionArnT = Aws::String>
89 WorkflowStepExecution& WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { SetWorkflowBuildVersionArn(std::forward<WorkflowBuildVersionArnT>(value)); return *this;}
91
93
96 inline const Aws::String& GetName() const { return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 template<typename NameT = Aws::String>
99 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
100 template<typename NameT = Aws::String>
101 WorkflowStepExecution& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
103
105
108 inline const Aws::String& GetAction() const { return m_action; }
109 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
110 template<typename ActionT = Aws::String>
111 void SetAction(ActionT&& value) { m_actionHasBeenSet = true; m_action = std::forward<ActionT>(value); }
112 template<typename ActionT = Aws::String>
113 WorkflowStepExecution& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
115
117
120 inline const Aws::String& GetStartTime() const { return m_startTime; }
121 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
122 template<typename StartTimeT = Aws::String>
123 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
124 template<typename StartTimeT = Aws::String>
125 WorkflowStepExecution& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
127 private:
128
129 Aws::String m_stepExecutionId;
130 bool m_stepExecutionIdHasBeenSet = false;
131
132 Aws::String m_imageBuildVersionArn;
133 bool m_imageBuildVersionArnHasBeenSet = false;
134
135 Aws::String m_workflowExecutionId;
136 bool m_workflowExecutionIdHasBeenSet = false;
137
138 Aws::String m_workflowBuildVersionArn;
139 bool m_workflowBuildVersionArnHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 Aws::String m_action;
145 bool m_actionHasBeenSet = false;
146
147 Aws::String m_startTime;
148 bool m_startTimeHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace imagebuilder
153} // 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