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

The estimated size of the resource.

See Also:

AWS * API Reference

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

The estimated size of the resource, in bytes.

*/ inline double GetEstimatedSizeInBytes() const{ return m_estimatedSizeInBytes; } /** *

The estimated size of the resource, in bytes.

*/ inline bool EstimatedSizeInBytesHasBeenSet() const { return m_estimatedSizeInBytesHasBeenSet; } /** *

The estimated size of the resource, in bytes.

*/ inline void SetEstimatedSizeInBytes(double value) { m_estimatedSizeInBytesHasBeenSet = true; m_estimatedSizeInBytes = value; } /** *

The estimated size of the resource, in bytes.

*/ inline EstimatedResourceSize& WithEstimatedSizeInBytes(double value) { SetEstimatedSizeInBytes(value); return *this;} /** *

The time when the estimate of the size of the resource was made.

*/ inline const Aws::Utils::DateTime& GetEstimatedOn() const{ return m_estimatedOn; } /** *

The time when the estimate of the size of the resource was made.

*/ inline bool EstimatedOnHasBeenSet() const { return m_estimatedOnHasBeenSet; } /** *

The time when the estimate of the size of the resource was made.

*/ inline void SetEstimatedOn(const Aws::Utils::DateTime& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = value; } /** *

The time when the estimate of the size of the resource was made.

*/ inline void SetEstimatedOn(Aws::Utils::DateTime&& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = std::move(value); } /** *

The time when the estimate of the size of the resource was made.

*/ inline EstimatedResourceSize& WithEstimatedOn(const Aws::Utils::DateTime& value) { SetEstimatedOn(value); return *this;} /** *

The time when the estimate of the size of the resource was made.

*/ inline EstimatedResourceSize& WithEstimatedOn(Aws::Utils::DateTime&& value) { SetEstimatedOn(std::move(value)); return *this;} private: double m_estimatedSizeInBytes; bool m_estimatedSizeInBytesHasBeenSet = false; Aws::Utils::DateTime m_estimatedOn; bool m_estimatedOnHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws