AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
50 inline ImportTaskDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
51 inline ImportTaskDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
52 inline ImportTaskDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
60 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
61 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
62 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
63 inline ImportTaskDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
64 inline ImportTaskDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
66
68
71 inline long long GetTimeElapsedSeconds() const{ return m_timeElapsedSeconds; }
72 inline bool TimeElapsedSecondsHasBeenSet() const { return m_timeElapsedSecondsHasBeenSet; }
73 inline void SetTimeElapsedSeconds(long long value) { m_timeElapsedSecondsHasBeenSet = true; m_timeElapsedSeconds = value; }
74 inline ImportTaskDetails& WithTimeElapsedSeconds(long long value) { SetTimeElapsedSeconds(value); return *this;}
76
78
81 inline int GetProgressPercentage() const{ return m_progressPercentage; }
82 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
83 inline void SetProgressPercentage(int value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; }
84 inline ImportTaskDetails& WithProgressPercentage(int value) { SetProgressPercentage(value); return *this;}
86
88
91 inline int GetErrorCount() const{ return m_errorCount; }
92 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
93 inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
94 inline ImportTaskDetails& WithErrorCount(int value) { SetErrorCount(value); return *this;}
96
98
101 inline const Aws::String& GetErrorDetails() const{ return m_errorDetails; }
102 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
103 inline void SetErrorDetails(const Aws::String& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
104 inline void SetErrorDetails(Aws::String&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
105 inline void SetErrorDetails(const char* value) { m_errorDetailsHasBeenSet = true; m_errorDetails.assign(value); }
106 inline ImportTaskDetails& WithErrorDetails(const Aws::String& value) { SetErrorDetails(value); return *this;}
107 inline ImportTaskDetails& WithErrorDetails(Aws::String&& value) { SetErrorDetails(std::move(value)); return *this;}
108 inline ImportTaskDetails& WithErrorDetails(const char* value) { SetErrorDetails(value); return *this;}
110
112
115 inline long long GetStatementCount() const{ return m_statementCount; }
116 inline bool StatementCountHasBeenSet() const { return m_statementCountHasBeenSet; }
117 inline void SetStatementCount(long long value) { m_statementCountHasBeenSet = true; m_statementCount = value; }
118 inline ImportTaskDetails& WithStatementCount(long long value) { SetStatementCount(value); return *this;}
120
122
125 inline long long GetDictionaryEntryCount() const{ return m_dictionaryEntryCount; }
126 inline bool DictionaryEntryCountHasBeenSet() const { return m_dictionaryEntryCountHasBeenSet; }
127 inline void SetDictionaryEntryCount(long long value) { m_dictionaryEntryCountHasBeenSet = true; m_dictionaryEntryCount = value; }
128 inline ImportTaskDetails& WithDictionaryEntryCount(long long value) { SetDictionaryEntryCount(value); return *this;}
130 private:
131
132 Aws::String m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_startTime;
136 bool m_startTimeHasBeenSet = false;
137
138 long long m_timeElapsedSeconds;
139 bool m_timeElapsedSecondsHasBeenSet = false;
140
141 int m_progressPercentage;
142 bool m_progressPercentageHasBeenSet = false;
143
144 int m_errorCount;
145 bool m_errorCountHasBeenSet = false;
146
147 Aws::String m_errorDetails;
148 bool m_errorDetailsHasBeenSet = false;
149
150 long long m_statementCount;
151 bool m_statementCountHasBeenSet = false;
152
153 long long m_dictionaryEntryCount;
154 bool m_dictionaryEntryCountHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace NeptuneGraph
159} // namespace Aws
ImportTaskDetails & WithTimeElapsedSeconds(long long value)
ImportTaskDetails & WithErrorCount(int value)
ImportTaskDetails & WithErrorDetails(const char *value)
ImportTaskDetails & WithErrorDetails(const Aws::String &value)
void SetErrorDetails(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
ImportTaskDetails & WithStatus(const Aws::String &value)
ImportTaskDetails & WithStatus(const char *value)
ImportTaskDetails & WithProgressPercentage(int value)
AWS_NEPTUNEGRAPH_API ImportTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTaskDetails & WithStatus(Aws::String &&value)
ImportTaskDetails & WithStatementCount(long long value)
ImportTaskDetails & WithStartTime(Aws::Utils::DateTime &&value)
AWS_NEPTUNEGRAPH_API ImportTaskDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::Utils::DateTime &&value)
ImportTaskDetails & WithDictionaryEntryCount(long long value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartTime() const
ImportTaskDetails & WithErrorDetails(Aws::String &&value)
ImportTaskDetails & WithStartTime(const Aws::Utils::DateTime &value)
void SetStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue