AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceConfiguration.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/ComputeType.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
33 {
34 public:
35 AWS_IOTANALYTICS_API ResourceConfiguration() = default;
36 AWS_IOTANALYTICS_API ResourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline ComputeType GetComputeType() const { return m_computeType; }
48 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
49 inline void SetComputeType(ComputeType value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
50 inline ResourceConfiguration& WithComputeType(ComputeType value) { SetComputeType(value); return *this;}
52
54
58 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
59 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
60 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
61 inline ResourceConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
63 private:
64
65 ComputeType m_computeType{ComputeType::NOT_SET};
66 bool m_computeTypeHasBeenSet = false;
67
68 int m_volumeSizeInGB{0};
69 bool m_volumeSizeInGBHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTAnalytics
74} // namespace Aws
AWS_IOTANALYTICS_API ResourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API ResourceConfiguration()=default
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API ResourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ResourceConfiguration & WithVolumeSizeInGB(int value)
ResourceConfiguration & WithComputeType(ComputeType value)
Aws::Utils::Json::JsonValue JsonValue