/** * 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 TimestreamWrite { namespace Model { /** *

Information on the records ingested by this request.

See Also:

* AWS * API Reference

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

Total count of successfully ingested records.

*/ inline int GetTotal() const{ return m_total; } /** *

Total count of successfully ingested records.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

Total count of successfully ingested records.

*/ inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; } /** *

Total count of successfully ingested records.

*/ inline RecordsIngested& WithTotal(int value) { SetTotal(value); return *this;} /** *

Count of records ingested into the memory store.

*/ inline int GetMemoryStore() const{ return m_memoryStore; } /** *

Count of records ingested into the memory store.

*/ inline bool MemoryStoreHasBeenSet() const { return m_memoryStoreHasBeenSet; } /** *

Count of records ingested into the memory store.

*/ inline void SetMemoryStore(int value) { m_memoryStoreHasBeenSet = true; m_memoryStore = value; } /** *

Count of records ingested into the memory store.

*/ inline RecordsIngested& WithMemoryStore(int value) { SetMemoryStore(value); return *this;} /** *

Count of records ingested into the magnetic store.

*/ inline int GetMagneticStore() const{ return m_magneticStore; } /** *

Count of records ingested into the magnetic store.

*/ inline bool MagneticStoreHasBeenSet() const { return m_magneticStoreHasBeenSet; } /** *

Count of records ingested into the magnetic store.

*/ inline void SetMagneticStore(int value) { m_magneticStoreHasBeenSet = true; m_magneticStore = value; } /** *

Count of records ingested into the magnetic store.

*/ inline RecordsIngested& WithMagneticStore(int value) { SetMagneticStore(value); return *this;} private: int m_total; bool m_totalHasBeenSet = false; int m_memoryStore; bool m_memoryStoreHasBeenSet = false; int m_magneticStore; bool m_magneticStoreHasBeenSet = false; }; } // namespace Model } // namespace TimestreamWrite } // namespace Aws