AWS SDK for C++  1.9.97
AWS SDK for C++
InstanceCountLimits.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace ElasticsearchService
20 {
21 namespace Model
22 {
23 
32  {
33  public:
38 
39 
40 
41  inline int GetMinimumInstanceCount() const{ return m_minimumInstanceCount; }
42 
43 
44  inline bool MinimumInstanceCountHasBeenSet() const { return m_minimumInstanceCountHasBeenSet; }
45 
46 
47  inline void SetMinimumInstanceCount(int value) { m_minimumInstanceCountHasBeenSet = true; m_minimumInstanceCount = value; }
48 
49 
50  inline InstanceCountLimits& WithMinimumInstanceCount(int value) { SetMinimumInstanceCount(value); return *this;}
51 
52 
53 
54  inline int GetMaximumInstanceCount() const{ return m_maximumInstanceCount; }
55 
56 
57  inline bool MaximumInstanceCountHasBeenSet() const { return m_maximumInstanceCountHasBeenSet; }
58 
59 
60  inline void SetMaximumInstanceCount(int value) { m_maximumInstanceCountHasBeenSet = true; m_maximumInstanceCount = value; }
61 
62 
63  inline InstanceCountLimits& WithMaximumInstanceCount(int value) { SetMaximumInstanceCount(value); return *this;}
64 
65  private:
66 
67  int m_minimumInstanceCount;
68  bool m_minimumInstanceCountHasBeenSet;
69 
70  int m_maximumInstanceCount;
71  bool m_maximumInstanceCountHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace ElasticsearchService
76 } // namespace Aws
Aws::ElasticsearchService::Model::InstanceCountLimits::operator=
InstanceCountLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::InstanceCountLimits::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::InstanceCountLimits::GetMaximumInstanceCount
int GetMaximumInstanceCount() const
Definition: InstanceCountLimits.h:54
Aws::ElasticsearchService::Model::InstanceCountLimits::SetMaximumInstanceCount
void SetMaximumInstanceCount(int value)
Definition: InstanceCountLimits.h:60
Aws::ElasticsearchService::Model::InstanceCountLimits::InstanceCountLimits
InstanceCountLimits(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::InstanceCountLimits::GetMinimumInstanceCount
int GetMinimumInstanceCount() const
Definition: InstanceCountLimits.h:41
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::InstanceCountLimits::InstanceCountLimits
InstanceCountLimits()
Aws::ElasticsearchService::Model::InstanceCountLimits::MaximumInstanceCountHasBeenSet
bool MaximumInstanceCountHasBeenSet() const
Definition: InstanceCountLimits.h:57
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::InstanceCountLimits
Definition: InstanceCountLimits.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::InstanceCountLimits::MinimumInstanceCountHasBeenSet
bool MinimumInstanceCountHasBeenSet() const
Definition: InstanceCountLimits.h:44
Aws::ElasticsearchService::Model::InstanceCountLimits::SetMinimumInstanceCount
void SetMinimumInstanceCount(int value)
Definition: InstanceCountLimits.h:47
Aws::ElasticsearchService::Model::InstanceCountLimits::WithMaximumInstanceCount
InstanceCountLimits & WithMaximumInstanceCount(int value)
Definition: InstanceCountLimits.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::InstanceCountLimits::WithMinimumInstanceCount
InstanceCountLimits & WithMinimumInstanceCount(int value)
Definition: InstanceCountLimits.h:50