AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
BaselineEbsBandwidthMbpsRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ECS {
17namespace Model {
18
27 public:
28 AWS_ECS_API BaselineEbsBandwidthMbpsRequest() = default;
32
34
38 inline int GetMin() const { return m_min; }
39 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
40 inline void SetMin(int value) {
41 m_minHasBeenSet = true;
42 m_min = value;
43 }
45 SetMin(value);
46 return *this;
47 }
49
51
55 inline int GetMax() const { return m_max; }
56 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
57 inline void SetMax(int value) {
58 m_maxHasBeenSet = true;
59 m_max = value;
60 }
62 SetMax(value);
63 return *this;
64 }
66 private:
67 int m_min{0};
68
69 int m_max{0};
70 bool m_minHasBeenSet = false;
71 bool m_maxHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace ECS
76} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
BaselineEbsBandwidthMbpsRequest & WithMin(int value)
BaselineEbsBandwidthMbpsRequest & WithMax(int value)
AWS_ECS_API BaselineEbsBandwidthMbpsRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API BaselineEbsBandwidthMbpsRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue