7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/PrimaryKey.h>
11#include <aws/m2/model/AlternateKey.h>
24namespace MainframeModernization
51 template<
typename AlternateKeysT = Aws::Vector<AlternateKey>>
52 void SetAlternateKeys(AlternateKeysT&& value) { m_alternateKeysHasBeenSet =
true; m_alternateKeys = std::forward<AlternateKeysT>(value); }
53 template<
typename AlternateKeysT = Aws::Vector<AlternateKey>>
55 template<
typename AlternateKeysT = AlternateKey>
56 VsamAttributes&
AddAlternateKeys(AlternateKeysT&& value) { m_alternateKeysHasBeenSet =
true; m_alternateKeys.emplace_back(std::forward<AlternateKeysT>(value));
return *
this; }
67 inline void SetCompressed(
bool value) { m_compressedHasBeenSet =
true; m_compressed = value; }
77 template<
typename EncodingT = Aws::String>
78 void SetEncoding(EncodingT&& value) { m_encodingHasBeenSet =
true; m_encoding = std::forward<EncodingT>(value); }
79 template<
typename EncodingT = Aws::String>
89 template<
typename FormatT = Aws::String>
90 void SetFormat(FormatT&& value) { m_formatHasBeenSet =
true; m_format = std::forward<FormatT>(value); }
91 template<
typename FormatT = Aws::String>
101 template<
typename PrimaryKeyT = PrimaryKey>
102 void SetPrimaryKey(PrimaryKeyT&& value) { m_primaryKeyHasBeenSet =
true; m_primaryKey = std::forward<PrimaryKeyT>(value); }
103 template<
typename PrimaryKeyT = PrimaryKey>
109 bool m_alternateKeysHasBeenSet =
false;
111 bool m_compressed{
false};
112 bool m_compressedHasBeenSet =
false;
115 bool m_encodingHasBeenSet =
false;
118 bool m_formatHasBeenSet =
false;
120 PrimaryKey m_primaryKey;
121 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