/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the m2-2021-04-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.MainframeModernization.Model
{
///
/// The attributes of a VSAM type data set.
///
public partial class VsamDetailAttributes
{
private List _alternateKeys = new List();
private bool? _cacheAtStartup;
private bool? _compressed;
private string _encoding;
private PrimaryKey _primaryKey;
private string _recordFormat;
///
/// Gets and sets the property AlternateKeys.
///
/// The alternate key definitions, if any. A legacy dataset might not have any alternate
/// key defined, but if those alternate keys definitions exist, provide them as some applications
/// will make use of them.
///
///
public List AlternateKeys
{
get { return this._alternateKeys; }
set { this._alternateKeys = value; }
}
// Check to see if AlternateKeys property is set
internal bool IsSetAlternateKeys()
{
return this._alternateKeys != null && this._alternateKeys.Count > 0;
}
///
/// Gets and sets the property CacheAtStartup.
///
/// If set to True, enforces loading the data set into cache before it’s used by the application.
///
///
public bool CacheAtStartup
{
get { return this._cacheAtStartup.GetValueOrDefault(); }
set { this._cacheAtStartup = value; }
}
// Check to see if CacheAtStartup property is set
internal bool IsSetCacheAtStartup()
{
return this._cacheAtStartup.HasValue;
}
///
/// Gets and sets the property Compressed.
///
/// Indicates whether indexes for this dataset are stored as compressed values. If you
/// have a large data set (typically > 100 Mb), consider setting this flag to True.
///
///
public bool Compressed
{
get { return this._compressed.GetValueOrDefault(); }
set { this._compressed = value; }
}
// Check to see if Compressed property is set
internal bool IsSetCompressed()
{
return this._compressed.HasValue;
}
///
/// Gets and sets the property Encoding.
///
/// The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
///
///
public string Encoding
{
get { return this._encoding; }
set { this._encoding = value; }
}
// Check to see if Encoding property is set
internal bool IsSetEncoding()
{
return this._encoding != null;
}
///
/// Gets and sets the property PrimaryKey.
///
/// The primary key of the data set.
///
///
public PrimaryKey PrimaryKey
{
get { return this._primaryKey; }
set { this._primaryKey = value; }
}
// Check to see if PrimaryKey property is set
internal bool IsSetPrimaryKey()
{
return this._primaryKey != null;
}
///
/// Gets and sets the property RecordFormat.
///
/// The record format of the data set.
///
///
public string RecordFormat
{
get { return this._recordFormat; }
set { this._recordFormat = value; }
}
// Check to see if RecordFormat property is set
internal bool IsSetRecordFormat()
{
return this._recordFormat != null;
}
}
}