/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the versioning of data set contents.See
* Also:
AWS
* API Reference
If true, unlimited versions of data set contents will be kept.
*/ inline bool GetUnlimited() const{ return m_unlimited; } /** *If true, unlimited versions of data set contents will be kept.
*/ inline bool UnlimitedHasBeenSet() const { return m_unlimitedHasBeenSet; } /** *If true, unlimited versions of data set contents will be kept.
*/ inline void SetUnlimited(bool value) { m_unlimitedHasBeenSet = true; m_unlimited = value; } /** *If true, unlimited versions of data set contents will be kept.
*/ inline VersioningConfiguration& WithUnlimited(bool value) { SetUnlimited(value); return *this;} /** *How many versions of data set contents will be kept. The "unlimited" * parameter must be false.
*/ inline int GetMaxVersions() const{ return m_maxVersions; } /** *How many versions of data set contents will be kept. The "unlimited" * parameter must be false.
*/ inline bool MaxVersionsHasBeenSet() const { return m_maxVersionsHasBeenSet; } /** *How many versions of data set contents will be kept. The "unlimited" * parameter must be false.
*/ inline void SetMaxVersions(int value) { m_maxVersionsHasBeenSet = true; m_maxVersions = value; } /** *How many versions of data set contents will be kept. The "unlimited" * parameter must be false.
*/ inline VersioningConfiguration& WithMaxVersions(int value) { SetMaxVersions(value); return *this;} private: bool m_unlimited; bool m_unlimitedHasBeenSet; int m_maxVersions; bool m_maxVersionsHasBeenSet; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws