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

The required attributes for a generation data group data set. A generation * data set is one of a collection of successive, historically related, catalogued * data sets that together are known as a generation data group (GDG). Use this * structure when you want to import a GDG. For more information on GDG, see Generation * data sets.

See Also:

AWS * API Reference

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

The maximum number of generation data sets, up to 255, in a GDG.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of generation data sets, up to 255, in a GDG.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of generation data sets, up to 255, in a GDG.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of generation data sets, up to 255, in a GDG.

*/ inline GdgAttributes& WithLimit(int value) { SetLimit(value); return *this;} /** *

The disposition of the data set in the catalog.

*/ inline const Aws::String& GetRollDisposition() const{ return m_rollDisposition; } /** *

The disposition of the data set in the catalog.

*/ inline bool RollDispositionHasBeenSet() const { return m_rollDispositionHasBeenSet; } /** *

The disposition of the data set in the catalog.

*/ inline void SetRollDisposition(const Aws::String& value) { m_rollDispositionHasBeenSet = true; m_rollDisposition = value; } /** *

The disposition of the data set in the catalog.

*/ inline void SetRollDisposition(Aws::String&& value) { m_rollDispositionHasBeenSet = true; m_rollDisposition = std::move(value); } /** *

The disposition of the data set in the catalog.

*/ inline void SetRollDisposition(const char* value) { m_rollDispositionHasBeenSet = true; m_rollDisposition.assign(value); } /** *

The disposition of the data set in the catalog.

*/ inline GdgAttributes& WithRollDisposition(const Aws::String& value) { SetRollDisposition(value); return *this;} /** *

The disposition of the data set in the catalog.

*/ inline GdgAttributes& WithRollDisposition(Aws::String&& value) { SetRollDisposition(std::move(value)); return *this;} /** *

The disposition of the data set in the catalog.

*/ inline GdgAttributes& WithRollDisposition(const char* value) { SetRollDisposition(value); return *this;} private: int m_limit; bool m_limitHasBeenSet = false; Aws::String m_rollDisposition; bool m_rollDispositionHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws