AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ZoneAwarenessConfig.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchService {
17namespace Model {
18
26 public:
27 AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig() = default;
28 AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig(Aws::Utils::Json::JsonView jsonValue);
29 AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
39 inline int GetAvailabilityZoneCount() const { return m_availabilityZoneCount; }
40 inline bool AvailabilityZoneCountHasBeenSet() const { return m_availabilityZoneCountHasBeenSet; }
41 inline void SetAvailabilityZoneCount(int value) {
42 m_availabilityZoneCountHasBeenSet = true;
43 m_availabilityZoneCount = value;
44 }
47 return *this;
48 }
50 private:
51 int m_availabilityZoneCount{0};
52 bool m_availabilityZoneCountHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace OpenSearchService
57} // namespace Aws
AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ZoneAwarenessConfig & WithAvailabilityZoneCount(int value)
AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ZoneAwarenessConfig()=default
Aws::Utils::Json::JsonValue JsonValue