/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace VoiceID { namespace Model { /** *

Indicates the completion progress for a batch job.

See Also:

* AWS * API Reference

*/ class JobProgress { public: AWS_VOICEID_API JobProgress(); AWS_VOICEID_API JobProgress(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API JobProgress& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Shows the completed percentage of enrollment or registration requests listed * in the input file.

*/ inline int GetPercentComplete() const{ return m_percentComplete; } /** *

Shows the completed percentage of enrollment or registration requests listed * in the input file.

*/ inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; } /** *

Shows the completed percentage of enrollment or registration requests listed * in the input file.

*/ inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; } /** *

Shows the completed percentage of enrollment or registration requests listed * in the input file.

*/ inline JobProgress& WithPercentComplete(int value) { SetPercentComplete(value); return *this;} private: int m_percentComplete; bool m_percentCompleteHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws