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/opensearch/OpenSearchService_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 OpenSearchService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_OPENSEARCHSERVICE_API InstanceCountLimits();
34 AWS_OPENSEARCHSERVICE_API InstanceCountLimits(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OPENSEARCHSERVICE_API InstanceCountLimits& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMinimumInstanceCount() const{ return m_minimumInstanceCount; }
44 inline bool MinimumInstanceCountHasBeenSet() const { return m_minimumInstanceCountHasBeenSet; }
45 inline void SetMinimumInstanceCount(int value) { m_minimumInstanceCountHasBeenSet = true; m_minimumInstanceCount = value; }
46 inline InstanceCountLimits& WithMinimumInstanceCount(int value) { SetMinimumInstanceCount(value); return *this;}
48
50
53 inline int GetMaximumInstanceCount() const{ return m_maximumInstanceCount; }
54 inline bool MaximumInstanceCountHasBeenSet() const { return m_maximumInstanceCountHasBeenSet; }
55 inline void SetMaximumInstanceCount(int value) { m_maximumInstanceCountHasBeenSet = true; m_maximumInstanceCount = value; }
56 inline InstanceCountLimits& WithMaximumInstanceCount(int value) { SetMaximumInstanceCount(value); return *this;}
58 private:
59
60 int m_minimumInstanceCount;
61 bool m_minimumInstanceCountHasBeenSet = false;
62
63 int m_maximumInstanceCount;
64 bool m_maximumInstanceCountHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace OpenSearchService
69} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API InstanceCountLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API InstanceCountLimits(Aws::Utils::Json::JsonView jsonValue)
InstanceCountLimits & WithMinimumInstanceCount(int value)
InstanceCountLimits & WithMaximumInstanceCount(int value)
Aws::Utils::Json::JsonValue JsonValue