AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScalableTargetAction.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_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 ApplicationAutoScaling
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction();
34 AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
46 inline int GetMinCapacity() const{ return m_minCapacity; }
47 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
48 inline void SetMinCapacity(int value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; }
49 inline ScalableTargetAction& WithMinCapacity(int value) { SetMinCapacity(value); return *this;}
51
53
64 inline int GetMaxCapacity() const{ return m_maxCapacity; }
65 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
66 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
67 inline ScalableTargetAction& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
69 private:
70
71 int m_minCapacity;
72 bool m_minCapacityHasBeenSet = false;
73
74 int m_maxCapacity;
75 bool m_maxCapacityHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ApplicationAutoScaling
80} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction()
AWS_APPLICATIONAUTOSCALING_API ScalableTargetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue