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));
72 m_compressedHasBeenSet =
true;
87 template <
typename EncodingT = Aws::String>
89 m_encodingHasBeenSet =
true;
90 m_encoding = std::forward<EncodingT>(value);
92 template <
typename EncodingT = Aws::String>
105 template <
typename FormatT = Aws::String>
107 m_formatHasBeenSet =
true;
108 m_format = std::forward<FormatT>(value);
110 template <
typename FormatT = Aws::String>
123 template <
typename PrimaryKeyT = PrimaryKey>
125 m_primaryKeyHasBeenSet =
true;
126 m_primaryKey = std::forward<PrimaryKeyT>(value);
128 template <
typename PrimaryKeyT = PrimaryKey>
137 bool m_compressed{
false};
143 PrimaryKey m_primaryKey;
144 bool m_alternateKeysHasBeenSet =
false;
145 bool m_compressedHasBeenSet =
false;
146 bool m_encodingHasBeenSet =
false;
147 bool m_formatHasBeenSet =
false;
148 bool m_primaryKeyHasBeenSet =
false;
VsamAttributes & WithAlternateKeys(AlternateKeysT &&value)
const Aws::String & GetEncoding() const
VsamAttributes & WithEncoding(EncodingT &&value)
bool EncodingHasBeenSet() const
VsamAttributes & WithFormat(FormatT &&value)
void SetFormat(FormatT &&value)
AWS_MAINFRAMEMODERNIZATION_API VsamAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetAlternateKeys(AlternateKeysT &&value)
void SetEncoding(EncodingT &&value)
bool GetCompressed() const
bool FormatHasBeenSet() const
AWS_MAINFRAMEMODERNIZATION_API VsamAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrimaryKeyHasBeenSet() const
VsamAttributes & WithPrimaryKey(PrimaryKeyT &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool CompressedHasBeenSet() const
void SetPrimaryKey(PrimaryKeyT &&value)
bool AlternateKeysHasBeenSet() const
void SetCompressed(bool value)
const Aws::String & GetFormat() const
VsamAttributes & AddAlternateKeys(AlternateKeysT &&value)
const Aws::Vector< AlternateKey > & GetAlternateKeys() const
const PrimaryKey & GetPrimaryKey() const
VsamAttributes & WithCompressed(bool value)
AWS_MAINFRAMEMODERNIZATION_API VsamAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue