AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = value; }
49 inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::move(value); }
50 inline void SetStepExecutionId(const char* value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId.assign(value); }
51 inline WorkflowStepExecution& WithStepExecutionId(const Aws::String& value) { SetStepExecutionId(value); return *this;}
52 inline WorkflowStepExecution& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;}
53 inline WorkflowStepExecution& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;}
55
57
61 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
62 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
63 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = value; }
64 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::move(value); }
65 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn.assign(value); }
67 inline WorkflowStepExecution& WithImageBuildVersionArn(Aws::String&& value) { SetImageBuildVersionArn(std::move(value)); return *this;}
68 inline WorkflowStepExecution& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
70
72
76 inline const Aws::String& GetWorkflowExecutionId() const{ return m_workflowExecutionId; }
77 inline bool WorkflowExecutionIdHasBeenSet() const { return m_workflowExecutionIdHasBeenSet; }
78 inline void SetWorkflowExecutionId(const Aws::String& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = value; }
79 inline void SetWorkflowExecutionId(Aws::String&& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = std::move(value); }
80 inline void SetWorkflowExecutionId(const char* value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId.assign(value); }
82 inline WorkflowStepExecution& WithWorkflowExecutionId(Aws::String&& value) { SetWorkflowExecutionId(std::move(value)); return *this;}
83 inline WorkflowStepExecution& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;}
85
87
90 inline const Aws::String& GetWorkflowBuildVersionArn() const{ return m_workflowBuildVersionArn; }
91 inline bool WorkflowBuildVersionArnHasBeenSet() const { return m_workflowBuildVersionArnHasBeenSet; }
92 inline void SetWorkflowBuildVersionArn(const Aws::String& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = value; }
93 inline void SetWorkflowBuildVersionArn(Aws::String&& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = std::move(value); }
94 inline void SetWorkflowBuildVersionArn(const char* value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn.assign(value); }
97 inline WorkflowStepExecution& WithWorkflowBuildVersionArn(const char* value) { SetWorkflowBuildVersionArn(value); return *this;}
99
101
104 inline const Aws::String& GetName() const{ return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
107 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
108 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
109 inline WorkflowStepExecution& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline WorkflowStepExecution& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline WorkflowStepExecution& WithName(const char* value) { SetName(value); return *this;}
113
115
118 inline const Aws::String& GetAction() const{ return m_action; }
119 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
120 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
121 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
122 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
123 inline WorkflowStepExecution& WithAction(const Aws::String& value) { SetAction(value); return *this;}
124 inline WorkflowStepExecution& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
125 inline WorkflowStepExecution& WithAction(const char* value) { SetAction(value); return *this;}
127
129
132 inline const Aws::String& GetStartTime() const{ return m_startTime; }
133 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
134 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
135 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
136 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
137 inline WorkflowStepExecution& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
138 inline WorkflowStepExecution& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
139 inline WorkflowStepExecution& WithStartTime(const char* value) { SetStartTime(value); return *this;}
141 private:
142
143 Aws::String m_stepExecutionId;
144 bool m_stepExecutionIdHasBeenSet = false;
145
146 Aws::String m_imageBuildVersionArn;
147 bool m_imageBuildVersionArnHasBeenSet = false;
148
149 Aws::String m_workflowExecutionId;
150 bool m_workflowExecutionIdHasBeenSet = false;
151
152 Aws::String m_workflowBuildVersionArn;
153 bool m_workflowBuildVersionArnHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_action;
159 bool m_actionHasBeenSet = false;
160
161 Aws::String m_startTime;
162 bool m_startTimeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace imagebuilder
167} // namespace Aws
WorkflowStepExecution & WithImageBuildVersionArn(const Aws::String &value)
WorkflowStepExecution & WithStepExecutionId(Aws::String &&value)
WorkflowStepExecution & WithAction(Aws::String &&value)
WorkflowStepExecution & WithWorkflowExecutionId(const Aws::String &value)
WorkflowStepExecution & WithImageBuildVersionArn(const char *value)
WorkflowStepExecution & WithWorkflowBuildVersionArn(const char *value)
WorkflowStepExecution & WithStartTime(const Aws::String &value)
WorkflowStepExecution & WithImageBuildVersionArn(Aws::String &&value)
WorkflowStepExecution & WithStepExecutionId(const char *value)
WorkflowStepExecution & WithWorkflowExecutionId(const char *value)
WorkflowStepExecution & WithName(Aws::String &&value)
WorkflowStepExecution & WithAction(const Aws::String &value)
AWS_IMAGEBUILDER_API WorkflowStepExecution(Aws::Utils::Json::JsonView jsonValue)
WorkflowStepExecution & WithAction(const char *value)
WorkflowStepExecution & WithStepExecutionId(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowStepExecution & WithName(const char *value)
void SetWorkflowBuildVersionArn(const Aws::String &value)
WorkflowStepExecution & WithWorkflowBuildVersionArn(const Aws::String &value)
WorkflowStepExecution & WithStartTime(Aws::String &&value)
WorkflowStepExecution & WithWorkflowBuildVersionArn(Aws::String &&value)
WorkflowStepExecution & WithWorkflowExecutionId(Aws::String &&value)
AWS_IMAGEBUILDER_API WorkflowStepExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowStepExecution & WithName(const Aws::String &value)
WorkflowStepExecution & WithStartTime(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue