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

Contains information about the column used to track time in a source data * file.

See Also:

AWS * API Reference

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

The name of the timestamp column.

*/ inline const Aws::String& GetColumnName() const{ return m_columnName; } /** *

The name of the timestamp column.

*/ inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } /** *

The name of the timestamp column.

*/ inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } /** *

The name of the timestamp column.

*/ inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } /** *

The name of the timestamp column.

*/ inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } /** *

The name of the timestamp column.

*/ inline TimestampColumn& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} /** *

The name of the timestamp column.

*/ inline TimestampColumn& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} /** *

The name of the timestamp column.

*/ inline TimestampColumn& WithColumnName(const char* value) { SetColumnName(value); return *this;} /** *

The format of the timestamp column.

*/ inline const Aws::String& GetColumnFormat() const{ return m_columnFormat; } /** *

The format of the timestamp column.

*/ inline bool ColumnFormatHasBeenSet() const { return m_columnFormatHasBeenSet; } /** *

The format of the timestamp column.

*/ inline void SetColumnFormat(const Aws::String& value) { m_columnFormatHasBeenSet = true; m_columnFormat = value; } /** *

The format of the timestamp column.

*/ inline void SetColumnFormat(Aws::String&& value) { m_columnFormatHasBeenSet = true; m_columnFormat = std::move(value); } /** *

The format of the timestamp column.

*/ inline void SetColumnFormat(const char* value) { m_columnFormatHasBeenSet = true; m_columnFormat.assign(value); } /** *

The format of the timestamp column.

*/ inline TimestampColumn& WithColumnFormat(const Aws::String& value) { SetColumnFormat(value); return *this;} /** *

The format of the timestamp column.

*/ inline TimestampColumn& WithColumnFormat(Aws::String&& value) { SetColumnFormat(std::move(value)); return *this;} /** *

The format of the timestamp column.

*/ inline TimestampColumn& WithColumnFormat(const char* value) { SetColumnFormat(value); return *this;} private: Aws::String m_columnName; bool m_columnNameHasBeenSet = false; Aws::String m_columnFormat; bool m_columnFormatHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws