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

The length of the records in the data set.

See Also:

AWS API * Reference

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

The maximum record length. In case of fixed, both minimum and maximum are the * same.

*/ inline int GetMax() const{ return m_max; } /** *

The maximum record length. In case of fixed, both minimum and maximum are the * same.

*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *

The maximum record length. In case of fixed, both minimum and maximum are the * same.

*/ inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } /** *

The maximum record length. In case of fixed, both minimum and maximum are the * same.

*/ inline RecordLength& WithMax(int value) { SetMax(value); return *this;} /** *

The minimum record length of a record.

*/ inline int GetMin() const{ return m_min; } /** *

The minimum record length of a record.

*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *

The minimum record length of a record.

*/ inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } /** *

The minimum record length of a record.

*/ inline RecordLength& WithMin(int value) { SetMin(value); return *this;} private: int m_max; bool m_maxHasBeenSet = false; int m_min; bool m_minHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws