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

Represents the data being transformed during an action.

See * Also:

AWS * API Reference

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

The starting index for the range of columns to return in the view frame.

*/ inline int GetStartColumnIndex() const{ return m_startColumnIndex; } /** *

The starting index for the range of columns to return in the view frame.

*/ inline bool StartColumnIndexHasBeenSet() const { return m_startColumnIndexHasBeenSet; } /** *

The starting index for the range of columns to return in the view frame.

*/ inline void SetStartColumnIndex(int value) { m_startColumnIndexHasBeenSet = true; m_startColumnIndex = value; } /** *

The starting index for the range of columns to return in the view frame.

*/ inline ViewFrame& WithStartColumnIndex(int value) { SetStartColumnIndex(value); return *this;} /** *

The number of columns to include in the view frame, beginning with the * StartColumnIndex value and ignoring any columns in the * HiddenColumns list.

*/ inline int GetColumnRange() const{ return m_columnRange; } /** *

The number of columns to include in the view frame, beginning with the * StartColumnIndex value and ignoring any columns in the * HiddenColumns list.

*/ inline bool ColumnRangeHasBeenSet() const { return m_columnRangeHasBeenSet; } /** *

The number of columns to include in the view frame, beginning with the * StartColumnIndex value and ignoring any columns in the * HiddenColumns list.

*/ inline void SetColumnRange(int value) { m_columnRangeHasBeenSet = true; m_columnRange = value; } /** *

The number of columns to include in the view frame, beginning with the * StartColumnIndex value and ignoring any columns in the * HiddenColumns list.

*/ inline ViewFrame& WithColumnRange(int value) { SetColumnRange(value); return *this;} /** *

A list of columns to hide in the view frame.

*/ inline const Aws::Vector& GetHiddenColumns() const{ return m_hiddenColumns; } /** *

A list of columns to hide in the view frame.

*/ inline bool HiddenColumnsHasBeenSet() const { return m_hiddenColumnsHasBeenSet; } /** *

A list of columns to hide in the view frame.

*/ inline void SetHiddenColumns(const Aws::Vector& value) { m_hiddenColumnsHasBeenSet = true; m_hiddenColumns = value; } /** *

A list of columns to hide in the view frame.

*/ inline void SetHiddenColumns(Aws::Vector&& value) { m_hiddenColumnsHasBeenSet = true; m_hiddenColumns = std::move(value); } /** *

A list of columns to hide in the view frame.

*/ inline ViewFrame& WithHiddenColumns(const Aws::Vector& value) { SetHiddenColumns(value); return *this;} /** *

A list of columns to hide in the view frame.

*/ inline ViewFrame& WithHiddenColumns(Aws::Vector&& value) { SetHiddenColumns(std::move(value)); return *this;} /** *

A list of columns to hide in the view frame.

*/ inline ViewFrame& AddHiddenColumns(const Aws::String& value) { m_hiddenColumnsHasBeenSet = true; m_hiddenColumns.push_back(value); return *this; } /** *

A list of columns to hide in the view frame.

*/ inline ViewFrame& AddHiddenColumns(Aws::String&& value) { m_hiddenColumnsHasBeenSet = true; m_hiddenColumns.push_back(std::move(value)); return *this; } /** *

A list of columns to hide in the view frame.

*/ inline ViewFrame& AddHiddenColumns(const char* value) { m_hiddenColumnsHasBeenSet = true; m_hiddenColumns.push_back(value); return *this; } /** *

The starting index for the range of rows to return in the view frame.

*/ inline int GetStartRowIndex() const{ return m_startRowIndex; } /** *

The starting index for the range of rows to return in the view frame.

*/ inline bool StartRowIndexHasBeenSet() const { return m_startRowIndexHasBeenSet; } /** *

The starting index for the range of rows to return in the view frame.

*/ inline void SetStartRowIndex(int value) { m_startRowIndexHasBeenSet = true; m_startRowIndex = value; } /** *

The starting index for the range of rows to return in the view frame.

*/ inline ViewFrame& WithStartRowIndex(int value) { SetStartRowIndex(value); return *this;} /** *

The number of rows to include in the view frame, beginning with the * StartRowIndex value.

*/ inline int GetRowRange() const{ return m_rowRange; } /** *

The number of rows to include in the view frame, beginning with the * StartRowIndex value.

*/ inline bool RowRangeHasBeenSet() const { return m_rowRangeHasBeenSet; } /** *

The number of rows to include in the view frame, beginning with the * StartRowIndex value.

*/ inline void SetRowRange(int value) { m_rowRangeHasBeenSet = true; m_rowRange = value; } /** *

The number of rows to include in the view frame, beginning with the * StartRowIndex value.

*/ inline ViewFrame& WithRowRange(int value) { SetRowRange(value); return *this;} /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline const AnalyticsMode& GetAnalytics() const{ return m_analytics; } /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline bool AnalyticsHasBeenSet() const { return m_analyticsHasBeenSet; } /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline void SetAnalytics(const AnalyticsMode& value) { m_analyticsHasBeenSet = true; m_analytics = value; } /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline void SetAnalytics(AnalyticsMode&& value) { m_analyticsHasBeenSet = true; m_analytics = std::move(value); } /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline ViewFrame& WithAnalytics(const AnalyticsMode& value) { SetAnalytics(value); return *this;} /** *

Controls if analytics computation is enabled or disabled. Enabled by * default.

*/ inline ViewFrame& WithAnalytics(AnalyticsMode&& value) { SetAnalytics(std::move(value)); return *this;} private: int m_startColumnIndex; bool m_startColumnIndexHasBeenSet = false; int m_columnRange; bool m_columnRangeHasBeenSet = false; Aws::Vector m_hiddenColumns; bool m_hiddenColumnsHasBeenSet = false; int m_startRowIndex; bool m_startRowIndexHasBeenSet = false; int m_rowRange; bool m_rowRangeHasBeenSet = false; AnalyticsMode m_analytics; bool m_analyticsHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws