7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OpenSearchPartitionInstanceType.h>
21namespace OpenSearchService
48 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
66 inline int GetCount()
const {
return m_count; }
68 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
73 bool m_enabled{
false};
74 bool m_enabledHasBeenSet =
false;
77 bool m_typeHasBeenSet =
false;
80 bool m_countHasBeenSet =
false;
OpenSearchPartitionInstanceType GetType() const
AWS_OPENSEARCHSERVICE_API NodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(OpenSearchPartitionInstanceType value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NodeConfig & WithEnabled(bool value)
bool CountHasBeenSet() const
bool TypeHasBeenSet() const
NodeConfig & WithType(OpenSearchPartitionInstanceType value)
bool EnabledHasBeenSet() const
AWS_OPENSEARCHSERVICE_API NodeConfig(Aws::Utils::Json::JsonView jsonValue)
NodeConfig & WithCount(int value)
void SetEnabled(bool value)
AWS_OPENSEARCHSERVICE_API NodeConfig()=default
OpenSearchPartitionInstanceType
Aws::Utils::Json::JsonValue JsonValue