AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 FSx
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_FSX_API DiskIopsConfiguration();
44
45
47
52 inline const DiskIopsConfigurationMode& GetMode() const{ return m_mode; }
53 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
54 inline void SetMode(const DiskIopsConfigurationMode& value) { m_modeHasBeenSet = true; m_mode = value; }
55 inline void SetMode(DiskIopsConfigurationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
56 inline DiskIopsConfiguration& WithMode(const DiskIopsConfigurationMode& value) { SetMode(value); return *this;}
57 inline DiskIopsConfiguration& WithMode(DiskIopsConfigurationMode&& value) { SetMode(std::move(value)); return *this;}
59
61
71 inline long long GetIops() const{ return m_iops; }
72 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
73 inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; }
74 inline DiskIopsConfiguration& WithIops(long long value) { SetIops(value); return *this;}
76 private:
77
79 bool m_modeHasBeenSet = false;
80
81 long long m_iops;
82 bool m_iopsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace FSx
87} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMode(const DiskIopsConfigurationMode &value)
void SetMode(DiskIopsConfigurationMode &&value)
const DiskIopsConfigurationMode & GetMode() const
AWS_FSX_API DiskIopsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DiskIopsConfiguration & WithIops(long long value)
AWS_FSX_API DiskIopsConfiguration(Aws::Utils::Json::JsonView jsonValue)
DiskIopsConfiguration & WithMode(const DiskIopsConfigurationMode &value)
DiskIopsConfiguration & WithMode(DiskIopsConfigurationMode &&value)
Aws::Utils::Json::JsonValue JsonValue