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

Describes the total number of tasks that the specified job has executed, the * number of tasks that succeeded, and the number of tasks that * failed.

See Also:

AWS * API Reference

*/ class AWS_S3CONTROL_API JobProgressSummary { public: JobProgressSummary(); JobProgressSummary(const Aws::Utils::Xml::XmlNode& xmlNode); JobProgressSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

*/ inline long long GetTotalNumberOfTasks() const{ return m_totalNumberOfTasks; } /** *

*/ inline bool TotalNumberOfTasksHasBeenSet() const { return m_totalNumberOfTasksHasBeenSet; } /** *

*/ inline void SetTotalNumberOfTasks(long long value) { m_totalNumberOfTasksHasBeenSet = true; m_totalNumberOfTasks = value; } /** *

*/ inline JobProgressSummary& WithTotalNumberOfTasks(long long value) { SetTotalNumberOfTasks(value); return *this;} /** *

*/ inline long long GetNumberOfTasksSucceeded() const{ return m_numberOfTasksSucceeded; } /** *

*/ inline bool NumberOfTasksSucceededHasBeenSet() const { return m_numberOfTasksSucceededHasBeenSet; } /** *

*/ inline void SetNumberOfTasksSucceeded(long long value) { m_numberOfTasksSucceededHasBeenSet = true; m_numberOfTasksSucceeded = value; } /** *

*/ inline JobProgressSummary& WithNumberOfTasksSucceeded(long long value) { SetNumberOfTasksSucceeded(value); return *this;} /** *

*/ inline long long GetNumberOfTasksFailed() const{ return m_numberOfTasksFailed; } /** *

*/ inline bool NumberOfTasksFailedHasBeenSet() const { return m_numberOfTasksFailedHasBeenSet; } /** *

*/ inline void SetNumberOfTasksFailed(long long value) { m_numberOfTasksFailedHasBeenSet = true; m_numberOfTasksFailed = value; } /** *

*/ inline JobProgressSummary& WithNumberOfTasksFailed(long long value) { SetNumberOfTasksFailed(value); return *this;} private: long long m_totalNumberOfTasks; bool m_totalNumberOfTasksHasBeenSet; long long m_numberOfTasksSucceeded; bool m_numberOfTasksSucceededHasBeenSet; long long m_numberOfTasksFailed; bool m_numberOfTasksFailedHasBeenSet; }; } // namespace Model } // namespace S3Control } // namespace Aws