AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExportTaskDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NeptuneGraph {
20namespace Model {
21
29 public:
30 AWS_NEPTUNEGRAPH_API ExportTaskDetails() = default;
31 AWS_NEPTUNEGRAPH_API ExportTaskDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEGRAPH_API ExportTaskDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
40 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
41 template <typename StartTimeT = Aws::Utils::DateTime>
42 void SetStartTime(StartTimeT&& value) {
43 m_startTimeHasBeenSet = true;
44 m_startTime = std::forward<StartTimeT>(value);
45 }
46 template <typename StartTimeT = Aws::Utils::DateTime>
47 ExportTaskDetails& WithStartTime(StartTimeT&& value) {
48 SetStartTime(std::forward<StartTimeT>(value));
49 return *this;
50 }
52
54
57 inline long long GetTimeElapsedSeconds() const { return m_timeElapsedSeconds; }
58 inline bool TimeElapsedSecondsHasBeenSet() const { return m_timeElapsedSecondsHasBeenSet; }
59 inline void SetTimeElapsedSeconds(long long value) {
60 m_timeElapsedSecondsHasBeenSet = true;
61 m_timeElapsedSeconds = value;
62 }
63 inline ExportTaskDetails& WithTimeElapsedSeconds(long long value) {
65 return *this;
66 }
68
70
73 inline int GetProgressPercentage() const { return m_progressPercentage; }
74 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
75 inline void SetProgressPercentage(int value) {
76 m_progressPercentageHasBeenSet = true;
77 m_progressPercentage = value;
78 }
81 return *this;
82 }
84
86
89 inline long long GetNumVerticesWritten() const { return m_numVerticesWritten; }
90 inline bool NumVerticesWrittenHasBeenSet() const { return m_numVerticesWrittenHasBeenSet; }
91 inline void SetNumVerticesWritten(long long value) {
92 m_numVerticesWrittenHasBeenSet = true;
93 m_numVerticesWritten = value;
94 }
95 inline ExportTaskDetails& WithNumVerticesWritten(long long value) {
97 return *this;
98 }
100
102
105 inline long long GetNumEdgesWritten() const { return m_numEdgesWritten; }
106 inline bool NumEdgesWrittenHasBeenSet() const { return m_numEdgesWrittenHasBeenSet; }
107 inline void SetNumEdgesWritten(long long value) {
108 m_numEdgesWrittenHasBeenSet = true;
109 m_numEdgesWritten = value;
110 }
111 inline ExportTaskDetails& WithNumEdgesWritten(long long value) {
112 SetNumEdgesWritten(value);
113 return *this;
114 }
116 private:
117 Aws::Utils::DateTime m_startTime{};
118
119 long long m_timeElapsedSeconds{0};
120
121 int m_progressPercentage{0};
122
123 long long m_numVerticesWritten{0};
124
125 long long m_numEdgesWritten{0};
126 bool m_startTimeHasBeenSet = false;
127 bool m_timeElapsedSecondsHasBeenSet = false;
128 bool m_progressPercentageHasBeenSet = false;
129 bool m_numVerticesWrittenHasBeenSet = false;
130 bool m_numEdgesWrittenHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace NeptuneGraph
135} // namespace Aws
ExportTaskDetails & WithTimeElapsedSeconds(long long value)
ExportTaskDetails & WithNumEdgesWritten(long long value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEGRAPH_API ExportTaskDetails()=default
const Aws::Utils::DateTime & GetStartTime() const
ExportTaskDetails & WithStartTime(StartTimeT &&value)
ExportTaskDetails & WithNumVerticesWritten(long long value)
AWS_NEPTUNEGRAPH_API ExportTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTaskDetails & WithProgressPercentage(int value)
AWS_NEPTUNEGRAPH_API ExportTaskDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue