AWS SDK for C++  1.9.97
AWS SDK for C++
ZoneAwarenessConfig.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 
31  {
32  public:
37 
38 
44  inline int GetAvailabilityZoneCount() const{ return m_availabilityZoneCount; }
45 
51  inline bool AvailabilityZoneCountHasBeenSet() const { return m_availabilityZoneCountHasBeenSet; }
52 
58  inline void SetAvailabilityZoneCount(int value) { m_availabilityZoneCountHasBeenSet = true; m_availabilityZoneCount = value; }
59 
65  inline ZoneAwarenessConfig& WithAvailabilityZoneCount(int value) { SetAvailabilityZoneCount(value); return *this;}
66 
67  private:
68 
69  int m_availabilityZoneCount;
70  bool m_availabilityZoneCountHasBeenSet;
71  };
72 
73 } // namespace Model
74 } // namespace ElasticsearchService
75 } // namespace Aws
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::GetAvailabilityZoneCount
int GetAvailabilityZoneCount() const
Definition: ZoneAwarenessConfig.h:44
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::WithAvailabilityZoneCount
ZoneAwarenessConfig & WithAvailabilityZoneCount(int value)
Definition: ZoneAwarenessConfig.h:65
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::operator=
ZoneAwarenessConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::SetAvailabilityZoneCount
void SetAvailabilityZoneCount(int value)
Definition: ZoneAwarenessConfig.h:58
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::ZoneAwarenessConfig
ZoneAwarenessConfig()
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::ZoneAwarenessConfig
ZoneAwarenessConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ZoneAwarenessConfig
Definition: ZoneAwarenessConfig.h:31
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::AvailabilityZoneCountHasBeenSet
bool AvailabilityZoneCountHasBeenSet() const
Definition: ZoneAwarenessConfig.h:51
Aws::ElasticsearchService::Model::ZoneAwarenessConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const