/** * 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 { /** *

Represents the dataset format used when running a monitoring * job.

See Also:

AWS * API Reference

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

The CSV dataset used in the monitoring job.

*/ inline const MonitoringCsvDatasetFormat& GetCsv() const{ return m_csv; } /** *

The CSV dataset used in the monitoring job.

*/ inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; } /** *

The CSV dataset used in the monitoring job.

*/ inline void SetCsv(const MonitoringCsvDatasetFormat& value) { m_csvHasBeenSet = true; m_csv = value; } /** *

The CSV dataset used in the monitoring job.

*/ inline void SetCsv(MonitoringCsvDatasetFormat&& value) { m_csvHasBeenSet = true; m_csv = std::move(value); } /** *

The CSV dataset used in the monitoring job.

*/ inline MonitoringDatasetFormat& WithCsv(const MonitoringCsvDatasetFormat& value) { SetCsv(value); return *this;} /** *

The CSV dataset used in the monitoring job.

*/ inline MonitoringDatasetFormat& WithCsv(MonitoringCsvDatasetFormat&& value) { SetCsv(std::move(value)); return *this;} /** *

The JSON dataset used in the monitoring job

*/ inline const MonitoringJsonDatasetFormat& GetJson() const{ return m_json; } /** *

The JSON dataset used in the monitoring job

*/ inline bool JsonHasBeenSet() const { return m_jsonHasBeenSet; } /** *

The JSON dataset used in the monitoring job

*/ inline void SetJson(const MonitoringJsonDatasetFormat& value) { m_jsonHasBeenSet = true; m_json = value; } /** *

The JSON dataset used in the monitoring job

*/ inline void SetJson(MonitoringJsonDatasetFormat&& value) { m_jsonHasBeenSet = true; m_json = std::move(value); } /** *

The JSON dataset used in the monitoring job

*/ inline MonitoringDatasetFormat& WithJson(const MonitoringJsonDatasetFormat& value) { SetJson(value); return *this;} /** *

The JSON dataset used in the monitoring job

*/ inline MonitoringDatasetFormat& WithJson(MonitoringJsonDatasetFormat&& value) { SetJson(std::move(value)); return *this;} /** *

The Parquet dataset used in the monitoring job

*/ inline const MonitoringParquetDatasetFormat& GetParquet() const{ return m_parquet; } /** *

The Parquet dataset used in the monitoring job

*/ inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; } /** *

The Parquet dataset used in the monitoring job

*/ inline void SetParquet(const MonitoringParquetDatasetFormat& value) { m_parquetHasBeenSet = true; m_parquet = value; } /** *

The Parquet dataset used in the monitoring job

*/ inline void SetParquet(MonitoringParquetDatasetFormat&& value) { m_parquetHasBeenSet = true; m_parquet = std::move(value); } /** *

The Parquet dataset used in the monitoring job

*/ inline MonitoringDatasetFormat& WithParquet(const MonitoringParquetDatasetFormat& value) { SetParquet(value); return *this;} /** *

The Parquet dataset used in the monitoring job

*/ inline MonitoringDatasetFormat& WithParquet(MonitoringParquetDatasetFormat&& value) { SetParquet(std::move(value)); return *this;} private: MonitoringCsvDatasetFormat m_csv; bool m_csvHasBeenSet = false; MonitoringJsonDatasetFormat m_json; bool m_jsonHasBeenSet = false; MonitoringParquetDatasetFormat m_parquet; bool m_parquetHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws