AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DatasetExportJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
32 public:
33 AWS_PERSONALIZE_API DatasetExportJobSummary() = default;
36 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDatasetExportJobArn() const { return m_datasetExportJobArn; }
43 inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
44 template <typename DatasetExportJobArnT = Aws::String>
45 void SetDatasetExportJobArn(DatasetExportJobArnT&& value) {
46 m_datasetExportJobArnHasBeenSet = true;
47 m_datasetExportJobArn = std::forward<DatasetExportJobArnT>(value);
48 }
49 template <typename DatasetExportJobArnT = Aws::String>
50 DatasetExportJobSummary& WithDatasetExportJobArn(DatasetExportJobArnT&& value) {
51 SetDatasetExportJobArn(std::forward<DatasetExportJobArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetJobName() const { return m_jobName; }
61 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
62 template <typename JobNameT = Aws::String>
63 void SetJobName(JobNameT&& value) {
64 m_jobNameHasBeenSet = true;
65 m_jobName = std::forward<JobNameT>(value);
66 }
67 template <typename JobNameT = Aws::String>
69 SetJobName(std::forward<JobNameT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 template <typename StatusT = Aws::String>
83 void SetStatus(StatusT&& value) {
84 m_statusHasBeenSet = true;
85 m_status = std::forward<StatusT>(value);
86 }
87 template <typename StatusT = Aws::String>
89 SetStatus(std::forward<StatusT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
99 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
100 template <typename CreationDateTimeT = Aws::Utils::DateTime>
101 void SetCreationDateTime(CreationDateTimeT&& value) {
102 m_creationDateTimeHasBeenSet = true;
103 m_creationDateTime = std::forward<CreationDateTimeT>(value);
104 }
105 template <typename CreationDateTimeT = Aws::Utils::DateTime>
106 DatasetExportJobSummary& WithCreationDateTime(CreationDateTimeT&& value) {
107 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
118 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
119 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
120 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
121 m_lastUpdatedDateTimeHasBeenSet = true;
122 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
123 }
124 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
125 DatasetExportJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
126 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
136 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
137 template <typename FailureReasonT = Aws::String>
138 void SetFailureReason(FailureReasonT&& value) {
139 m_failureReasonHasBeenSet = true;
140 m_failureReason = std::forward<FailureReasonT>(value);
141 }
142 template <typename FailureReasonT = Aws::String>
144 SetFailureReason(std::forward<FailureReasonT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_datasetExportJobArn;
150
151 Aws::String m_jobName;
152
153 Aws::String m_status;
154
155 Aws::Utils::DateTime m_creationDateTime{};
156
157 Aws::Utils::DateTime m_lastUpdatedDateTime{};
158
159 Aws::String m_failureReason;
160 bool m_datasetExportJobArnHasBeenSet = false;
161 bool m_jobNameHasBeenSet = false;
162 bool m_statusHasBeenSet = false;
163 bool m_creationDateTimeHasBeenSet = false;
164 bool m_lastUpdatedDateTimeHasBeenSet = false;
165 bool m_failureReasonHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace Personalize
170} // namespace Aws
DatasetExportJobSummary & WithJobName(JobNameT &&value)
AWS_PERSONALIZE_API DatasetExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DatasetExportJobSummary()=default
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_PERSONALIZE_API DatasetExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetExportJobSummary & WithDatasetExportJobArn(DatasetExportJobArnT &&value)
DatasetExportJobSummary & WithFailureReason(FailureReasonT &&value)
DatasetExportJobSummary & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetExportJobArn(DatasetExportJobArnT &&value)
DatasetExportJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
DatasetExportJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue