AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DiskIopsConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/DiskIopsConfigurationMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FSx {
20namespace Model {
21
34 public:
35 AWS_FSX_API DiskIopsConfiguration() = default;
39
41
46 inline DiskIopsConfigurationMode GetMode() const { return m_mode; }
47 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 m_modeHasBeenSet = true;
50 m_mode = value;
51 }
53 SetMode(value);
54 return *this;
55 }
57
59
69 inline long long GetIops() const { return m_iops; }
70 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
71 inline void SetIops(long long value) {
72 m_iopsHasBeenSet = true;
73 m_iops = value;
74 }
75 inline DiskIopsConfiguration& WithIops(long long value) {
76 SetIops(value);
77 return *this;
78 }
80 private:
82
83 long long m_iops{0};
84 bool m_modeHasBeenSet = false;
85 bool m_iopsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace FSx
90} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API DiskIopsConfiguration()=default
DiskIopsConfigurationMode GetMode() const
DiskIopsConfiguration & WithMode(DiskIopsConfigurationMode value)
void SetMode(DiskIopsConfigurationMode value)
AWS_FSX_API DiskIopsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DiskIopsConfiguration & WithIops(long long value)
AWS_FSX_API DiskIopsConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue