/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an execution step, for an execution job, for an Amplify app.
* See Also:
AWS API
* Reference
The name of the execution step.
*/ inline const Aws::String& GetStepName() const{ return m_stepName; } /** *The name of the execution step.
*/ inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } /** *The name of the execution step.
*/ inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; } /** *The name of the execution step.
*/ inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); } /** *The name of the execution step.
*/ inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); } /** *The name of the execution step.
*/ inline Step& WithStepName(const Aws::String& value) { SetStepName(value); return *this;} /** *The name of the execution step.
*/ inline Step& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;} /** *The name of the execution step.
*/ inline Step& WithStepName(const char* value) { SetStepName(value); return *this;} /** *The start date and time of the execution step.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start date and time of the execution step.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start date and time of the execution step.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start date and time of the execution step.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start date and time of the execution step.
*/ inline Step& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start date and time of the execution step.
*/ inline Step& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The status of the execution step.
*/ inline const JobStatus& GetStatus() const{ return m_status; } /** *The status of the execution step.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the execution step.
*/ inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the execution step.
*/ inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the execution step.
*/ inline Step& WithStatus(const JobStatus& value) { SetStatus(value); return *this;} /** *The status of the execution step.
*/ inline Step& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The end date and time of the execution step.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The end date and time of the execution step.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end date and time of the execution step.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end date and time of the execution step.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end date and time of the execution step.
*/ inline Step& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The end date and time of the execution step.
*/ inline Step& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The URL to the logs for the execution step.
*/ inline const Aws::String& GetLogUrl() const{ return m_logUrl; } /** *The URL to the logs for the execution step.
*/ inline bool LogUrlHasBeenSet() const { return m_logUrlHasBeenSet; } /** *The URL to the logs for the execution step.
*/ inline void SetLogUrl(const Aws::String& value) { m_logUrlHasBeenSet = true; m_logUrl = value; } /** *The URL to the logs for the execution step.
*/ inline void SetLogUrl(Aws::String&& value) { m_logUrlHasBeenSet = true; m_logUrl = std::move(value); } /** *The URL to the logs for the execution step.
*/ inline void SetLogUrl(const char* value) { m_logUrlHasBeenSet = true; m_logUrl.assign(value); } /** *The URL to the logs for the execution step.
*/ inline Step& WithLogUrl(const Aws::String& value) { SetLogUrl(value); return *this;} /** *The URL to the logs for the execution step.
*/ inline Step& WithLogUrl(Aws::String&& value) { SetLogUrl(std::move(value)); return *this;} /** *The URL to the logs for the execution step.
*/ inline Step& WithLogUrl(const char* value) { SetLogUrl(value); return *this;} /** *The URL to the artifact for the execution step.
*/ inline const Aws::String& GetArtifactsUrl() const{ return m_artifactsUrl; } /** *The URL to the artifact for the execution step.
*/ inline bool ArtifactsUrlHasBeenSet() const { return m_artifactsUrlHasBeenSet; } /** *The URL to the artifact for the execution step.
*/ inline void SetArtifactsUrl(const Aws::String& value) { m_artifactsUrlHasBeenSet = true; m_artifactsUrl = value; } /** *The URL to the artifact for the execution step.
*/ inline void SetArtifactsUrl(Aws::String&& value) { m_artifactsUrlHasBeenSet = true; m_artifactsUrl = std::move(value); } /** *The URL to the artifact for the execution step.
*/ inline void SetArtifactsUrl(const char* value) { m_artifactsUrlHasBeenSet = true; m_artifactsUrl.assign(value); } /** *The URL to the artifact for the execution step.
*/ inline Step& WithArtifactsUrl(const Aws::String& value) { SetArtifactsUrl(value); return *this;} /** *The URL to the artifact for the execution step.
*/ inline Step& WithArtifactsUrl(Aws::String&& value) { SetArtifactsUrl(std::move(value)); return *this;} /** *The URL to the artifact for the execution step.
*/ inline Step& WithArtifactsUrl(const char* value) { SetArtifactsUrl(value); return *this;} /** *The URL to the test artifact for the execution step.
*/ inline const Aws::String& GetTestArtifactsUrl() const{ return m_testArtifactsUrl; } /** *The URL to the test artifact for the execution step.
*/ inline bool TestArtifactsUrlHasBeenSet() const { return m_testArtifactsUrlHasBeenSet; } /** *The URL to the test artifact for the execution step.
*/ inline void SetTestArtifactsUrl(const Aws::String& value) { m_testArtifactsUrlHasBeenSet = true; m_testArtifactsUrl = value; } /** *The URL to the test artifact for the execution step.
*/ inline void SetTestArtifactsUrl(Aws::String&& value) { m_testArtifactsUrlHasBeenSet = true; m_testArtifactsUrl = std::move(value); } /** *The URL to the test artifact for the execution step.
*/ inline void SetTestArtifactsUrl(const char* value) { m_testArtifactsUrlHasBeenSet = true; m_testArtifactsUrl.assign(value); } /** *The URL to the test artifact for the execution step.
*/ inline Step& WithTestArtifactsUrl(const Aws::String& value) { SetTestArtifactsUrl(value); return *this;} /** *The URL to the test artifact for the execution step.
*/ inline Step& WithTestArtifactsUrl(Aws::String&& value) { SetTestArtifactsUrl(std::move(value)); return *this;} /** *The URL to the test artifact for the execution step.
*/ inline Step& WithTestArtifactsUrl(const char* value) { SetTestArtifactsUrl(value); return *this;} /** *The URL to the test configuration for the execution step.
*/ inline const Aws::String& GetTestConfigUrl() const{ return m_testConfigUrl; } /** *The URL to the test configuration for the execution step.
*/ inline bool TestConfigUrlHasBeenSet() const { return m_testConfigUrlHasBeenSet; } /** *The URL to the test configuration for the execution step.
*/ inline void SetTestConfigUrl(const Aws::String& value) { m_testConfigUrlHasBeenSet = true; m_testConfigUrl = value; } /** *The URL to the test configuration for the execution step.
*/ inline void SetTestConfigUrl(Aws::String&& value) { m_testConfigUrlHasBeenSet = true; m_testConfigUrl = std::move(value); } /** *The URL to the test configuration for the execution step.
*/ inline void SetTestConfigUrl(const char* value) { m_testConfigUrlHasBeenSet = true; m_testConfigUrl.assign(value); } /** *The URL to the test configuration for the execution step.
*/ inline Step& WithTestConfigUrl(const Aws::String& value) { SetTestConfigUrl(value); return *this;} /** *The URL to the test configuration for the execution step.
*/ inline Step& WithTestConfigUrl(Aws::String&& value) { SetTestConfigUrl(std::move(value)); return *this;} /** *The URL to the test configuration for the execution step.
*/ inline Step& WithTestConfigUrl(const char* value) { SetTestConfigUrl(value); return *this;} /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline const Aws::MapThe list of screenshot URLs for the execution step, if relevant.
*/ inline bool ScreenshotsHasBeenSet() const { return m_screenshotsHasBeenSet; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline void SetScreenshots(const Aws::MapThe list of screenshot URLs for the execution step, if relevant.
*/ inline void SetScreenshots(Aws::MapThe list of screenshot URLs for the execution step, if relevant.
*/ inline Step& WithScreenshots(const Aws::MapThe list of screenshot URLs for the execution step, if relevant.
*/ inline Step& WithScreenshots(Aws::MapThe list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(const Aws::String& key, const Aws::String& value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(key, value); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(Aws::String&& key, const Aws::String& value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(std::move(key), value); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(const Aws::String& key, Aws::String&& value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(key, std::move(value)); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(Aws::String&& key, Aws::String&& value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(std::move(key), std::move(value)); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(const char* key, Aws::String&& value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(key, std::move(value)); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(Aws::String&& key, const char* value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(std::move(key), value); return *this; } /** *The list of screenshot URLs for the execution step, if relevant.
*/ inline Step& AddScreenshots(const char* key, const char* value) { m_screenshotsHasBeenSet = true; m_screenshots.emplace(key, value); return *this; } /** *The reason for the current step status.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The reason for the current step status.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The reason for the current step status.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The reason for the current step status.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The reason for the current step status.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *The reason for the current step status.
*/ inline Step& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The reason for the current step status.
*/ inline Step& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The reason for the current step status.
*/ inline Step& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *The context for the current step. Includes a build image if the step is * build.
*/ inline const Aws::String& GetContext() const{ return m_context; } /** *The context for the current step. Includes a build image if the step is * build.
*/ inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } /** *The context for the current step. Includes a build image if the step is * build.
*/ inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; } /** *The context for the current step. Includes a build image if the step is * build.
*/ inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } /** *The context for the current step. Includes a build image if the step is * build.
*/ inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); } /** *The context for the current step. Includes a build image if the step is * build.
*/ inline Step& WithContext(const Aws::String& value) { SetContext(value); return *this;} /** *The context for the current step. Includes a build image if the step is * build.
*/ inline Step& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;} /** *The context for the current step. Includes a build image if the step is * build.
*/ inline Step& WithContext(const char* value) { SetContext(value); return *this;} private: Aws::String m_stepName; bool m_stepNameHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; JobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_logUrl; bool m_logUrlHasBeenSet = false; Aws::String m_artifactsUrl; bool m_artifactsUrlHasBeenSet = false; Aws::String m_testArtifactsUrl; bool m_testArtifactsUrlHasBeenSet = false; Aws::String m_testConfigUrl; bool m_testConfigUrlHasBeenSet = false; Aws::Map