7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/m2/MainframeModernization_EXPORTS.h>
10#include <aws/m2/model/AlternateKey.h>
11#include <aws/m2/model/PrimaryKey.h>
22namespace MainframeModernization {
45 template <
typename AlternateKeysT = Aws::Vector<AlternateKey>>
47 m_alternateKeysHasBeenSet =
true;
48 m_alternateKeys = std::forward<AlternateKeysT>(value);
50 template <
typename AlternateKeysT = Aws::Vector<AlternateKey>>
55 template <
typename AlternateKeysT = AlternateKey>
57 m_alternateKeysHasBeenSet =
true;
58 m_alternateKeys.emplace_back(std::forward<AlternateKeysT>(value));
71 m_cacheAtStartupHasBeenSet =
true;
72 m_cacheAtStartup = value;
89 m_compressedHasBeenSet =
true;
104 template <
typename EncodingT = Aws::String>
106 m_encodingHasBeenSet =
true;
107 m_encoding = std::forward<EncodingT>(value);
109 template <
typename EncodingT = Aws::String>
122 template <
typename PrimaryKeyT = PrimaryKey>
124 m_primaryKeyHasBeenSet =
true;
125 m_primaryKey = std::forward<PrimaryKeyT>(value);
127 template <
typename PrimaryKeyT = PrimaryKey>
140 template <
typename RecordFormatT = Aws::String>
142 m_recordFormatHasBeenSet =
true;
143 m_recordFormat = std::forward<RecordFormatT>(value);
145 template <
typename RecordFormatT = Aws::String>
154 bool m_cacheAtStartup{
false};
156 bool m_compressed{
false};
160 PrimaryKey m_primaryKey;
163 bool m_alternateKeysHasBeenSet =
false;
164 bool m_cacheAtStartupHasBeenSet =
false;
165 bool m_compressedHasBeenSet =
false;
166 bool m_encodingHasBeenSet =
false;
167 bool m_primaryKeyHasBeenSet =
false;
168 bool m_recordFormatHasBeenSet =
false;
bool CacheAtStartupHasBeenSet() const
VsamDetailAttributes & WithPrimaryKey(PrimaryKeyT &&value)
VsamDetailAttributes & WithCacheAtStartup(bool value)
VsamDetailAttributes & WithEncoding(EncodingT &&value)
void SetCacheAtStartup(bool value)
AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
VsamDetailAttributes & WithAlternateKeys(AlternateKeysT &&value)
void SetAlternateKeys(AlternateKeysT &&value)
VsamDetailAttributes & WithRecordFormat(RecordFormatT &&value)
const Aws::String & GetRecordFormat() const
const Aws::Vector< AlternateKey > & GetAlternateKeys() const
bool RecordFormatHasBeenSet() const
bool PrimaryKeyHasBeenSet() const
bool EncodingHasBeenSet() const
void SetRecordFormat(RecordFormatT &&value)
AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes()=default
const PrimaryKey & GetPrimaryKey() const
VsamDetailAttributes & AddAlternateKeys(AlternateKeysT &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompressed(bool value)
void SetPrimaryKey(PrimaryKeyT &&value)
bool GetCacheAtStartup() const
bool CompressedHasBeenSet() const
bool AlternateKeysHasBeenSet() const
void SetEncoding(EncodingT &&value)
bool GetCompressed() const
const Aws::String & GetEncoding() const
VsamDetailAttributes & WithCompressed(bool value)
AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue