/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The attributes of a VSAM type data set.See Also:
AWS
* API Reference
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.
*/ inline const Aws::VectorThe 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.
*/ inline bool AlternateKeysHasBeenSet() const { return m_alternateKeysHasBeenSet; } /** *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.
*/ inline void SetAlternateKeys(const Aws::VectorThe 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.
*/ inline void SetAlternateKeys(Aws::VectorThe 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.
*/ inline VsamDetailAttributes& WithAlternateKeys(const Aws::VectorThe 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.
*/ inline VsamDetailAttributes& WithAlternateKeys(Aws::VectorThe 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.
*/ inline VsamDetailAttributes& AddAlternateKeys(const AlternateKey& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys.push_back(value); return *this; } /** *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.
*/ inline VsamDetailAttributes& AddAlternateKeys(AlternateKey&& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys.push_back(std::move(value)); return *this; } /** *If set to True, enforces loading the data set into cache before it’s used by * the application.
*/ inline bool GetCacheAtStartup() const{ return m_cacheAtStartup; } /** *If set to True, enforces loading the data set into cache before it’s used by * the application.
*/ inline bool CacheAtStartupHasBeenSet() const { return m_cacheAtStartupHasBeenSet; } /** *If set to True, enforces loading the data set into cache before it’s used by * the application.
*/ inline void SetCacheAtStartup(bool value) { m_cacheAtStartupHasBeenSet = true; m_cacheAtStartup = value; } /** *If set to True, enforces loading the data set into cache before it’s used by * the application.
*/ inline VsamDetailAttributes& WithCacheAtStartup(bool value) { SetCacheAtStartup(value); return *this;} /** *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.
*/ inline bool GetCompressed() const{ return m_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.
*/ inline bool CompressedHasBeenSet() const { return m_compressedHasBeenSet; } /** *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.
*/ inline void SetCompressed(bool value) { m_compressedHasBeenSet = true; m_compressed = value; } /** *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.
*/ inline VsamDetailAttributes& WithCompressed(bool value) { SetCompressed(value); return *this;} /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline const Aws::String& GetEncoding() const{ return m_encoding; } /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; } /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline void SetEncoding(const Aws::String& value) { m_encodingHasBeenSet = true; m_encoding = value; } /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline void SetEncoding(Aws::String&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); } /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline void SetEncoding(const char* value) { m_encodingHasBeenSet = true; m_encoding.assign(value); } /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline VsamDetailAttributes& WithEncoding(const Aws::String& value) { SetEncoding(value); return *this;} /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline VsamDetailAttributes& WithEncoding(Aws::String&& value) { SetEncoding(std::move(value)); return *this;} /** *The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
*/ inline VsamDetailAttributes& WithEncoding(const char* value) { SetEncoding(value); return *this;} /** *The primary key of the data set.
*/ inline const PrimaryKey& GetPrimaryKey() const{ return m_primaryKey; } /** *The primary key of the data set.
*/ inline bool PrimaryKeyHasBeenSet() const { return m_primaryKeyHasBeenSet; } /** *The primary key of the data set.
*/ inline void SetPrimaryKey(const PrimaryKey& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = value; } /** *The primary key of the data set.
*/ inline void SetPrimaryKey(PrimaryKey&& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = std::move(value); } /** *The primary key of the data set.
*/ inline VsamDetailAttributes& WithPrimaryKey(const PrimaryKey& value) { SetPrimaryKey(value); return *this;} /** *The primary key of the data set.
*/ inline VsamDetailAttributes& WithPrimaryKey(PrimaryKey&& value) { SetPrimaryKey(std::move(value)); return *this;} /** *The record format of the data set.
*/ inline const Aws::String& GetRecordFormat() const{ return m_recordFormat; } /** *The record format of the data set.
*/ inline bool RecordFormatHasBeenSet() const { return m_recordFormatHasBeenSet; } /** *The record format of the data set.
*/ inline void SetRecordFormat(const Aws::String& value) { m_recordFormatHasBeenSet = true; m_recordFormat = value; } /** *The record format of the data set.
*/ inline void SetRecordFormat(Aws::String&& value) { m_recordFormatHasBeenSet = true; m_recordFormat = std::move(value); } /** *The record format of the data set.
*/ inline void SetRecordFormat(const char* value) { m_recordFormatHasBeenSet = true; m_recordFormat.assign(value); } /** *The record format of the data set.
*/ inline VsamDetailAttributes& WithRecordFormat(const Aws::String& value) { SetRecordFormat(value); return *this;} /** *The record format of the data set.
*/ inline VsamDetailAttributes& WithRecordFormat(Aws::String&& value) { SetRecordFormat(std::move(value)); return *this;} /** *The record format of the data set.
*/ inline VsamDetailAttributes& WithRecordFormat(const char* value) { SetRecordFormat(value); return *this;} private: Aws::Vector