AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceCountLimits.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_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 ElasticsearchService
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits();
35 AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline int GetMinimumInstanceCount() const{ return m_minimumInstanceCount; }
43 inline bool MinimumInstanceCountHasBeenSet() const { return m_minimumInstanceCountHasBeenSet; }
44 inline void SetMinimumInstanceCount(int value) { m_minimumInstanceCountHasBeenSet = true; m_minimumInstanceCount = value; }
45 inline InstanceCountLimits& WithMinimumInstanceCount(int value) { SetMinimumInstanceCount(value); return *this;}
47
49
50 inline int GetMaximumInstanceCount() const{ return m_maximumInstanceCount; }
51 inline bool MaximumInstanceCountHasBeenSet() const { return m_maximumInstanceCountHasBeenSet; }
52 inline void SetMaximumInstanceCount(int value) { m_maximumInstanceCountHasBeenSet = true; m_maximumInstanceCount = value; }
53 inline InstanceCountLimits& WithMaximumInstanceCount(int value) { SetMaximumInstanceCount(value); return *this;}
55 private:
56
57 int m_minimumInstanceCount;
58 bool m_minimumInstanceCountHasBeenSet = false;
59
60 int m_maximumInstanceCount;
61 bool m_maximumInstanceCountHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace ElasticsearchService
66} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API InstanceCountLimits()
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue