AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScalingConfigurationRequest.h
1
6#pragma once
7#include <aws/pcs/PCS_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 PCS
20{
21namespace Model
22{
23
31 {
32 public:
37
38
40
43 inline int GetMinInstanceCount() const{ return m_minInstanceCount; }
44 inline bool MinInstanceCountHasBeenSet() const { return m_minInstanceCountHasBeenSet; }
45 inline void SetMinInstanceCount(int value) { m_minInstanceCountHasBeenSet = true; m_minInstanceCount = value; }
46 inline ScalingConfigurationRequest& WithMinInstanceCount(int value) { SetMinInstanceCount(value); return *this;}
48
50
53 inline int GetMaxInstanceCount() const{ return m_maxInstanceCount; }
54 inline bool MaxInstanceCountHasBeenSet() const { return m_maxInstanceCountHasBeenSet; }
55 inline void SetMaxInstanceCount(int value) { m_maxInstanceCountHasBeenSet = true; m_maxInstanceCount = value; }
56 inline ScalingConfigurationRequest& WithMaxInstanceCount(int value) { SetMaxInstanceCount(value); return *this;}
58 private:
59
60 int m_minInstanceCount;
61 bool m_minInstanceCountHasBeenSet = false;
62
63 int m_maxInstanceCount;
64 bool m_maxInstanceCountHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace PCS
69} // namespace Aws
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PCS_API ScalingConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API ScalingConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
ScalingConfigurationRequest & WithMinInstanceCount(int value)
ScalingConfigurationRequest & WithMaxInstanceCount(int value)
Aws::Utils::Json::JsonValue JsonValue