AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionRecord.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ExecutionStatus.h>
10#include <aws/appflow/model/ExecutionResult.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appflow/model/MetadataCatalogDetail.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Appflow
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_APPFLOW_API ExecutionRecord();
41 AWS_APPFLOW_API ExecutionRecord(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
51 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
52 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
53 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
54 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
55 inline ExecutionRecord& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
56 inline ExecutionRecord& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
57 inline ExecutionRecord& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
59
61
65 inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
66 inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; }
67 inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
68 inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = std::move(value); }
69 inline ExecutionRecord& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;}
70 inline ExecutionRecord& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;}
72
74
77 inline const ExecutionResult& GetExecutionResult() const{ return m_executionResult; }
78 inline bool ExecutionResultHasBeenSet() const { return m_executionResultHasBeenSet; }
79 inline void SetExecutionResult(const ExecutionResult& value) { m_executionResultHasBeenSet = true; m_executionResult = value; }
80 inline void SetExecutionResult(ExecutionResult&& value) { m_executionResultHasBeenSet = true; m_executionResult = std::move(value); }
81 inline ExecutionRecord& WithExecutionResult(const ExecutionResult& value) { SetExecutionResult(value); return *this;}
82 inline ExecutionRecord& WithExecutionResult(ExecutionResult&& value) { SetExecutionResult(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
90 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
91 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
92 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
93 inline ExecutionRecord& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
94 inline ExecutionRecord& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
102 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
103 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
104 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
105 inline ExecutionRecord& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
106 inline ExecutionRecord& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetDataPullStartTime() const{ return m_dataPullStartTime; }
115 inline bool DataPullStartTimeHasBeenSet() const { return m_dataPullStartTimeHasBeenSet; }
116 inline void SetDataPullStartTime(const Aws::Utils::DateTime& value) { m_dataPullStartTimeHasBeenSet = true; m_dataPullStartTime = value; }
117 inline void SetDataPullStartTime(Aws::Utils::DateTime&& value) { m_dataPullStartTimeHasBeenSet = true; m_dataPullStartTime = std::move(value); }
119 inline ExecutionRecord& WithDataPullStartTime(Aws::Utils::DateTime&& value) { SetDataPullStartTime(std::move(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetDataPullEndTime() const{ return m_dataPullEndTime; }
128 inline bool DataPullEndTimeHasBeenSet() const { return m_dataPullEndTimeHasBeenSet; }
129 inline void SetDataPullEndTime(const Aws::Utils::DateTime& value) { m_dataPullEndTimeHasBeenSet = true; m_dataPullEndTime = value; }
130 inline void SetDataPullEndTime(Aws::Utils::DateTime&& value) { m_dataPullEndTimeHasBeenSet = true; m_dataPullEndTime = std::move(value); }
131 inline ExecutionRecord& WithDataPullEndTime(const Aws::Utils::DateTime& value) { SetDataPullEndTime(value); return *this;}
132 inline ExecutionRecord& WithDataPullEndTime(Aws::Utils::DateTime&& value) { SetDataPullEndTime(std::move(value)); return *this;}
134
136
140 inline const Aws::Vector<MetadataCatalogDetail>& GetMetadataCatalogDetails() const{ return m_metadataCatalogDetails; }
141 inline bool MetadataCatalogDetailsHasBeenSet() const { return m_metadataCatalogDetailsHasBeenSet; }
142 inline void SetMetadataCatalogDetails(const Aws::Vector<MetadataCatalogDetail>& value) { m_metadataCatalogDetailsHasBeenSet = true; m_metadataCatalogDetails = value; }
143 inline void SetMetadataCatalogDetails(Aws::Vector<MetadataCatalogDetail>&& value) { m_metadataCatalogDetailsHasBeenSet = true; m_metadataCatalogDetails = std::move(value); }
146 inline ExecutionRecord& AddMetadataCatalogDetails(const MetadataCatalogDetail& value) { m_metadataCatalogDetailsHasBeenSet = true; m_metadataCatalogDetails.push_back(value); return *this; }
147 inline ExecutionRecord& AddMetadataCatalogDetails(MetadataCatalogDetail&& value) { m_metadataCatalogDetailsHasBeenSet = true; m_metadataCatalogDetails.push_back(std::move(value)); return *this; }
149 private:
150
151 Aws::String m_executionId;
152 bool m_executionIdHasBeenSet = false;
153
154 ExecutionStatus m_executionStatus;
155 bool m_executionStatusHasBeenSet = false;
156
157 ExecutionResult m_executionResult;
158 bool m_executionResultHasBeenSet = false;
159
160 Aws::Utils::DateTime m_startedAt;
161 bool m_startedAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedAt;
164 bool m_lastUpdatedAtHasBeenSet = false;
165
166 Aws::Utils::DateTime m_dataPullStartTime;
167 bool m_dataPullStartTimeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_dataPullEndTime;
170 bool m_dataPullEndTimeHasBeenSet = false;
171
172 Aws::Vector<MetadataCatalogDetail> m_metadataCatalogDetails;
173 bool m_metadataCatalogDetailsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Appflow
178} // namespace Aws
void SetExecutionId(Aws::String &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
ExecutionRecord & WithExecutionStatus(ExecutionStatus &&value)
ExecutionRecord & WithExecutionResult(ExecutionResult &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
ExecutionRecord & WithMetadataCatalogDetails(const Aws::Vector< MetadataCatalogDetail > &value)
void SetMetadataCatalogDetails(Aws::Vector< MetadataCatalogDetail > &&value)
ExecutionRecord & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ExecutionRecord & WithExecutionId(const char *value)
void SetExecutionResult(const ExecutionResult &value)
const ExecutionResult & GetExecutionResult() const
ExecutionRecord & WithExecutionResult(const ExecutionResult &value)
void SetExecutionResult(ExecutionResult &&value)
void SetExecutionStatus(const ExecutionStatus &value)
const Aws::Vector< MetadataCatalogDetail > & GetMetadataCatalogDetails() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutionRecord & WithExecutionId(Aws::String &&value)
ExecutionRecord & WithDataPullEndTime(Aws::Utils::DateTime &&value)
ExecutionRecord & AddMetadataCatalogDetails(const MetadataCatalogDetail &value)
void SetDataPullStartTime(const Aws::Utils::DateTime &value)
ExecutionRecord & WithMetadataCatalogDetails(Aws::Vector< MetadataCatalogDetail > &&value)
AWS_APPFLOW_API ExecutionRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionRecord & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetDataPullEndTime(const Aws::Utils::DateTime &value)
void SetExecutionId(const Aws::String &value)
ExecutionRecord & WithExecutionId(const Aws::String &value)
ExecutionRecord & WithDataPullStartTime(Aws::Utils::DateTime &&value)
const ExecutionStatus & GetExecutionStatus() const
ExecutionRecord & WithDataPullEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetExecutionId() const
ExecutionRecord & WithExecutionStatus(const ExecutionStatus &value)
const Aws::Utils::DateTime & GetDataPullStartTime() const
ExecutionRecord & WithDataPullStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDataPullEndTime() const
void SetExecutionStatus(ExecutionStatus &&value)
ExecutionRecord & WithStartedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetExecutionId(const char *value)
AWS_APPFLOW_API ExecutionRecord(Aws::Utils::Json::JsonView jsonValue)
void SetMetadataCatalogDetails(const Aws::Vector< MetadataCatalogDetail > &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetDataPullEndTime(Aws::Utils::DateTime &&value)
void SetDataPullStartTime(Aws::Utils::DateTime &&value)
ExecutionRecord & AddMetadataCatalogDetails(MetadataCatalogDetail &&value)
ExecutionRecord & WithStartedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue