AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ErrorInfo.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPFLOW_API ExecutionResult();
35 AWS_APPFLOW_API ExecutionResult(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
45 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
46 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
47 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
48 inline ExecutionResult& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
49 inline ExecutionResult& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
51
53
56 inline long long GetBytesProcessed() const{ return m_bytesProcessed; }
57 inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; }
58 inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; }
59 inline ExecutionResult& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;}
61
63
66 inline long long GetBytesWritten() const{ return m_bytesWritten; }
67 inline bool BytesWrittenHasBeenSet() const { return m_bytesWrittenHasBeenSet; }
68 inline void SetBytesWritten(long long value) { m_bytesWrittenHasBeenSet = true; m_bytesWritten = value; }
69 inline ExecutionResult& WithBytesWritten(long long value) { SetBytesWritten(value); return *this;}
71
73
76 inline long long GetRecordsProcessed() const{ return m_recordsProcessed; }
77 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
78 inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; }
79 inline ExecutionResult& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;}
81
83
87 inline long long GetNumParallelProcesses() const{ return m_numParallelProcesses; }
88 inline bool NumParallelProcessesHasBeenSet() const { return m_numParallelProcessesHasBeenSet; }
89 inline void SetNumParallelProcesses(long long value) { m_numParallelProcessesHasBeenSet = true; m_numParallelProcesses = value; }
90 inline ExecutionResult& WithNumParallelProcesses(long long value) { SetNumParallelProcesses(value); return *this;}
92
94
98 inline long long GetMaxPageSize() const{ return m_maxPageSize; }
99 inline bool MaxPageSizeHasBeenSet() const { return m_maxPageSizeHasBeenSet; }
100 inline void SetMaxPageSize(long long value) { m_maxPageSizeHasBeenSet = true; m_maxPageSize = value; }
101 inline ExecutionResult& WithMaxPageSize(long long value) { SetMaxPageSize(value); return *this;}
103 private:
104
105 ErrorInfo m_errorInfo;
106 bool m_errorInfoHasBeenSet = false;
107
108 long long m_bytesProcessed;
109 bool m_bytesProcessedHasBeenSet = false;
110
111 long long m_bytesWritten;
112 bool m_bytesWrittenHasBeenSet = false;
113
114 long long m_recordsProcessed;
115 bool m_recordsProcessedHasBeenSet = false;
116
117 long long m_numParallelProcesses;
118 bool m_numParallelProcessesHasBeenSet = false;
119
120 long long m_maxPageSize;
121 bool m_maxPageSizeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Appflow
126} // namespace Aws
ExecutionResult & WithBytesProcessed(long long value)
ExecutionResult & WithNumParallelProcesses(long long value)
AWS_APPFLOW_API ExecutionResult(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorInfo(const ErrorInfo &value)
ExecutionResult & WithErrorInfo(const ErrorInfo &value)
ExecutionResult & WithErrorInfo(ErrorInfo &&value)
ExecutionResult & WithBytesWritten(long long value)
const ErrorInfo & GetErrorInfo() const
void SetBytesProcessed(long long value)
ExecutionResult & WithRecordsProcessed(long long value)
void SetNumParallelProcesses(long long value)
void SetRecordsProcessed(long long value)
ExecutionResult & WithMaxPageSize(long long value)
void SetErrorInfo(ErrorInfo &&value)
AWS_APPFLOW_API ExecutionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue