AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlockStoragePerformanceConfiguration.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostOptimizationHub
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_COSTOPTIMIZATIONHUB_API BlockStoragePerformanceConfiguration();
37 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetIops() const{ return m_iops; }
45 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
46 inline void SetIops(double value) { m_iopsHasBeenSet = true; m_iops = value; }
47 inline BlockStoragePerformanceConfiguration& WithIops(double value) { SetIops(value); return *this;}
49
51
54 inline double GetThroughput() const{ return m_throughput; }
55 inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; }
56 inline void SetThroughput(double value) { m_throughputHasBeenSet = true; m_throughput = value; }
57 inline BlockStoragePerformanceConfiguration& WithThroughput(double value) { SetThroughput(value); return *this;}
59 private:
60
61 double m_iops;
62 bool m_iopsHasBeenSet = false;
63
64 double m_throughput;
65 bool m_throughputHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CostOptimizationHub
70} // namespace Aws
AWS_COSTOPTIMIZATIONHUB_API BlockStoragePerformanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API BlockStoragePerformanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue