AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleExecutionDetail.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/RuleExecutionStatus.h>
11#include <aws/codepipeline/model/RuleExecutionInput.h>
12#include <aws/codepipeline/model/RuleExecutionOutput.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
37 {
38 public:
39 AWS_CODEPIPELINE_API RuleExecutionDetail();
40 AWS_CODEPIPELINE_API RuleExecutionDetail(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; }
52 inline bool PipelineExecutionIdHasBeenSet() const { return m_pipelineExecutionIdHasBeenSet; }
53 inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = value; }
54 inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = std::move(value); }
55 inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId.assign(value); }
57 inline RuleExecutionDetail& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;}
58 inline RuleExecutionDetail& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(value); return *this;}
60
62
65 inline const Aws::String& GetRuleExecutionId() const{ return m_ruleExecutionId; }
66 inline bool RuleExecutionIdHasBeenSet() const { return m_ruleExecutionIdHasBeenSet; }
67 inline void SetRuleExecutionId(const Aws::String& value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId = value; }
68 inline void SetRuleExecutionId(Aws::String&& value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId = std::move(value); }
69 inline void SetRuleExecutionId(const char* value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId.assign(value); }
70 inline RuleExecutionDetail& WithRuleExecutionId(const Aws::String& value) { SetRuleExecutionId(value); return *this;}
71 inline RuleExecutionDetail& WithRuleExecutionId(Aws::String&& value) { SetRuleExecutionId(std::move(value)); return *this;}
72 inline RuleExecutionDetail& WithRuleExecutionId(const char* value) { SetRuleExecutionId(value); return *this;}
74
76
79 inline int GetPipelineVersion() const{ return m_pipelineVersion; }
80 inline bool PipelineVersionHasBeenSet() const { return m_pipelineVersionHasBeenSet; }
81 inline void SetPipelineVersion(int value) { m_pipelineVersionHasBeenSet = true; m_pipelineVersion = value; }
82 inline RuleExecutionDetail& WithPipelineVersion(int value) { SetPipelineVersion(value); return *this;}
84
86
89 inline const Aws::String& GetStageName() const{ return m_stageName; }
90 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
91 inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; }
92 inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); }
93 inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); }
94 inline RuleExecutionDetail& WithStageName(const Aws::String& value) { SetStageName(value); return *this;}
95 inline RuleExecutionDetail& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;}
96 inline RuleExecutionDetail& WithStageName(const char* value) { SetStageName(value); return *this;}
98
100
103 inline const Aws::String& GetRuleName() const{ return m_ruleName; }
104 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
105 inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
106 inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
107 inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
108 inline RuleExecutionDetail& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
109 inline RuleExecutionDetail& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
110 inline RuleExecutionDetail& WithRuleName(const char* value) { SetRuleName(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
118 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
119 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
120 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
121 inline RuleExecutionDetail& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
122 inline RuleExecutionDetail& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
131 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
132 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
133 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
135 inline RuleExecutionDetail& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
137
139
142 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
143 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
144 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
145 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
146 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
147 inline RuleExecutionDetail& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
148 inline RuleExecutionDetail& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
149 inline RuleExecutionDetail& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
151
153
157 inline const RuleExecutionStatus& GetStatus() const{ return m_status; }
158 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 inline void SetStatus(const RuleExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
160 inline void SetStatus(RuleExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
161 inline RuleExecutionDetail& WithStatus(const RuleExecutionStatus& value) { SetStatus(value); return *this;}
162 inline RuleExecutionDetail& WithStatus(RuleExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
164
166
170 inline const RuleExecutionInput& GetInput() const{ return m_input; }
171 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
172 inline void SetInput(const RuleExecutionInput& value) { m_inputHasBeenSet = true; m_input = value; }
173 inline void SetInput(RuleExecutionInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
174 inline RuleExecutionDetail& WithInput(const RuleExecutionInput& value) { SetInput(value); return *this;}
175 inline RuleExecutionDetail& WithInput(RuleExecutionInput&& value) { SetInput(std::move(value)); return *this;}
177
179
182 inline const RuleExecutionOutput& GetOutput() const{ return m_output; }
183 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
184 inline void SetOutput(const RuleExecutionOutput& value) { m_outputHasBeenSet = true; m_output = value; }
185 inline void SetOutput(RuleExecutionOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
186 inline RuleExecutionDetail& WithOutput(const RuleExecutionOutput& value) { SetOutput(value); return *this;}
187 inline RuleExecutionDetail& WithOutput(RuleExecutionOutput&& value) { SetOutput(std::move(value)); return *this;}
189 private:
190
191 Aws::String m_pipelineExecutionId;
192 bool m_pipelineExecutionIdHasBeenSet = false;
193
194 Aws::String m_ruleExecutionId;
195 bool m_ruleExecutionIdHasBeenSet = false;
196
197 int m_pipelineVersion;
198 bool m_pipelineVersionHasBeenSet = false;
199
200 Aws::String m_stageName;
201 bool m_stageNameHasBeenSet = false;
202
203 Aws::String m_ruleName;
204 bool m_ruleNameHasBeenSet = false;
205
206 Aws::Utils::DateTime m_startTime;
207 bool m_startTimeHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastUpdateTime;
210 bool m_lastUpdateTimeHasBeenSet = false;
211
212 Aws::String m_updatedBy;
213 bool m_updatedByHasBeenSet = false;
214
215 RuleExecutionStatus m_status;
216 bool m_statusHasBeenSet = false;
217
218 RuleExecutionInput m_input;
219 bool m_inputHasBeenSet = false;
220
221 RuleExecutionOutput m_output;
222 bool m_outputHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace CodePipeline
227} // namespace Aws
void SetPipelineExecutionId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
RuleExecutionDetail & WithLastUpdateTime(const Aws::Utils::DateTime &value)
RuleExecutionDetail & WithPipelineExecutionId(const char *value)
const RuleExecutionStatus & GetStatus() const
AWS_CODEPIPELINE_API RuleExecutionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetOutput(const RuleExecutionOutput &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
RuleExecutionDetail & WithRuleExecutionId(const Aws::String &value)
RuleExecutionDetail & WithStartTime(const Aws::Utils::DateTime &value)
void SetRuleExecutionId(const Aws::String &value)
void SetStatus(const RuleExecutionStatus &value)
RuleExecutionDetail & WithPipelineVersion(int value)
void SetOutput(RuleExecutionOutput &&value)
RuleExecutionDetail & WithStageName(const Aws::String &value)
RuleExecutionDetail & WithStartTime(Aws::Utils::DateTime &&value)
RuleExecutionDetail & WithPipelineExecutionId(Aws::String &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleExecutionDetail & WithStatus(RuleExecutionStatus &&value)
RuleExecutionDetail & WithInput(const RuleExecutionInput &value)
RuleExecutionDetail & WithLastUpdateTime(Aws::Utils::DateTime &&value)
RuleExecutionDetail & WithRuleExecutionId(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
const RuleExecutionOutput & GetOutput() const
RuleExecutionDetail & WithUpdatedBy(const Aws::String &value)
AWS_CODEPIPELINE_API RuleExecutionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleExecutionDetail & WithStageName(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
RuleExecutionDetail & WithStatus(const RuleExecutionStatus &value)
void SetInput(const RuleExecutionInput &value)
RuleExecutionDetail & WithRuleName(const char *value)
RuleExecutionDetail & WithOutput(const RuleExecutionOutput &value)
RuleExecutionDetail & WithPipelineExecutionId(const Aws::String &value)
RuleExecutionDetail & WithOutput(RuleExecutionOutput &&value)
RuleExecutionDetail & WithUpdatedBy(const char *value)
RuleExecutionDetail & WithRuleExecutionId(Aws::String &&value)
RuleExecutionDetail & WithStageName(Aws::String &&value)
void SetStatus(RuleExecutionStatus &&value)
RuleExecutionDetail & WithInput(RuleExecutionInput &&value)
RuleExecutionDetail & WithRuleName(Aws::String &&value)
RuleExecutionDetail & WithUpdatedBy(Aws::String &&value)
RuleExecutionDetail & WithRuleName(const Aws::String &value)
const RuleExecutionInput & GetInput() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue