AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ExportTaskDetails.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 NeptuneGraph
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API ExportTaskDetails() = default;
36 AWS_NEPTUNEGRAPH_API ExportTaskDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API ExportTaskDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
46 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
47 template<typename StartTimeT = Aws::Utils::DateTime>
48 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
49 template<typename StartTimeT = Aws::Utils::DateTime>
50 ExportTaskDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
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) { m_timeElapsedSecondsHasBeenSet = true; m_timeElapsedSeconds = value; }
60 inline ExportTaskDetails& WithTimeElapsedSeconds(long long value) { SetTimeElapsedSeconds(value); return *this;}
62
64
67 inline int GetProgressPercentage() const { return m_progressPercentage; }
68 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
69 inline void SetProgressPercentage(int value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; }
70 inline ExportTaskDetails& WithProgressPercentage(int value) { SetProgressPercentage(value); return *this;}
72
74
77 inline long long GetNumVerticesWritten() const { return m_numVerticesWritten; }
78 inline bool NumVerticesWrittenHasBeenSet() const { return m_numVerticesWrittenHasBeenSet; }
79 inline void SetNumVerticesWritten(long long value) { m_numVerticesWrittenHasBeenSet = true; m_numVerticesWritten = value; }
80 inline ExportTaskDetails& WithNumVerticesWritten(long long value) { SetNumVerticesWritten(value); return *this;}
82
84
87 inline long long GetNumEdgesWritten() const { return m_numEdgesWritten; }
88 inline bool NumEdgesWrittenHasBeenSet() const { return m_numEdgesWrittenHasBeenSet; }
89 inline void SetNumEdgesWritten(long long value) { m_numEdgesWrittenHasBeenSet = true; m_numEdgesWritten = value; }
90 inline ExportTaskDetails& WithNumEdgesWritten(long long value) { SetNumEdgesWritten(value); return *this;}
92 private:
93
94 Aws::Utils::DateTime m_startTime{};
95 bool m_startTimeHasBeenSet = false;
96
97 long long m_timeElapsedSeconds{0};
98 bool m_timeElapsedSecondsHasBeenSet = false;
99
100 int m_progressPercentage{0};
101 bool m_progressPercentageHasBeenSet = false;
102
103 long long m_numVerticesWritten{0};
104 bool m_numVerticesWrittenHasBeenSet = false;
105
106 long long m_numEdgesWritten{0};
107 bool m_numEdgesWrittenHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace NeptuneGraph
112} // 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