AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionExecutionDetail.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codepipeline/model/ActionExecutionStatus.h>
11#include <aws/codepipeline/model/ActionExecutionInput.h>
12#include <aws/codepipeline/model/ActionExecutionOutput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CodePipeline
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_CODEPIPELINE_API ActionExecutionDetail();
41 AWS_CODEPIPELINE_API ActionExecutionDetail(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; }
51 inline bool PipelineExecutionIdHasBeenSet() const { return m_pipelineExecutionIdHasBeenSet; }
52 inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = value; }
53 inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = std::move(value); }
54 inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId.assign(value); }
56 inline ActionExecutionDetail& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;}
57 inline ActionExecutionDetail& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(value); return *this;}
59
61
64 inline const Aws::String& GetActionExecutionId() const{ return m_actionExecutionId; }
65 inline bool ActionExecutionIdHasBeenSet() const { return m_actionExecutionIdHasBeenSet; }
66 inline void SetActionExecutionId(const Aws::String& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = value; }
67 inline void SetActionExecutionId(Aws::String&& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = std::move(value); }
68 inline void SetActionExecutionId(const char* value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId.assign(value); }
69 inline ActionExecutionDetail& WithActionExecutionId(const Aws::String& value) { SetActionExecutionId(value); return *this;}
70 inline ActionExecutionDetail& WithActionExecutionId(Aws::String&& value) { SetActionExecutionId(std::move(value)); return *this;}
71 inline ActionExecutionDetail& WithActionExecutionId(const char* value) { SetActionExecutionId(value); return *this;}
73
75
78 inline int GetPipelineVersion() const{ return m_pipelineVersion; }
79 inline bool PipelineVersionHasBeenSet() const { return m_pipelineVersionHasBeenSet; }
80 inline void SetPipelineVersion(int value) { m_pipelineVersionHasBeenSet = true; m_pipelineVersion = value; }
81 inline ActionExecutionDetail& WithPipelineVersion(int value) { SetPipelineVersion(value); return *this;}
83
85
88 inline const Aws::String& GetStageName() const{ return m_stageName; }
89 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
90 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
91 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
92 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
93 inline ActionExecutionDetail& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
94 inline ActionExecutionDetail& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
95 inline ActionExecutionDetail& WithStageName(const char* value) { SetStageName(value); return *this;}
97
99
102 inline const Aws::String& GetActionName() const{ return m_actionName; }
103 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
104 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
105 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
106 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
107 inline ActionExecutionDetail& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
108 inline ActionExecutionDetail& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
109 inline ActionExecutionDetail& WithActionName(const char* value) { SetActionName(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
117 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
118 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
119 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
120 inline ActionExecutionDetail& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
121 inline ActionExecutionDetail& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
129 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
130 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
131 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
133 inline ActionExecutionDetail& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
141 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
142 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
143 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
144 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
145 inline ActionExecutionDetail& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
146 inline ActionExecutionDetail& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
147 inline ActionExecutionDetail& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
149
151
155 inline const ActionExecutionStatus& GetStatus() const{ return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
157 inline void SetStatus(const ActionExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
158 inline void SetStatus(ActionExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
159 inline ActionExecutionDetail& WithStatus(const ActionExecutionStatus& value) { SetStatus(value); return *this;}
160 inline ActionExecutionDetail& WithStatus(ActionExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
162
164
168 inline const ActionExecutionInput& GetInput() const{ return m_input; }
169 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
170 inline void SetInput(const ActionExecutionInput& value) { m_inputHasBeenSet = true; m_input = value; }
171 inline void SetInput(ActionExecutionInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
172 inline ActionExecutionDetail& WithInput(const ActionExecutionInput& value) { SetInput(value); return *this;}
173 inline ActionExecutionDetail& WithInput(ActionExecutionInput&& value) { SetInput(std::move(value)); return *this;}
175
177
181 inline const ActionExecutionOutput& GetOutput() const{ return m_output; }
182 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
183 inline void SetOutput(const ActionExecutionOutput& value) { m_outputHasBeenSet = true; m_output = value; }
184 inline void SetOutput(ActionExecutionOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
185 inline ActionExecutionDetail& WithOutput(const ActionExecutionOutput& value) { SetOutput(value); return *this;}
186 inline ActionExecutionDetail& WithOutput(ActionExecutionOutput&& value) { SetOutput(std::move(value)); return *this;}
188 private:
189
190 Aws::String m_pipelineExecutionId;
191 bool m_pipelineExecutionIdHasBeenSet = false;
192
193 Aws::String m_actionExecutionId;
194 bool m_actionExecutionIdHasBeenSet = false;
195
196 int m_pipelineVersion;
197 bool m_pipelineVersionHasBeenSet = false;
198
199 Aws::String m_stageName;
200 bool m_stageNameHasBeenSet = false;
201
202 Aws::String m_actionName;
203 bool m_actionNameHasBeenSet = false;
204
205 Aws::Utils::DateTime m_startTime;
206 bool m_startTimeHasBeenSet = false;
207
208 Aws::Utils::DateTime m_lastUpdateTime;
209 bool m_lastUpdateTimeHasBeenSet = false;
210
211 Aws::String m_updatedBy;
212 bool m_updatedByHasBeenSet = false;
213
214 ActionExecutionStatus m_status;
215 bool m_statusHasBeenSet = false;
216
217 ActionExecutionInput m_input;
218 bool m_inputHasBeenSet = false;
219
220 ActionExecutionOutput m_output;
221 bool m_outputHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace CodePipeline
226} // namespace Aws
ActionExecutionDetail & WithPipelineExecutionId(const Aws::String &value)
AWS_CODEPIPELINE_API ActionExecutionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionDetail & WithInput(const ActionExecutionInput &value)
ActionExecutionDetail & WithStageName(const char *value)
void SetInput(const ActionExecutionInput &value)
ActionExecutionDetail & WithStartTime(Aws::Utils::DateTime &&value)
ActionExecutionDetail & WithInput(ActionExecutionInput &&value)
ActionExecutionDetail & WithPipelineExecutionId(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
ActionExecutionDetail & WithActionExecutionId(Aws::String &&value)
const ActionExecutionStatus & GetStatus() const
ActionExecutionDetail & WithLastUpdateTime(const Aws::Utils::DateTime &value)
ActionExecutionDetail & WithStageName(Aws::String &&value)
ActionExecutionDetail & WithLastUpdateTime(Aws::Utils::DateTime &&value)
ActionExecutionDetail & WithActionExecutionId(const Aws::String &value)
ActionExecutionDetail & WithOutput(ActionExecutionOutput &&value)
ActionExecutionDetail & WithUpdatedBy(Aws::String &&value)
ActionExecutionDetail & WithPipelineVersion(int value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionDetail & WithOutput(const ActionExecutionOutput &value)
ActionExecutionDetail & WithActionName(Aws::String &&value)
void SetOutput(const ActionExecutionOutput &value)
AWS_CODEPIPELINE_API ActionExecutionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(const Aws::Utils::DateTime &value)
ActionExecutionDetail & WithStartTime(const Aws::Utils::DateTime &value)
void SetStatus(const ActionExecutionStatus &value)
ActionExecutionDetail & WithUpdatedBy(const char *value)
const ActionExecutionOutput & GetOutput() const
ActionExecutionDetail & WithActionExecutionId(const char *value)
ActionExecutionDetail & WithActionName(const Aws::String &value)
ActionExecutionDetail & WithActionName(const char *value)
ActionExecutionDetail & WithStageName(const Aws::String &value)
ActionExecutionDetail & WithStatus(const ActionExecutionStatus &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ActionExecutionDetail & WithUpdatedBy(const Aws::String &value)
ActionExecutionDetail & WithStatus(ActionExecutionStatus &&value)
ActionExecutionDetail & WithPipelineExecutionId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const ActionExecutionInput & GetInput() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue