AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotScaledReason.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ApplicationAutoScaling
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_APPLICATIONAUTOSCALING_API NotScaledReason();
40 AWS_APPLICATIONAUTOSCALING_API NotScaledReason(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPLICATIONAUTOSCALING_API NotScaledReason& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::String& GetCode() const{ return m_code; }
54 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
55 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
56 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
57 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
58 inline NotScaledReason& WithCode(const Aws::String& value) { SetCode(value); return *this;}
59 inline NotScaledReason& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
60 inline NotScaledReason& WithCode(const char* value) { SetCode(value); return *this;}
62
64
67 inline int GetMaxCapacity() const{ return m_maxCapacity; }
68 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
69 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
70 inline NotScaledReason& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
72
74
77 inline int GetMinCapacity() const{ return m_minCapacity; }
78 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
79 inline void SetMinCapacity(int value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; }
80 inline NotScaledReason& WithMinCapacity(int value) { SetMinCapacity(value); return *this;}
82
84
87 inline int GetCurrentCapacity() const{ return m_currentCapacity; }
88 inline bool CurrentCapacityHasBeenSet() const { return m_currentCapacityHasBeenSet; }
89 inline void SetCurrentCapacity(int value) { m_currentCapacityHasBeenSet = true; m_currentCapacity = value; }
90 inline NotScaledReason& WithCurrentCapacity(int value) { SetCurrentCapacity(value); return *this;}
92 private:
93
94 Aws::String m_code;
95 bool m_codeHasBeenSet = false;
96
97 int m_maxCapacity;
98 bool m_maxCapacityHasBeenSet = false;
99
100 int m_minCapacity;
101 bool m_minCapacityHasBeenSet = false;
102
103 int m_currentCapacity;
104 bool m_currentCapacityHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace ApplicationAutoScaling
109} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONAUTOSCALING_API NotScaledReason(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API NotScaledReason()
NotScaledReason & WithCode(const char *value)
AWS_APPLICATIONAUTOSCALING_API NotScaledReason & operator=(Aws::Utils::Json::JsonView jsonValue)
NotScaledReason & WithCode(const Aws::String &value)
NotScaledReason & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue