AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
JobProgress.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace VoiceID {
17namespace Model {
18
26 public:
27 AWS_VOICEID_API JobProgress() = default;
28 AWS_VOICEID_API JobProgress(Aws::Utils::Json::JsonView jsonValue);
30 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetPercentComplete() const { return m_percentComplete; }
38 inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
39 inline void SetPercentComplete(int value) {
40 m_percentCompleteHasBeenSet = true;
41 m_percentComplete = value;
42 }
43 inline JobProgress& WithPercentComplete(int value) {
44 SetPercentComplete(value);
45 return *this;
46 }
48 private:
49 int m_percentComplete{0};
50 bool m_percentCompleteHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace VoiceID
55} // namespace Aws
AWS_VOICEID_API JobProgress()=default
JobProgress & WithPercentComplete(int value)
Definition JobProgress.h:43
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API JobProgress(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API JobProgress & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue