AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSetImportTask.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/DataSetTaskLifecycle.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/DataSetImportSummary.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
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask();
38 AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DataSetTaskLifecycle& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const DataSetTaskLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(DataSetTaskLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline DataSetImportTask& WithStatus(const DataSetTaskLifecycle& value) { SetStatus(value); return *this;}
52 inline DataSetImportTask& WithStatus(DataSetTaskLifecycle&& value) { SetStatus(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
60 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
61 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
62 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
63 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
64 inline DataSetImportTask& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
65 inline DataSetImportTask& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
66 inline DataSetImportTask& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
68
70
73 inline const DataSetImportSummary& GetSummary() const{ return m_summary; }
74 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
75 inline void SetSummary(const DataSetImportSummary& value) { m_summaryHasBeenSet = true; m_summary = value; }
76 inline void SetSummary(DataSetImportSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
77 inline DataSetImportTask& WithSummary(const DataSetImportSummary& value) { SetSummary(value); return *this;}
78 inline DataSetImportTask& WithSummary(DataSetImportSummary&& value) { SetSummary(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetTaskId() const{ return m_taskId; }
86 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
87 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
88 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
89 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
90 inline DataSetImportTask& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
91 inline DataSetImportTask& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
92 inline DataSetImportTask& WithTaskId(const char* value) { SetTaskId(value); return *this;}
94 private:
95
96 DataSetTaskLifecycle m_status;
97 bool m_statusHasBeenSet = false;
98
99 Aws::String m_statusReason;
100 bool m_statusReasonHasBeenSet = false;
101
102 DataSetImportSummary m_summary;
103 bool m_summaryHasBeenSet = false;
104
105 Aws::String m_taskId;
106 bool m_taskIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MainframeModernization
111} // namespace Aws
DataSetImportTask & WithStatusReason(const Aws::String &value)
DataSetImportTask & WithTaskId(Aws::String &&value)
const DataSetImportSummary & GetSummary() const
DataSetImportTask & WithTaskId(const char *value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask()
void SetSummary(const DataSetImportSummary &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataSetImportTask & WithStatus(DataSetTaskLifecycle &&value)
void SetStatus(const DataSetTaskLifecycle &value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask(Aws::Utils::Json::JsonView jsonValue)
DataSetImportTask & WithTaskId(const Aws::String &value)
DataSetImportTask & WithSummary(DataSetImportSummary &&value)
AWS_MAINFRAMEMODERNIZATION_API DataSetImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSetImportTask & WithStatusReason(const char *value)
DataSetImportTask & WithStatus(const DataSetTaskLifecycle &value)
DataSetImportTask & WithStatusReason(Aws::String &&value)
DataSetImportTask & WithSummary(const DataSetImportSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue