AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataDeletionJobSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Personalize
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PERSONALIZE_API DataDeletionJobSummary() = default;
39 AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDataDeletionJobArn() const { return m_dataDeletionJobArn; }
49 inline bool DataDeletionJobArnHasBeenSet() const { return m_dataDeletionJobArnHasBeenSet; }
50 template<typename DataDeletionJobArnT = Aws::String>
51 void SetDataDeletionJobArn(DataDeletionJobArnT&& value) { m_dataDeletionJobArnHasBeenSet = true; m_dataDeletionJobArn = std::forward<DataDeletionJobArnT>(value); }
52 template<typename DataDeletionJobArnT = Aws::String>
53 DataDeletionJobSummary& WithDataDeletionJobArn(DataDeletionJobArnT&& value) { SetDataDeletionJobArn(std::forward<DataDeletionJobArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
62 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
63 template<typename DatasetGroupArnT = Aws::String>
64 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
65 template<typename DatasetGroupArnT = Aws::String>
66 DataDeletionJobSummary& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetJobName() const { return m_jobName; }
74 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
75 template<typename JobNameT = Aws::String>
76 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
77 template<typename JobNameT = Aws::String>
78 DataDeletionJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
80
82
87 inline const Aws::String& GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 template<typename StatusT = Aws::String>
90 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
91 template<typename StatusT = Aws::String>
92 DataDeletionJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
100 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
101 template<typename CreationDateTimeT = Aws::Utils::DateTime>
102 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
103 template<typename CreationDateTimeT = Aws::Utils::DateTime>
104 DataDeletionJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
112 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
113 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
114 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
115 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
116 DataDeletionJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
118
120
123 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
124 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
125 template<typename FailureReasonT = Aws::String>
126 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
127 template<typename FailureReasonT = Aws::String>
128 DataDeletionJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
130 private:
131
132 Aws::String m_dataDeletionJobArn;
133 bool m_dataDeletionJobArnHasBeenSet = false;
134
135 Aws::String m_datasetGroupArn;
136 bool m_datasetGroupArnHasBeenSet = false;
137
138 Aws::String m_jobName;
139 bool m_jobNameHasBeenSet = false;
140
141 Aws::String m_status;
142 bool m_statusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_creationDateTime{};
145 bool m_creationDateTimeHasBeenSet = false;
146
147 Aws::Utils::DateTime m_lastUpdatedDateTime{};
148 bool m_lastUpdatedDateTimeHasBeenSet = false;
149
150 Aws::String m_failureReason;
151 bool m_failureReasonHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Personalize
156} // namespace Aws
void SetDataDeletionJobArn(DataDeletionJobArnT &&value)
DataDeletionJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataDeletionJobSummary & WithDataDeletionJobArn(DataDeletionJobArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DataDeletionJobSummary & WithStatus(StatusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DataDeletionJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
DataDeletionJobSummary & WithDatasetGroupArn(DatasetGroupArnT &&value)
AWS_PERSONALIZE_API DataDeletionJobSummary(Aws::Utils::Json::JsonView jsonValue)
DataDeletionJobSummary & WithJobName(JobNameT &&value)
DataDeletionJobSummary & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue