AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ImportTaskDetails.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_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 NeptuneGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API ImportTaskDetails() = default;
36 AWS_NEPTUNEGRAPH_API ImportTaskDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API ImportTaskDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStatus() const { return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 template<typename StatusT = Aws::String>
48 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
49 template<typename StatusT = Aws::String>
50 ImportTaskDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
58 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
59 template<typename StartTimeT = Aws::Utils::DateTime>
60 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
61 template<typename StartTimeT = Aws::Utils::DateTime>
62 ImportTaskDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
64
66
69 inline long long GetTimeElapsedSeconds() const { return m_timeElapsedSeconds; }
70 inline bool TimeElapsedSecondsHasBeenSet() const { return m_timeElapsedSecondsHasBeenSet; }
71 inline void SetTimeElapsedSeconds(long long value) { m_timeElapsedSecondsHasBeenSet = true; m_timeElapsedSeconds = value; }
72 inline ImportTaskDetails& WithTimeElapsedSeconds(long long value) { SetTimeElapsedSeconds(value); return *this;}
74
76
79 inline int GetProgressPercentage() const { return m_progressPercentage; }
80 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
81 inline void SetProgressPercentage(int value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; }
82 inline ImportTaskDetails& WithProgressPercentage(int value) { SetProgressPercentage(value); return *this;}
84
86
89 inline int GetErrorCount() const { return m_errorCount; }
90 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
91 inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
92 inline ImportTaskDetails& WithErrorCount(int value) { SetErrorCount(value); return *this;}
94
96
99 inline const Aws::String& GetErrorDetails() const { return m_errorDetails; }
100 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
101 template<typename ErrorDetailsT = Aws::String>
102 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
103 template<typename ErrorDetailsT = Aws::String>
104 ImportTaskDetails& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
106
108
111 inline long long GetStatementCount() const { return m_statementCount; }
112 inline bool StatementCountHasBeenSet() const { return m_statementCountHasBeenSet; }
113 inline void SetStatementCount(long long value) { m_statementCountHasBeenSet = true; m_statementCount = value; }
114 inline ImportTaskDetails& WithStatementCount(long long value) { SetStatementCount(value); return *this;}
116
118
121 inline long long GetDictionaryEntryCount() const { return m_dictionaryEntryCount; }
122 inline bool DictionaryEntryCountHasBeenSet() const { return m_dictionaryEntryCountHasBeenSet; }
123 inline void SetDictionaryEntryCount(long long value) { m_dictionaryEntryCountHasBeenSet = true; m_dictionaryEntryCount = value; }
124 inline ImportTaskDetails& WithDictionaryEntryCount(long long value) { SetDictionaryEntryCount(value); return *this;}
126 private:
127
128 Aws::String m_status;
129 bool m_statusHasBeenSet = false;
130
131 Aws::Utils::DateTime m_startTime{};
132 bool m_startTimeHasBeenSet = false;
133
134 long long m_timeElapsedSeconds{0};
135 bool m_timeElapsedSecondsHasBeenSet = false;
136
137 int m_progressPercentage{0};
138 bool m_progressPercentageHasBeenSet = false;
139
140 int m_errorCount{0};
141 bool m_errorCountHasBeenSet = false;
142
143 Aws::String m_errorDetails;
144 bool m_errorDetailsHasBeenSet = false;
145
146 long long m_statementCount{0};
147 bool m_statementCountHasBeenSet = false;
148
149 long long m_dictionaryEntryCount{0};
150 bool m_dictionaryEntryCountHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace NeptuneGraph
155} // namespace Aws
AWS_NEPTUNEGRAPH_API ImportTaskDetails()=default
ImportTaskDetails & WithStartTime(StartTimeT &&value)
ImportTaskDetails & WithTimeElapsedSeconds(long long value)
ImportTaskDetails & WithErrorCount(int value)
ImportTaskDetails & WithErrorDetails(ErrorDetailsT &&value)
ImportTaskDetails & WithProgressPercentage(int value)
AWS_NEPTUNEGRAPH_API ImportTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTaskDetails & WithStatementCount(long long value)
AWS_NEPTUNEGRAPH_API ImportTaskDetails(Aws::Utils::Json::JsonView jsonValue)
ImportTaskDetails & WithDictionaryEntryCount(long long value)
ImportTaskDetails & WithStatus(StatusT &&value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue