AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ComputeType& GetComputeType() const{ return m_computeType; }
48 inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
49 inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
50 inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
51 inline ResourceConfiguration& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
52 inline ResourceConfiguration& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
54
56
60 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
61 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
62 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
63 inline ResourceConfiguration& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
65 private:
66
67 ComputeType m_computeType;
68 bool m_computeTypeHasBeenSet = false;
69
70 int m_volumeSizeInGB;
71 bool m_volumeSizeInGBHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTAnalytics
76} // namespace Aws
AWS_IOTANALYTICS_API ResourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceConfiguration & WithComputeType(const ComputeType &value)
ResourceConfiguration & WithComputeType(ComputeType &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API ResourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ResourceConfiguration & WithVolumeSizeInGB(int value)
Aws::Utils::Json::JsonValue JsonValue