AWS SDK for C++  1.9.97
AWS SDK for C++
InstanceLimits.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ElasticsearchService
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
41 
42  inline const InstanceCountLimits& GetInstanceCountLimits() const{ return m_instanceCountLimits; }
43 
44 
45  inline bool InstanceCountLimitsHasBeenSet() const { return m_instanceCountLimitsHasBeenSet; }
46 
47 
48  inline void SetInstanceCountLimits(const InstanceCountLimits& value) { m_instanceCountLimitsHasBeenSet = true; m_instanceCountLimits = value; }
49 
50 
51  inline void SetInstanceCountLimits(InstanceCountLimits&& value) { m_instanceCountLimitsHasBeenSet = true; m_instanceCountLimits = std::move(value); }
52 
53 
54  inline InstanceLimits& WithInstanceCountLimits(const InstanceCountLimits& value) { SetInstanceCountLimits(value); return *this;}
55 
56 
57  inline InstanceLimits& WithInstanceCountLimits(InstanceCountLimits&& value) { SetInstanceCountLimits(std::move(value)); return *this;}
58 
59  private:
60 
61  InstanceCountLimits m_instanceCountLimits;
62  bool m_instanceCountLimitsHasBeenSet;
63  };
64 
65 } // namespace Model
66 } // namespace ElasticsearchService
67 } // namespace Aws
Aws::ElasticsearchService::Model::InstanceLimits::InstanceLimits
InstanceLimits()
Aws::ElasticsearchService::Model::InstanceLimits::GetInstanceCountLimits
const InstanceCountLimits & GetInstanceCountLimits() const
Definition: InstanceLimits.h:42
Aws::ElasticsearchService::Model::InstanceLimits::InstanceCountLimitsHasBeenSet
bool InstanceCountLimitsHasBeenSet() const
Definition: InstanceLimits.h:45
Aws::ElasticsearchService::Model::InstanceLimits::SetInstanceCountLimits
void SetInstanceCountLimits(InstanceCountLimits &&value)
Definition: InstanceLimits.h:51
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::InstanceLimits::WithInstanceCountLimits
InstanceLimits & WithInstanceCountLimits(const InstanceCountLimits &value)
Definition: InstanceLimits.h:54
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::InstanceLimits
Definition: InstanceLimits.h:33
Aws::ElasticsearchService::Model::InstanceCountLimits
Definition: InstanceCountLimits.h:32
Aws::ElasticsearchService::Model::InstanceLimits::operator=
InstanceLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::InstanceLimits::WithInstanceCountLimits
InstanceLimits & WithInstanceCountLimits(InstanceCountLimits &&value)
Definition: InstanceLimits.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::InstanceLimits::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
InstanceCountLimits.h
Aws::ElasticsearchService::Model::InstanceLimits::InstanceLimits
InstanceLimits(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::InstanceLimits::SetInstanceCountLimits
void SetInstanceCountLimits(const InstanceCountLimits &value)
Definition: InstanceLimits.h:48