AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EstimatedResourceSize.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTAnalytics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTANALYTICS_API EstimatedResourceSize() = default;
35 AWS_IOTANALYTICS_API EstimatedResourceSize(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetEstimatedSizeInBytes() const { return m_estimatedSizeInBytes; }
45 inline bool EstimatedSizeInBytesHasBeenSet() const { return m_estimatedSizeInBytesHasBeenSet; }
46 inline void SetEstimatedSizeInBytes(double value) { m_estimatedSizeInBytesHasBeenSet = true; m_estimatedSizeInBytes = value; }
47 inline EstimatedResourceSize& WithEstimatedSizeInBytes(double value) { SetEstimatedSizeInBytes(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetEstimatedOn() const { return m_estimatedOn; }
55 inline bool EstimatedOnHasBeenSet() const { return m_estimatedOnHasBeenSet; }
56 template<typename EstimatedOnT = Aws::Utils::DateTime>
57 void SetEstimatedOn(EstimatedOnT&& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = std::forward<EstimatedOnT>(value); }
58 template<typename EstimatedOnT = Aws::Utils::DateTime>
59 EstimatedResourceSize& WithEstimatedOn(EstimatedOnT&& value) { SetEstimatedOn(std::forward<EstimatedOnT>(value)); return *this;}
61 private:
62
63 double m_estimatedSizeInBytes{0.0};
64 bool m_estimatedSizeInBytesHasBeenSet = false;
65
66 Aws::Utils::DateTime m_estimatedOn{};
67 bool m_estimatedOnHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoTAnalytics
72} // namespace Aws
const Aws::Utils::DateTime & GetEstimatedOn() const
EstimatedResourceSize & WithEstimatedOn(EstimatedOnT &&value)
EstimatedResourceSize & WithEstimatedSizeInBytes(double value)
AWS_IOTANALYTICS_API EstimatedResourceSize()=default
AWS_IOTANALYTICS_API EstimatedResourceSize(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API EstimatedResourceSize & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue