/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

The configurations and outcomes of an Amazon EMR step * execution.

See Also:

AWS * API Reference

*/ class EMRStepMetadata { public: AWS_SAGEMAKER_API EMRStepMetadata(); AWS_SAGEMAKER_API EMRStepMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API EMRStepMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the EMR cluster.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The identifier of the EMR cluster.

*/ inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; } /** *

The identifier of the EMR cluster.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; } /** *

The identifier of the EMR cluster.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); } /** *

The identifier of the EMR cluster.

*/ inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); } /** *

The identifier of the EMR cluster.

*/ inline EMRStepMetadata& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The identifier of the EMR cluster.

*/ inline EMRStepMetadata& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The identifier of the EMR cluster.

*/ inline EMRStepMetadata& WithClusterId(const char* value) { SetClusterId(value); return *this;} /** *

The identifier of the EMR cluster step.

*/ inline const Aws::String& GetStepId() const{ return m_stepId; } /** *

The identifier of the EMR cluster step.

*/ inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } /** *

The identifier of the EMR cluster step.

*/ inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } /** *

The identifier of the EMR cluster step.

*/ inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } /** *

The identifier of the EMR cluster step.

*/ inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } /** *

The identifier of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} /** *

The identifier of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} /** *

The identifier of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepId(const char* value) { SetStepId(value); return *this;} /** *

The name of the EMR cluster step.

*/ inline const Aws::String& GetStepName() const{ return m_stepName; } /** *

The name of the EMR cluster step.

*/ inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } /** *

The name of the EMR cluster step.

*/ inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; } /** *

The name of the EMR cluster step.

*/ inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); } /** *

The name of the EMR cluster step.

*/ inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); } /** *

The name of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepName(const Aws::String& value) { SetStepName(value); return *this;} /** *

The name of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;} /** *

The name of the EMR cluster step.

*/ inline EMRStepMetadata& WithStepName(const char* value) { SetStepName(value); return *this;} /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline const Aws::String& GetLogFilePath() const{ return m_logFilePath; } /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline bool LogFilePathHasBeenSet() const { return m_logFilePathHasBeenSet; } /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline void SetLogFilePath(const Aws::String& value) { m_logFilePathHasBeenSet = true; m_logFilePath = value; } /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline void SetLogFilePath(Aws::String&& value) { m_logFilePathHasBeenSet = true; m_logFilePath = std::move(value); } /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline void SetLogFilePath(const char* value) { m_logFilePathHasBeenSet = true; m_logFilePath.assign(value); } /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline EMRStepMetadata& WithLogFilePath(const Aws::String& value) { SetLogFilePath(value); return *this;} /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline EMRStepMetadata& WithLogFilePath(Aws::String&& value) { SetLogFilePath(std::move(value)); return *this;} /** *

The path to the log file where the cluster step's failure root cause is * recorded.

*/ inline EMRStepMetadata& WithLogFilePath(const char* value) { SetLogFilePath(value); return *this;} private: Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; Aws::String m_stepId; bool m_stepIdHasBeenSet = false; Aws::String m_stepName; bool m_stepNameHasBeenSet = false; Aws::String m_logFilePath; bool m_logFilePathHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws