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

Describes the results of a processing job. The processing output must specify * exactly one of either S3Output or FeatureStoreOutput * types.

See Also:

AWS * API Reference

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

The name for the processing job output.

*/ inline const Aws::String& GetOutputName() const{ return m_outputName; } /** *

The name for the processing job output.

*/ inline bool OutputNameHasBeenSet() const { return m_outputNameHasBeenSet; } /** *

The name for the processing job output.

*/ inline void SetOutputName(const Aws::String& value) { m_outputNameHasBeenSet = true; m_outputName = value; } /** *

The name for the processing job output.

*/ inline void SetOutputName(Aws::String&& value) { m_outputNameHasBeenSet = true; m_outputName = std::move(value); } /** *

The name for the processing job output.

*/ inline void SetOutputName(const char* value) { m_outputNameHasBeenSet = true; m_outputName.assign(value); } /** *

The name for the processing job output.

*/ inline ProcessingOutput& WithOutputName(const Aws::String& value) { SetOutputName(value); return *this;} /** *

The name for the processing job output.

*/ inline ProcessingOutput& WithOutputName(Aws::String&& value) { SetOutputName(std::move(value)); return *this;} /** *

The name for the processing job output.

*/ inline ProcessingOutput& WithOutputName(const char* value) { SetOutputName(value); return *this;} /** *

Configuration for processing job outputs in Amazon S3.

*/ inline const ProcessingS3Output& GetS3Output() const{ return m_s3Output; } /** *

Configuration for processing job outputs in Amazon S3.

*/ inline bool S3OutputHasBeenSet() const { return m_s3OutputHasBeenSet; } /** *

Configuration for processing job outputs in Amazon S3.

*/ inline void SetS3Output(const ProcessingS3Output& value) { m_s3OutputHasBeenSet = true; m_s3Output = value; } /** *

Configuration for processing job outputs in Amazon S3.

*/ inline void SetS3Output(ProcessingS3Output&& value) { m_s3OutputHasBeenSet = true; m_s3Output = std::move(value); } /** *

Configuration for processing job outputs in Amazon S3.

*/ inline ProcessingOutput& WithS3Output(const ProcessingS3Output& value) { SetS3Output(value); return *this;} /** *

Configuration for processing job outputs in Amazon S3.

*/ inline ProcessingOutput& WithS3Output(ProcessingS3Output&& value) { SetS3Output(std::move(value)); return *this;} /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline const ProcessingFeatureStoreOutput& GetFeatureStoreOutput() const{ return m_featureStoreOutput; } /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline bool FeatureStoreOutputHasBeenSet() const { return m_featureStoreOutputHasBeenSet; } /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline void SetFeatureStoreOutput(const ProcessingFeatureStoreOutput& value) { m_featureStoreOutputHasBeenSet = true; m_featureStoreOutput = value; } /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline void SetFeatureStoreOutput(ProcessingFeatureStoreOutput&& value) { m_featureStoreOutputHasBeenSet = true; m_featureStoreOutput = std::move(value); } /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline ProcessingOutput& WithFeatureStoreOutput(const ProcessingFeatureStoreOutput& value) { SetFeatureStoreOutput(value); return *this;} /** *

Configuration for processing job outputs in Amazon SageMaker Feature Store. * This processing output type is only supported when AppManaged is * specified.

*/ inline ProcessingOutput& WithFeatureStoreOutput(ProcessingFeatureStoreOutput&& value) { SetFeatureStoreOutput(std::move(value)); return *this;} /** *

When True, output operations such as data upload are managed * natively by the processing job application. When False (default), * output operations are managed by Amazon SageMaker.

*/ inline bool GetAppManaged() const{ return m_appManaged; } /** *

When True, output operations such as data upload are managed * natively by the processing job application. When False (default), * output operations are managed by Amazon SageMaker.

*/ inline bool AppManagedHasBeenSet() const { return m_appManagedHasBeenSet; } /** *

When True, output operations such as data upload are managed * natively by the processing job application. When False (default), * output operations are managed by Amazon SageMaker.

*/ inline void SetAppManaged(bool value) { m_appManagedHasBeenSet = true; m_appManaged = value; } /** *

When True, output operations such as data upload are managed * natively by the processing job application. When False (default), * output operations are managed by Amazon SageMaker.

*/ inline ProcessingOutput& WithAppManaged(bool value) { SetAppManaged(value); return *this;} private: Aws::String m_outputName; bool m_outputNameHasBeenSet = false; ProcessingS3Output m_s3Output; bool m_s3OutputHasBeenSet = false; ProcessingFeatureStoreOutput m_featureStoreOutput; bool m_featureStoreOutputHasBeenSet = false; bool m_appManaged; bool m_appManagedHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws