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

Information on the usage of a data source package in the behavior * graph.

See Also:

AWS * API Reference

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

Total volume of data in bytes per day ingested for a given data source * package.

*/ inline long long GetVolumeUsageInBytes() const{ return m_volumeUsageInBytes; } /** *

Total volume of data in bytes per day ingested for a given data source * package.

*/ inline bool VolumeUsageInBytesHasBeenSet() const { return m_volumeUsageInBytesHasBeenSet; } /** *

Total volume of data in bytes per day ingested for a given data source * package.

*/ inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; } /** *

Total volume of data in bytes per day ingested for a given data source * package.

*/ inline DatasourcePackageUsageInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;} /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline const Aws::Utils::DateTime& GetVolumeUsageUpdateTime() const{ return m_volumeUsageUpdateTime; } /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline bool VolumeUsageUpdateTimeHasBeenSet() const { return m_volumeUsageUpdateTimeHasBeenSet; } /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline void SetVolumeUsageUpdateTime(const Aws::Utils::DateTime& value) { m_volumeUsageUpdateTimeHasBeenSet = true; m_volumeUsageUpdateTime = value; } /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline void SetVolumeUsageUpdateTime(Aws::Utils::DateTime&& value) { m_volumeUsageUpdateTimeHasBeenSet = true; m_volumeUsageUpdateTime = std::move(value); } /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline DatasourcePackageUsageInfo& WithVolumeUsageUpdateTime(const Aws::Utils::DateTime& value) { SetVolumeUsageUpdateTime(value); return *this;} /** *

The data and time when the member account data volume was last updated. The * value is an ISO8601 formatted string. For example, * 2021-08-18T16:35:56.284Z.

*/ inline DatasourcePackageUsageInfo& WithVolumeUsageUpdateTime(Aws::Utils::DateTime&& value) { SetVolumeUsageUpdateTime(std::move(value)); return *this;} private: long long m_volumeUsageInBytes; bool m_volumeUsageInBytesHasBeenSet = false; Aws::Utils::DateTime m_volumeUsageUpdateTime; bool m_volumeUsageUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws