AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PipelineExecutionIdT = Aws::String>
53 void SetPipelineExecutionId(PipelineExecutionIdT&& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value); }
54 template<typename PipelineExecutionIdT = Aws::String>
55 ActionExecutionDetail& WithPipelineExecutionId(PipelineExecutionIdT&& value) { SetPipelineExecutionId(std::forward<PipelineExecutionIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetActionExecutionId() const { return m_actionExecutionId; }
63 inline bool ActionExecutionIdHasBeenSet() const { return m_actionExecutionIdHasBeenSet; }
64 template<typename ActionExecutionIdT = Aws::String>
65 void SetActionExecutionId(ActionExecutionIdT&& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = std::forward<ActionExecutionIdT>(value); }
66 template<typename ActionExecutionIdT = Aws::String>
67 ActionExecutionDetail& WithActionExecutionId(ActionExecutionIdT&& value) { SetActionExecutionId(std::forward<ActionExecutionIdT>(value)); return *this;}
69
71
74 inline int GetPipelineVersion() const { return m_pipelineVersion; }
75 inline bool PipelineVersionHasBeenSet() const { return m_pipelineVersionHasBeenSet; }
76 inline void SetPipelineVersion(int value) { m_pipelineVersionHasBeenSet = true; m_pipelineVersion = value; }
77 inline ActionExecutionDetail& WithPipelineVersion(int value) { SetPipelineVersion(value); return *this;}
79
81
84 inline const Aws::String& GetStageName() const { return m_stageName; }
85 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
86 template<typename StageNameT = Aws::String>
87 void SetStageName(StageNameT&& value) { m_stageNameHasBeenSet = true; m_stageName = std::forward<StageNameT>(value); }
88 template<typename StageNameT = Aws::String>
89 ActionExecutionDetail& WithStageName(StageNameT&& value) { SetStageName(std::forward<StageNameT>(value)); return *this;}
91
93
96 inline const Aws::String& GetActionName() const { return m_actionName; }
97 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
98 template<typename ActionNameT = Aws::String>
99 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
100 template<typename ActionNameT = Aws::String>
101 ActionExecutionDetail& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
109 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
110 template<typename StartTimeT = Aws::Utils::DateTime>
111 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
112 template<typename StartTimeT = Aws::Utils::DateTime>
113 ActionExecutionDetail& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
121 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
122 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
123 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
124 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
125 ActionExecutionDetail& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
127
129
132 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
133 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
134 template<typename UpdatedByT = Aws::String>
135 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
136 template<typename UpdatedByT = Aws::String>
137 ActionExecutionDetail& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
139
141
145 inline ActionExecutionStatus GetStatus() const { return m_status; }
146 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 inline void SetStatus(ActionExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
148 inline ActionExecutionDetail& WithStatus(ActionExecutionStatus value) { SetStatus(value); return *this;}
150
152
156 inline const ActionExecutionInput& GetInput() const { return m_input; }
157 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
158 template<typename InputT = ActionExecutionInput>
159 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
160 template<typename InputT = ActionExecutionInput>
161 ActionExecutionDetail& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
163
165
169 inline const ActionExecutionOutput& GetOutput() const { return m_output; }
170 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
171 template<typename OutputT = ActionExecutionOutput>
172 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
173 template<typename OutputT = ActionExecutionOutput>
174 ActionExecutionDetail& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
176 private:
177
178 Aws::String m_pipelineExecutionId;
179 bool m_pipelineExecutionIdHasBeenSet = false;
180
181 Aws::String m_actionExecutionId;
182 bool m_actionExecutionIdHasBeenSet = false;
183
184 int m_pipelineVersion{0};
185 bool m_pipelineVersionHasBeenSet = false;
186
187 Aws::String m_stageName;
188 bool m_stageNameHasBeenSet = false;
189
190 Aws::String m_actionName;
191 bool m_actionNameHasBeenSet = false;
192
193 Aws::Utils::DateTime m_startTime{};
194 bool m_startTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_lastUpdateTime{};
197 bool m_lastUpdateTimeHasBeenSet = false;
198
199 Aws::String m_updatedBy;
200 bool m_updatedByHasBeenSet = false;
201
203 bool m_statusHasBeenSet = false;
204
205 ActionExecutionInput m_input;
206 bool m_inputHasBeenSet = false;
207
208 ActionExecutionOutput m_output;
209 bool m_outputHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace CodePipeline
214} // namespace Aws
void SetActionExecutionId(ActionExecutionIdT &&value)
AWS_CODEPIPELINE_API ActionExecutionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
ActionExecutionDetail & WithPipelineVersion(int value)
ActionExecutionDetail & WithStatus(ActionExecutionStatus value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionDetail & WithUpdatedBy(UpdatedByT &&value)
ActionExecutionDetail & WithInput(InputT &&value)
AWS_CODEPIPELINE_API ActionExecutionDetail(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionDetail & WithStageName(StageNameT &&value)
void SetPipelineExecutionId(PipelineExecutionIdT &&value)
const ActionExecutionOutput & GetOutput() const
ActionExecutionDetail & WithOutput(OutputT &&value)
ActionExecutionDetail & WithPipelineExecutionId(PipelineExecutionIdT &&value)
ActionExecutionDetail & WithActionExecutionId(ActionExecutionIdT &&value)
ActionExecutionDetail & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
ActionExecutionDetail & WithStartTime(StartTimeT &&value)
ActionExecutionDetail & WithActionName(ActionNameT &&value)
const ActionExecutionInput & GetInput() const
AWS_CODEPIPELINE_API ActionExecutionDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue