AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetExportJobSummary.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 DatasetExportJobSummary() = default;
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDatasetExportJobArn() const { return m_datasetExportJobArn; }
49 inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
50 template<typename DatasetExportJobArnT = Aws::String>
51 void SetDatasetExportJobArn(DatasetExportJobArnT&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::forward<DatasetExportJobArnT>(value); }
52 template<typename DatasetExportJobArnT = Aws::String>
53 DatasetExportJobSummary& WithDatasetExportJobArn(DatasetExportJobArnT&& value) { SetDatasetExportJobArn(std::forward<DatasetExportJobArnT>(value)); return *this;}
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) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
64 template<typename JobNameT = Aws::String>
65 DatasetExportJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
67
69
74 inline const Aws::String& GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 template<typename StatusT = Aws::String>
77 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
78 template<typename StatusT = Aws::String>
79 DatasetExportJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
87 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
88 template<typename CreationDateTimeT = Aws::Utils::DateTime>
89 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
90 template<typename CreationDateTimeT = Aws::Utils::DateTime>
91 DatasetExportJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
100 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
101 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 DatasetExportJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
112 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
113 template<typename FailureReasonT = Aws::String>
114 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
115 template<typename FailureReasonT = Aws::String>
116 DatasetExportJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
118 private:
119
120 Aws::String m_datasetExportJobArn;
121 bool m_datasetExportJobArnHasBeenSet = false;
122
123 Aws::String m_jobName;
124 bool m_jobNameHasBeenSet = false;
125
126 Aws::String m_status;
127 bool m_statusHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationDateTime{};
130 bool m_creationDateTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastUpdatedDateTime{};
133 bool m_lastUpdatedDateTimeHasBeenSet = false;
134
135 Aws::String m_failureReason;
136 bool m_failureReasonHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Personalize
141} // 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