7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/model/CapacityDetails.h>
19namespace OpenSearchServerless {
42 template <
typename SearchT = CapacityDetails>
44 m_searchHasBeenSet =
true;
45 m_search = std::forward<SearchT>(value);
47 template <
typename SearchT = CapacityDetails>
60 template <
typename IndexingT = CapacityDetails>
62 m_indexingHasBeenSet =
true;
63 m_indexing = std::forward<IndexingT>(value);
65 template <
typename IndexingT = CapacityDetails>
75 bool m_searchHasBeenSet =
false;
76 bool m_indexingHasBeenSet =
false;
CurrentCapacity & WithIndexing(IndexingT &&value)
const CapacityDetails & GetIndexing() const
AWS_OPENSEARCHSERVERLESS_API CurrentCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CurrentCapacity & WithSearch(SearchT &&value)
void SetIndexing(IndexingT &&value)
bool SearchHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CurrentCapacity()=default
void SetSearch(SearchT &&value)
bool IndexingHasBeenSet() const
const CapacityDetails & GetSearch() const
AWS_OPENSEARCHSERVERLESS_API CurrentCapacity(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue