AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSet.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/model/DatasetOrgAttributes.h>
10#include <aws/m2/model/RecordLength.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MainframeModernization
24{
25namespace Model
26{
27
33 class DataSet
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API DataSet();
37 AWS_MAINFRAMEMODERNIZATION_API DataSet(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API DataSet& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
47 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
48 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
49 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
50 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
51 inline DataSet& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
52 inline DataSet& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
53 inline DataSet& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
55
57
60 inline const DatasetOrgAttributes& GetDatasetOrg() const{ return m_datasetOrg; }
61 inline bool DatasetOrgHasBeenSet() const { return m_datasetOrgHasBeenSet; }
62 inline void SetDatasetOrg(const DatasetOrgAttributes& value) { m_datasetOrgHasBeenSet = true; m_datasetOrg = value; }
63 inline void SetDatasetOrg(DatasetOrgAttributes&& value) { m_datasetOrgHasBeenSet = true; m_datasetOrg = std::move(value); }
64 inline DataSet& WithDatasetOrg(const DatasetOrgAttributes& value) { SetDatasetOrg(value); return *this;}
65 inline DataSet& WithDatasetOrg(DatasetOrgAttributes&& value) { SetDatasetOrg(std::move(value)); return *this;}
67
69
72 inline const RecordLength& GetRecordLength() const{ return m_recordLength; }
73 inline bool RecordLengthHasBeenSet() const { return m_recordLengthHasBeenSet; }
74 inline void SetRecordLength(const RecordLength& value) { m_recordLengthHasBeenSet = true; m_recordLength = value; }
75 inline void SetRecordLength(RecordLength&& value) { m_recordLengthHasBeenSet = true; m_recordLength = std::move(value); }
76 inline DataSet& WithRecordLength(const RecordLength& value) { SetRecordLength(value); return *this;}
77 inline DataSet& WithRecordLength(RecordLength&& value) { SetRecordLength(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetRelativePath() const{ return m_relativePath; }
85 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
86 inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; }
87 inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); }
88 inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); }
89 inline DataSet& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;}
90 inline DataSet& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;}
91 inline DataSet& WithRelativePath(const char* value) { SetRelativePath(value); return *this;}
93
95
101 inline const Aws::String& GetStorageType() const{ return m_storageType; }
102 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
103 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
104 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
105 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
106 inline DataSet& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
107 inline DataSet& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
108 inline DataSet& WithStorageType(const char* value) { SetStorageType(value); return *this;}
110 private:
111
112 Aws::String m_datasetName;
113 bool m_datasetNameHasBeenSet = false;
114
115 DatasetOrgAttributes m_datasetOrg;
116 bool m_datasetOrgHasBeenSet = false;
117
118 RecordLength m_recordLength;
119 bool m_recordLengthHasBeenSet = false;
120
121 Aws::String m_relativePath;
122 bool m_relativePathHasBeenSet = false;
123
124 Aws::String m_storageType;
125 bool m_storageTypeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace MainframeModernization
130} // namespace Aws
DataSet & WithRelativePath(Aws::String &&value)
Definition DataSet.h:90
DataSet & WithStorageType(const char *value)
Definition DataSet.h:108
void SetStorageType(const Aws::String &value)
Definition DataSet.h:103
AWS_MAINFRAMEMODERNIZATION_API DataSet(Aws::Utils::Json::JsonView jsonValue)
void SetRelativePath(Aws::String &&value)
Definition DataSet.h:87
DataSet & WithDatasetName(const char *value)
Definition DataSet.h:53
void SetRelativePath(const char *value)
Definition DataSet.h:88
void SetStorageType(Aws::String &&value)
Definition DataSet.h:104
DataSet & WithRelativePath(const Aws::String &value)
Definition DataSet.h:89
const Aws::String & GetRelativePath() const
Definition DataSet.h:84
void SetStorageType(const char *value)
Definition DataSet.h:105
void SetRecordLength(const RecordLength &value)
Definition DataSet.h:74
void SetDatasetName(const char *value)
Definition DataSet.h:50
void SetDatasetName(const Aws::String &value)
Definition DataSet.h:48
const DatasetOrgAttributes & GetDatasetOrg() const
Definition DataSet.h:60
AWS_MAINFRAMEMODERNIZATION_API DataSet()
const RecordLength & GetRecordLength() const
Definition DataSet.h:72
DataSet & WithDatasetOrg(const DatasetOrgAttributes &value)
Definition DataSet.h:64
DataSet & WithDatasetOrg(DatasetOrgAttributes &&value)
Definition DataSet.h:65
void SetDatasetOrg(const DatasetOrgAttributes &value)
Definition DataSet.h:62
DataSet & WithDatasetName(const Aws::String &value)
Definition DataSet.h:51
void SetRelativePath(const Aws::String &value)
Definition DataSet.h:86
DataSet & WithStorageType(Aws::String &&value)
Definition DataSet.h:107
DataSet & WithRelativePath(const char *value)
Definition DataSet.h:91
const Aws::String & GetDatasetName() const
Definition DataSet.h:46
void SetDatasetOrg(DatasetOrgAttributes &&value)
Definition DataSet.h:63
DataSet & WithDatasetName(Aws::String &&value)
Definition DataSet.h:52
void SetRecordLength(RecordLength &&value)
Definition DataSet.h:75
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DataSet & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSet & WithRecordLength(const RecordLength &value)
Definition DataSet.h:76
DataSet & WithRecordLength(RecordLength &&value)
Definition DataSet.h:77
const Aws::String & GetStorageType() const
Definition DataSet.h:101
void SetDatasetName(Aws::String &&value)
Definition DataSet.h:49
DataSet & WithStorageType(const Aws::String &value)
Definition DataSet.h:106
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue