AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestedFilesSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lookoutequipment/model/S3Object.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutEquipment
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LOOKOUTEQUIPMENT_API IngestedFilesSummary();
38 AWS_LOOKOUTEQUIPMENT_API IngestedFilesSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTEQUIPMENT_API IngestedFilesSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetTotalNumberOfFiles() const{ return m_totalNumberOfFiles; }
48 inline bool TotalNumberOfFilesHasBeenSet() const { return m_totalNumberOfFilesHasBeenSet; }
49 inline void SetTotalNumberOfFiles(int value) { m_totalNumberOfFilesHasBeenSet = true; m_totalNumberOfFiles = value; }
50 inline IngestedFilesSummary& WithTotalNumberOfFiles(int value) { SetTotalNumberOfFiles(value); return *this;}
52
54
57 inline int GetIngestedNumberOfFiles() const{ return m_ingestedNumberOfFiles; }
58 inline bool IngestedNumberOfFilesHasBeenSet() const { return m_ingestedNumberOfFilesHasBeenSet; }
59 inline void SetIngestedNumberOfFiles(int value) { m_ingestedNumberOfFilesHasBeenSet = true; m_ingestedNumberOfFiles = value; }
62
64
68 inline const Aws::Vector<S3Object>& GetDiscardedFiles() const{ return m_discardedFiles; }
69 inline bool DiscardedFilesHasBeenSet() const { return m_discardedFilesHasBeenSet; }
70 inline void SetDiscardedFiles(const Aws::Vector<S3Object>& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles = value; }
71 inline void SetDiscardedFiles(Aws::Vector<S3Object>&& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles = std::move(value); }
73 inline IngestedFilesSummary& WithDiscardedFiles(Aws::Vector<S3Object>&& value) { SetDiscardedFiles(std::move(value)); return *this;}
74 inline IngestedFilesSummary& AddDiscardedFiles(const S3Object& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles.push_back(value); return *this; }
75 inline IngestedFilesSummary& AddDiscardedFiles(S3Object&& value) { m_discardedFilesHasBeenSet = true; m_discardedFiles.push_back(std::move(value)); return *this; }
77 private:
78
79 int m_totalNumberOfFiles;
80 bool m_totalNumberOfFilesHasBeenSet = false;
81
82 int m_ingestedNumberOfFiles;
83 bool m_ingestedNumberOfFilesHasBeenSet = false;
84
85 Aws::Vector<S3Object> m_discardedFiles;
86 bool m_discardedFilesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LookoutEquipment
91} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDiscardedFiles(Aws::Vector< S3Object > &&value)
void SetDiscardedFiles(const Aws::Vector< S3Object > &value)
IngestedFilesSummary & WithDiscardedFiles(const Aws::Vector< S3Object > &value)
AWS_LOOKOUTEQUIPMENT_API IngestedFilesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestedFilesSummary & AddDiscardedFiles(const S3Object &value)
IngestedFilesSummary & WithTotalNumberOfFiles(int value)
AWS_LOOKOUTEQUIPMENT_API IngestedFilesSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< S3Object > & GetDiscardedFiles() const
IngestedFilesSummary & WithIngestedNumberOfFiles(int value)
IngestedFilesSummary & WithDiscardedFiles(Aws::Vector< S3Object > &&value)
IngestedFilesSummary & AddDiscardedFiles(S3Object &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue