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

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

See Also:

AWS * API Reference

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

Indicates if the file should be read as a json object per line.

*/ inline bool GetLine() const{ return m_line; } /** *

Indicates if the file should be read as a json object per line.

*/ inline bool LineHasBeenSet() const { return m_lineHasBeenSet; } /** *

Indicates if the file should be read as a json object per line.

*/ inline void SetLine(bool value) { m_lineHasBeenSet = true; m_line = value; } /** *

Indicates if the file should be read as a json object per line.

*/ inline MonitoringJsonDatasetFormat& WithLine(bool value) { SetLine(value); return *this;} private: bool m_line; bool m_lineHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws