AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DatasetNameT = Aws::String>
49 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
50 template<typename DatasetNameT = Aws::String>
51 DataSet& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
53
55
58 inline const DatasetOrgAttributes& GetDatasetOrg() const { return m_datasetOrg; }
59 inline bool DatasetOrgHasBeenSet() const { return m_datasetOrgHasBeenSet; }
60 template<typename DatasetOrgT = DatasetOrgAttributes>
61 void SetDatasetOrg(DatasetOrgT&& value) { m_datasetOrgHasBeenSet = true; m_datasetOrg = std::forward<DatasetOrgT>(value); }
62 template<typename DatasetOrgT = DatasetOrgAttributes>
63 DataSet& WithDatasetOrg(DatasetOrgT&& value) { SetDatasetOrg(std::forward<DatasetOrgT>(value)); return *this;}
65
67
70 inline const RecordLength& GetRecordLength() const { return m_recordLength; }
71 inline bool RecordLengthHasBeenSet() const { return m_recordLengthHasBeenSet; }
72 template<typename RecordLengthT = RecordLength>
73 void SetRecordLength(RecordLengthT&& value) { m_recordLengthHasBeenSet = true; m_recordLength = std::forward<RecordLengthT>(value); }
74 template<typename RecordLengthT = RecordLength>
75 DataSet& WithRecordLength(RecordLengthT&& value) { SetRecordLength(std::forward<RecordLengthT>(value)); return *this;}
77
79
82 inline const Aws::String& GetRelativePath() const { return m_relativePath; }
83 inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; }
84 template<typename RelativePathT = Aws::String>
85 void SetRelativePath(RelativePathT&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::forward<RelativePathT>(value); }
86 template<typename RelativePathT = Aws::String>
87 DataSet& WithRelativePath(RelativePathT&& value) { SetRelativePath(std::forward<RelativePathT>(value)); return *this;}
89
91
97 inline const Aws::String& GetStorageType() const { return m_storageType; }
98 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
99 template<typename StorageTypeT = Aws::String>
100 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
101 template<typename StorageTypeT = Aws::String>
102 DataSet& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
104 private:
105
106 Aws::String m_datasetName;
107 bool m_datasetNameHasBeenSet = false;
108
109 DatasetOrgAttributes m_datasetOrg;
110 bool m_datasetOrgHasBeenSet = false;
111
112 RecordLength m_recordLength;
113 bool m_recordLengthHasBeenSet = false;
114
115 Aws::String m_relativePath;
116 bool m_relativePathHasBeenSet = false;
117
118 Aws::String m_storageType;
119 bool m_storageTypeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MainframeModernization
124} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API DataSet(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRelativePath() const
Definition DataSet.h:82
DataSet & WithRelativePath(RelativePathT &&value)
Definition DataSet.h:87
DataSet & WithDatasetOrg(DatasetOrgT &&value)
Definition DataSet.h:63
DataSet & WithRecordLength(RecordLengthT &&value)
Definition DataSet.h:75
const DatasetOrgAttributes & GetDatasetOrg() const
Definition DataSet.h:58
DataSet & WithStorageType(StorageTypeT &&value)
Definition DataSet.h:102
const RecordLength & GetRecordLength() const
Definition DataSet.h:70
void SetRecordLength(RecordLengthT &&value)
Definition DataSet.h:73
AWS_MAINFRAMEMODERNIZATION_API DataSet()=default
const Aws::String & GetDatasetName() const
Definition DataSet.h:46
void SetDatasetOrg(DatasetOrgT &&value)
Definition DataSet.h:61
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DataSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStorageType(StorageTypeT &&value)
Definition DataSet.h:100
DataSet & WithDatasetName(DatasetNameT &&value)
Definition DataSet.h:51
void SetRelativePath(RelativePathT &&value)
Definition DataSet.h:85
void SetDatasetName(DatasetNameT &&value)
Definition DataSet.h:49
const Aws::String & GetStorageType() const
Definition DataSet.h:97
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue