7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/JobStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
33 AWS_AMPLIFY_API
Step() =
default;
44 template <
typename StepNameT = Aws::String>
46 m_stepNameHasBeenSet =
true;
47 m_stepName = std::forward<StepNameT>(value);
49 template <
typename StepNameT = Aws::String>
62 template <
typename StartTimeT = Aws::Utils::DateTime>
64 m_startTimeHasBeenSet =
true;
65 m_startTime = std::forward<StartTimeT>(value);
67 template <
typename StartTimeT = Aws::Utils::DateTime>
81 m_statusHasBeenSet =
true;
96 template <
typename EndTimeT = Aws::Utils::DateTime>
98 m_endTimeHasBeenSet =
true;
99 m_endTime = std::forward<EndTimeT>(value);
101 template <
typename EndTimeT = Aws::Utils::DateTime>
114 template <
typename LogUrlT = Aws::String>
116 m_logUrlHasBeenSet =
true;
117 m_logUrl = std::forward<LogUrlT>(value);
119 template <
typename LogUrlT = Aws::String>
132 template <
typename ArtifactsUrlT = Aws::String>
134 m_artifactsUrlHasBeenSet =
true;
135 m_artifactsUrl = std::forward<ArtifactsUrlT>(value);
137 template <
typename ArtifactsUrlT = Aws::String>
150 template <
typename TestArtifactsUrlT = Aws::String>
152 m_testArtifactsUrlHasBeenSet =
true;
153 m_testArtifactsUrl = std::forward<TestArtifactsUrlT>(value);
155 template <
typename TestArtifactsUrlT = Aws::String>
168 template <
typename TestConfigUrlT = Aws::String>
170 m_testConfigUrlHasBeenSet =
true;
171 m_testConfigUrl = std::forward<TestConfigUrlT>(value);
173 template <
typename TestConfigUrlT = Aws::String>
186 template <
typename ScreenshotsT = Aws::Map<Aws::String, Aws::String>>
188 m_screenshotsHasBeenSet =
true;
189 m_screenshots = std::forward<ScreenshotsT>(value);
191 template <
typename ScreenshotsT = Aws::Map<Aws::String, Aws::String>>
196 template <
typename ScreenshotsKeyT = Aws::String,
typename ScreenshotsValueT = Aws::String>
198 m_screenshotsHasBeenSet =
true;
199 m_screenshots.emplace(std::forward<ScreenshotsKeyT>(key), std::forward<ScreenshotsValueT>(value));
210 template <
typename StatusReasonT = Aws::String>
212 m_statusReasonHasBeenSet =
true;
213 m_statusReason = std::forward<StatusReasonT>(value);
215 template <
typename StatusReasonT = Aws::String>
229 template <
typename ContextT = Aws::String>
231 m_contextHasBeenSet =
true;
232 m_context = std::forward<ContextT>(value);
234 template <
typename ContextT = Aws::String>
262 bool m_stepNameHasBeenSet =
false;
263 bool m_startTimeHasBeenSet =
false;
264 bool m_statusHasBeenSet =
false;
265 bool m_endTimeHasBeenSet =
false;
266 bool m_logUrlHasBeenSet =
false;
267 bool m_artifactsUrlHasBeenSet =
false;
268 bool m_testArtifactsUrlHasBeenSet =
false;
269 bool m_testConfigUrlHasBeenSet =
false;
270 bool m_screenshotsHasBeenSet =
false;
271 bool m_statusReasonHasBeenSet =
false;
272 bool m_contextHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetScreenshots() const
Step & WithScreenshots(ScreenshotsT &&value)
void SetLogUrl(LogUrlT &&value)
Step & WithArtifactsUrl(ArtifactsUrlT &&value)
Step & WithTestConfigUrl(TestConfigUrlT &&value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScreenshots(ScreenshotsT &&value)
bool TestArtifactsUrlHasBeenSet() const
const Aws::String & GetTestArtifactsUrl() const
bool ArtifactsUrlHasBeenSet() const
const Aws::String & GetStatusReason() const
bool StepNameHasBeenSet() const
void SetStatus(JobStatus value)
AWS_AMPLIFY_API Step()=default
bool ContextHasBeenSet() const
bool TestConfigUrlHasBeenSet() const
Step & WithStatus(JobStatus value)
Step & AddScreenshots(ScreenshotsKeyT &&key, ScreenshotsValueT &&value)
Step & WithStepName(StepNameT &&value)
Step & WithTestArtifactsUrl(TestArtifactsUrlT &&value)
AWS_AMPLIFY_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
Step & WithStatusReason(StatusReasonT &&value)
void SetStepName(StepNameT &&value)
void SetEndTime(EndTimeT &&value)
void SetTestArtifactsUrl(TestArtifactsUrlT &&value)
JobStatus GetStatus() const
Step & WithContext(ContextT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool ScreenshotsHasBeenSet() const
const Aws::String & GetLogUrl() const
bool LogUrlHasBeenSet() const
bool EndTimeHasBeenSet() const
const Aws::String & GetTestConfigUrl() const
void SetArtifactsUrl(ArtifactsUrlT &&value)
void SetTestConfigUrl(TestConfigUrlT &&value)
bool StatusHasBeenSet() const
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetContext(ContextT &&value)
Step & WithStartTime(StartTimeT &&value)
const Aws::String & GetArtifactsUrl() const
void SetStatusReason(StatusReasonT &&value)
Step & WithEndTime(EndTimeT &&value)
const Aws::String & GetContext() const
bool StatusReasonHasBeenSet() const
const Aws::String & GetStepName() const
Step & WithLogUrl(LogUrlT &&value)
bool StartTimeHasBeenSet() const
AWS_AMPLIFY_API Step(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue