7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/amplify/model/JobStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
38 AWS_AMPLIFY_API
Step() =
default;
50 template<
typename StepNameT = Aws::String>
51 void SetStepName(StepNameT&& value) { m_stepNameHasBeenSet =
true; m_stepName = std::forward<StepNameT>(value); }
52 template<
typename StepNameT = Aws::String>
62 template<
typename StartTimeT = Aws::Utils::DateTime>
63 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
64 template<
typename StartTimeT = Aws::Utils::DateTime>
84 template<
typename EndTimeT = Aws::Utils::DateTime>
85 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
86 template<
typename EndTimeT = Aws::Utils::DateTime>
96 template<
typename LogUrlT = Aws::String>
97 void SetLogUrl(LogUrlT&& value) { m_logUrlHasBeenSet =
true; m_logUrl = std::forward<LogUrlT>(value); }
98 template<
typename LogUrlT = Aws::String>
108 template<
typename ArtifactsUrlT = Aws::String>
109 void SetArtifactsUrl(ArtifactsUrlT&& value) { m_artifactsUrlHasBeenSet =
true; m_artifactsUrl = std::forward<ArtifactsUrlT>(value); }
110 template<
typename ArtifactsUrlT = Aws::String>
120 template<
typename TestArtifactsUrlT = Aws::String>
121 void SetTestArtifactsUrl(TestArtifactsUrlT&& value) { m_testArtifactsUrlHasBeenSet =
true; m_testArtifactsUrl = std::forward<TestArtifactsUrlT>(value); }
122 template<
typename TestArtifactsUrlT = Aws::String>
132 template<
typename TestConfigUrlT = Aws::String>
133 void SetTestConfigUrl(TestConfigUrlT&& value) { m_testConfigUrlHasBeenSet =
true; m_testConfigUrl = std::forward<TestConfigUrlT>(value); }
134 template<
typename TestConfigUrlT = Aws::String>
144 template<
typename ScreenshotsT = Aws::Map<Aws::String, Aws::String>>
145 void SetScreenshots(ScreenshotsT&& value) { m_screenshotsHasBeenSet =
true; m_screenshots = std::forward<ScreenshotsT>(value); }
146 template<
typename ScreenshotsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename ScreenshotsKeyT = Aws::String,
typename ScreenshotsValueT = Aws::String>
150 m_screenshotsHasBeenSet =
true; m_screenshots.emplace(std::forward<ScreenshotsKeyT>(key), std::forward<ScreenshotsValueT>(value));
return *
this;
160 template<
typename StatusReasonT = Aws::String>
161 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
162 template<
typename StatusReasonT = Aws::String>
173 template<
typename ContextT = Aws::String>
174 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
175 template<
typename ContextT = Aws::String>
181 bool m_stepNameHasBeenSet =
false;
184 bool m_startTimeHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_endTimeHasBeenSet =
false;
193 bool m_logUrlHasBeenSet =
false;
196 bool m_artifactsUrlHasBeenSet =
false;
199 bool m_testArtifactsUrlHasBeenSet =
false;
202 bool m_testConfigUrlHasBeenSet =
false;
205 bool m_screenshotsHasBeenSet =
false;
208 bool m_statusReasonHasBeenSet =
false;
211 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