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

Gives statistics about how many files have been ingested, and which files * have not been ingested, for a particular ingestion job.

See Also:

* AWS * API Reference

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

Indicates the total number of files that were submitted for ingestion.

*/ inline int GetTotalNumberOfFiles() const{ return m_totalNumberOfFiles; } /** *

Indicates the total number of files that were submitted for ingestion.

*/ inline bool TotalNumberOfFilesHasBeenSet() const { return m_totalNumberOfFilesHasBeenSet; } /** *

Indicates the total number of files that were submitted for ingestion.

*/ inline void SetTotalNumberOfFiles(int value) { m_totalNumberOfFilesHasBeenSet = true; m_totalNumberOfFiles = value; } /** *

Indicates the total number of files that were submitted for ingestion.

*/ inline IngestedFilesSummary& WithTotalNumberOfFiles(int value) { SetTotalNumberOfFiles(value); return *this;} /** *

Indicates the number of files that were successfully ingested.

*/ inline int GetIngestedNumberOfFiles() const{ return m_ingestedNumberOfFiles; } /** *

Indicates the number of files that were successfully ingested.

*/ inline bool IngestedNumberOfFilesHasBeenSet() const { return m_ingestedNumberOfFilesHasBeenSet; } /** *

Indicates the number of files that were successfully ingested.

*/ inline void SetIngestedNumberOfFiles(int value) { m_ingestedNumberOfFilesHasBeenSet = true; m_ingestedNumberOfFiles = value; } /** *

Indicates the number of files that were successfully ingested.

*/ inline IngestedFilesSummary& WithIngestedNumberOfFiles(int value) { SetIngestedNumberOfFiles(value); return *this;} /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline const Aws::Vector& GetDiscardedFiles() const{ return m_discardedFiles; } /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline bool DiscardedFilesHasBeenSet() const { return m_discardedFilesHasBeenSet; } /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline void SetDiscardedFiles(const Aws::Vector& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles = value; } /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline void SetDiscardedFiles(Aws::Vector&& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles = std::move(value); } /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline IngestedFilesSummary& WithDiscardedFiles(const Aws::Vector& value) { SetDiscardedFiles(value); return *this;} /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline IngestedFilesSummary& WithDiscardedFiles(Aws::Vector&& value) { SetDiscardedFiles(std::move(value)); return *this;} /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline IngestedFilesSummary& AddDiscardedFiles(const S3Object& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles.push_back(value); return *this; } /** *

Indicates the number of files that were discarded. A file could be discarded * because its format is invalid (for example, a jpg or pdf) or not readable.

*/ inline IngestedFilesSummary& AddDiscardedFiles(S3Object&& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles.push_back(std::move(value)); return *this; } private: int m_totalNumberOfFiles; bool m_totalNumberOfFilesHasBeenSet = false; int m_ingestedNumberOfFiles; bool m_ingestedNumberOfFilesHasBeenSet = false; Aws::Vector m_discardedFiles; bool m_discardedFilesHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws