/** * 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 IoTSiteWise { namespace Model { /** *

The file format of the data.

See Also:

AWS * API Reference

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

The .csv file format.

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

The .csv file format.

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

The .csv file format.

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

The .csv file format.

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

The .csv file format.

*/ inline FileFormat& WithCsv(const Csv& value) { SetCsv(value); return *this;} /** *

The .csv file format.

*/ inline FileFormat& WithCsv(Csv&& value) { SetCsv(std::move(value)); return *this;} private: Csv m_csv; bool m_csvHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws