AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HighAvailabilityConfig.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_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 MainframeModernization
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig();
34 AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetDesiredCapacity() const{ return m_desiredCapacity; }
45 inline bool DesiredCapacityHasBeenSet() const { return m_desiredCapacityHasBeenSet; }
46 inline void SetDesiredCapacity(int value) { m_desiredCapacityHasBeenSet = true; m_desiredCapacity = value; }
47 inline HighAvailabilityConfig& WithDesiredCapacity(int value) { SetDesiredCapacity(value); return *this;}
49 private:
50
51 int m_desiredCapacity;
52 bool m_desiredCapacityHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace MainframeModernization
57} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API HighAvailabilityConfig()
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue