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; }
70 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
76 bool m_enabledHasBeenSet =
false;
79 bool m_typeHasBeenSet =
false;
82 bool m_countHasBeenSet =
false;
void SetType(const OpenSearchPartitionInstanceType &value)
AWS_OPENSEARCHSERVICE_API NodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NodeConfig & WithEnabled(bool value)
AWS_OPENSEARCHSERVICE_API NodeConfig()
NodeConfig & WithType(const OpenSearchPartitionInstanceType &value)
bool CountHasBeenSet() const
const OpenSearchPartitionInstanceType & GetType() const
bool TypeHasBeenSet() const
bool EnabledHasBeenSet() const
AWS_OPENSEARCHSERVICE_API NodeConfig(Aws::Utils::Json::JsonView jsonValue)
NodeConfig & WithCount(int value)
NodeConfig & WithType(OpenSearchPartitionInstanceType &&value)
void SetType(OpenSearchPartitionInstanceType &&value)
void SetEnabled(bool value)
OpenSearchPartitionInstanceType
Aws::Utils::Json::JsonValue JsonValue