AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VsamDetailAttributes.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MainframeModernization
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes();
38 AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<AlternateKey>& GetAlternateKeys() const{ return m_alternateKeys; }
50 inline bool AlternateKeysHasBeenSet() const { return m_alternateKeysHasBeenSet; }
51 inline void SetAlternateKeys(const Aws::Vector<AlternateKey>& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys = value; }
52 inline void SetAlternateKeys(Aws::Vector<AlternateKey>&& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys = std::move(value); }
54 inline VsamDetailAttributes& WithAlternateKeys(Aws::Vector<AlternateKey>&& value) { SetAlternateKeys(std::move(value)); return *this;}
55 inline VsamDetailAttributes& AddAlternateKeys(const AlternateKey& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys.push_back(value); return *this; }
56 inline VsamDetailAttributes& AddAlternateKeys(AlternateKey&& value) { m_alternateKeysHasBeenSet = true; m_alternateKeys.push_back(std::move(value)); return *this; }
58
60
64 inline bool GetCacheAtStartup() const{ return m_cacheAtStartup; }
65 inline bool CacheAtStartupHasBeenSet() const { return m_cacheAtStartupHasBeenSet; }
66 inline void SetCacheAtStartup(bool value) { m_cacheAtStartupHasBeenSet = true; m_cacheAtStartup = value; }
67 inline VsamDetailAttributes& WithCacheAtStartup(bool value) { SetCacheAtStartup(value); return *this;}
69
71
76 inline bool GetCompressed() const{ return m_compressed; }
77 inline bool CompressedHasBeenSet() const { return m_compressedHasBeenSet; }
78 inline void SetCompressed(bool value) { m_compressedHasBeenSet = true; m_compressed = value; }
79 inline VsamDetailAttributes& WithCompressed(bool value) { SetCompressed(value); return *this;}
81
83
86 inline const Aws::String& GetEncoding() const{ return m_encoding; }
87 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
88 inline void SetEncoding(const Aws::String& value) { m_encodingHasBeenSet = true; m_encoding = value; }
89 inline void SetEncoding(Aws::String&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); }
90 inline void SetEncoding(const char* value) { m_encodingHasBeenSet = true; m_encoding.assign(value); }
91 inline VsamDetailAttributes& WithEncoding(const Aws::String& value) { SetEncoding(value); return *this;}
92 inline VsamDetailAttributes& WithEncoding(Aws::String&& value) { SetEncoding(std::move(value)); return *this;}
93 inline VsamDetailAttributes& WithEncoding(const char* value) { SetEncoding(value); return *this;}
95
97
100 inline const PrimaryKey& GetPrimaryKey() const{ return m_primaryKey; }
101 inline bool PrimaryKeyHasBeenSet() const { return m_primaryKeyHasBeenSet; }
102 inline void SetPrimaryKey(const PrimaryKey& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = value; }
103 inline void SetPrimaryKey(PrimaryKey&& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = std::move(value); }
104 inline VsamDetailAttributes& WithPrimaryKey(const PrimaryKey& value) { SetPrimaryKey(value); return *this;}
105 inline VsamDetailAttributes& WithPrimaryKey(PrimaryKey&& value) { SetPrimaryKey(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetRecordFormat() const{ return m_recordFormat; }
113 inline bool RecordFormatHasBeenSet() const { return m_recordFormatHasBeenSet; }
114 inline void SetRecordFormat(const Aws::String& value) { m_recordFormatHasBeenSet = true; m_recordFormat = value; }
115 inline void SetRecordFormat(Aws::String&& value) { m_recordFormatHasBeenSet = true; m_recordFormat = std::move(value); }
116 inline void SetRecordFormat(const char* value) { m_recordFormatHasBeenSet = true; m_recordFormat.assign(value); }
117 inline VsamDetailAttributes& WithRecordFormat(const Aws::String& value) { SetRecordFormat(value); return *this;}
118 inline VsamDetailAttributes& WithRecordFormat(Aws::String&& value) { SetRecordFormat(std::move(value)); return *this;}
119 inline VsamDetailAttributes& WithRecordFormat(const char* value) { SetRecordFormat(value); return *this;}
121 private:
122
123 Aws::Vector<AlternateKey> m_alternateKeys;
124 bool m_alternateKeysHasBeenSet = false;
125
126 bool m_cacheAtStartup;
127 bool m_cacheAtStartupHasBeenSet = false;
128
129 bool m_compressed;
130 bool m_compressedHasBeenSet = false;
131
132 Aws::String m_encoding;
133 bool m_encodingHasBeenSet = false;
134
135 PrimaryKey m_primaryKey;
136 bool m_primaryKeyHasBeenSet = false;
137
138 Aws::String m_recordFormat;
139 bool m_recordFormatHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MainframeModernization
144} // namespace Aws
VsamDetailAttributes & WithPrimaryKey(PrimaryKey &&value)
AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
VsamDetailAttributes & WithRecordFormat(const char *value)
VsamDetailAttributes & AddAlternateKeys(AlternateKey &&value)
VsamDetailAttributes & WithRecordFormat(const Aws::String &value)
VsamDetailAttributes & WithPrimaryKey(const PrimaryKey &value)
const Aws::Vector< AlternateKey > & GetAlternateKeys() const
void SetAlternateKeys(Aws::Vector< AlternateKey > &&value)
VsamDetailAttributes & WithEncoding(const char *value)
void SetAlternateKeys(const Aws::Vector< AlternateKey > &value)
VsamDetailAttributes & WithEncoding(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API VsamDetailAttributes()
VsamDetailAttributes & WithAlternateKeys(Aws::Vector< AlternateKey > &&value)
VsamDetailAttributes & WithRecordFormat(Aws::String &&value)
VsamDetailAttributes & WithEncoding(const Aws::String &value)
VsamDetailAttributes & WithAlternateKeys(const Aws::Vector< AlternateKey > &value)
VsamDetailAttributes & AddAlternateKeys(const AlternateKey &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