/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the task status showing a running total of the total number of files
* to be processed, the number successfully processed, and the number of files the
* task failed to process.See Also:
AWS
* API Reference
The total number of files that the task will process. While a task is
* executing, the sum of SucceededCount
plus FailedCount
* may not equal TotalCount
. When the task is complete,
* TotalCount
equals the sum of SucceededCount
plus
* FailedCount
.
The total number of files that the task will process. While a task is
* executing, the sum of SucceededCount
plus FailedCount
* may not equal TotalCount
. When the task is complete,
* TotalCount
equals the sum of SucceededCount
plus
* FailedCount
.
The total number of files that the task will process. While a task is
* executing, the sum of SucceededCount
plus FailedCount
* may not equal TotalCount
. When the task is complete,
* TotalCount
equals the sum of SucceededCount
plus
* FailedCount
.
The total number of files that the task will process. While a task is
* executing, the sum of SucceededCount
plus FailedCount
* may not equal TotalCount
. When the task is complete,
* TotalCount
equals the sum of SucceededCount
plus
* FailedCount
.
A running total of the number of files that the task has successfully * processed.
*/ inline long long GetSucceededCount() const{ return m_succeededCount; } /** *A running total of the number of files that the task has successfully * processed.
*/ inline bool SucceededCountHasBeenSet() const { return m_succeededCountHasBeenSet; } /** *A running total of the number of files that the task has successfully * processed.
*/ inline void SetSucceededCount(long long value) { m_succeededCountHasBeenSet = true; m_succeededCount = value; } /** *A running total of the number of files that the task has successfully * processed.
*/ inline DataRepositoryTaskStatus& WithSucceededCount(long long value) { SetSucceededCount(value); return *this;} /** *A running total of the number of files that the task failed to process.
*/ inline long long GetFailedCount() const{ return m_failedCount; } /** *A running total of the number of files that the task failed to process.
*/ inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; } /** *A running total of the number of files that the task failed to process.
*/ inline void SetFailedCount(long long value) { m_failedCountHasBeenSet = true; m_failedCount = value; } /** *A running total of the number of files that the task failed to process.
*/ inline DataRepositoryTaskStatus& WithFailedCount(long long value) { SetFailedCount(value); return *this;} /** *The time at which the task status was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time at which the task status was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time at which the task status was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time at which the task status was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time at which the task status was last updated.
*/ inline DataRepositoryTaskStatus& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time at which the task status was last updated.
*/ inline DataRepositoryTaskStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The total amount of data, in GiB, released by an Amazon File Cache * AUTO_RELEASE_DATA task that automatically releases files from the cache.
*/ inline long long GetReleasedCapacity() const{ return m_releasedCapacity; } /** *The total amount of data, in GiB, released by an Amazon File Cache * AUTO_RELEASE_DATA task that automatically releases files from the cache.
*/ inline bool ReleasedCapacityHasBeenSet() const { return m_releasedCapacityHasBeenSet; } /** *The total amount of data, in GiB, released by an Amazon File Cache * AUTO_RELEASE_DATA task that automatically releases files from the cache.
*/ inline void SetReleasedCapacity(long long value) { m_releasedCapacityHasBeenSet = true; m_releasedCapacity = value; } /** *The total amount of data, in GiB, released by an Amazon File Cache * AUTO_RELEASE_DATA task that automatically releases files from the cache.
*/ inline DataRepositoryTaskStatus& WithReleasedCapacity(long long value) { SetReleasedCapacity(value); return *this;} private: long long m_totalCount; bool m_totalCountHasBeenSet = false; long long m_succeededCount; bool m_succeededCountHasBeenSet = false; long long m_failedCount; bool m_failedCountHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; long long m_releasedCapacity; bool m_releasedCapacityHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws