AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSetImportItem.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/DataSet.h>
9#include <aws/m2/model/ExternalLocation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MainframeModernization
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem();
37 AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DataSet& GetDataSet() const{ return m_dataSet; }
47 inline bool DataSetHasBeenSet() const { return m_dataSetHasBeenSet; }
48 inline void SetDataSet(const DataSet& value) { m_dataSetHasBeenSet = true; m_dataSet = value; }
49 inline void SetDataSet(DataSet&& value) { m_dataSetHasBeenSet = true; m_dataSet = std::move(value); }
50 inline DataSetImportItem& WithDataSet(const DataSet& value) { SetDataSet(value); return *this;}
51 inline DataSetImportItem& WithDataSet(DataSet&& value) { SetDataSet(std::move(value)); return *this;}
53
55
58 inline const ExternalLocation& GetExternalLocation() const{ return m_externalLocation; }
59 inline bool ExternalLocationHasBeenSet() const { return m_externalLocationHasBeenSet; }
60 inline void SetExternalLocation(const ExternalLocation& value) { m_externalLocationHasBeenSet = true; m_externalLocation = value; }
61 inline void SetExternalLocation(ExternalLocation&& value) { m_externalLocationHasBeenSet = true; m_externalLocation = std::move(value); }
62 inline DataSetImportItem& WithExternalLocation(const ExternalLocation& value) { SetExternalLocation(value); return *this;}
63 inline DataSetImportItem& WithExternalLocation(ExternalLocation&& value) { SetExternalLocation(std::move(value)); return *this;}
65 private:
66
67 DataSet m_dataSet;
68 bool m_dataSetHasBeenSet = false;
69
70 ExternalLocation m_externalLocation;
71 bool m_externalLocationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MainframeModernization
76} // namespace Aws
DataSetImportItem & WithDataSet(const DataSet &value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem()
AWS_MAINFRAMEMODERNIZATION_API DataSetImportItem(Aws::Utils::Json::JsonView jsonValue)
DataSetImportItem & WithExternalLocation(ExternalLocation &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataSetImportItem & WithDataSet(DataSet &&value)
void SetExternalLocation(const ExternalLocation &value)
DataSetImportItem & WithExternalLocation(const ExternalLocation &value)
Aws::Utils::Json::JsonValue JsonValue