AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEstimatedOn(const Aws::Utils::DateTime& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = value; }
57 inline void SetEstimatedOn(Aws::Utils::DateTime&& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = std::move(value); }
58 inline EstimatedResourceSize& WithEstimatedOn(const Aws::Utils::DateTime& value) { SetEstimatedOn(value); return *this;}
59 inline EstimatedResourceSize& WithEstimatedOn(Aws::Utils::DateTime&& value) { SetEstimatedOn(std::move(value)); return *this;}
61 private:
62
63 double m_estimatedSizeInBytes;
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
EstimatedResourceSize & WithEstimatedOn(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEstimatedOn() const
EstimatedResourceSize & WithEstimatedSizeInBytes(double value)
AWS_IOTANALYTICS_API EstimatedResourceSize(Aws::Utils::Json::JsonView jsonValue)
EstimatedResourceSize & WithEstimatedOn(const Aws::Utils::DateTime &value)
void SetEstimatedOn(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEstimatedOn(const Aws::Utils::DateTime &value)
AWS_IOTANALYTICS_API EstimatedResourceSize & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue