7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
10#include <aws/opensearchmemory/model/MemoryType.h>
21namespace OpenSearchMemory {
45 m_memoryTypeHasBeenSet =
true;
61 template <
typename MemoryStrategyNamesT = Aws::Vector<Aws::String>>
63 m_memoryStrategyNamesHasBeenSet =
true;
64 m_memoryStrategyNames = std::forward<MemoryStrategyNamesT>(value);
66 template <
typename MemoryStrategyNamesT = Aws::Vector<Aws::String>>
71 template <
typename MemoryStrategyNamesT = Aws::String>
73 m_memoryStrategyNamesHasBeenSet =
true;
74 m_memoryStrategyNames.emplace_back(std::forward<MemoryStrategyNamesT>(value));
82 bool m_memoryTypeHasBeenSet =
false;
83 bool m_memoryStrategyNamesHasBeenSet =
false;
AWS_OPENSEARCHMEMORY_API StrategySelector()=default
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHMEMORY_API StrategySelector(Aws::Utils::Json::JsonView jsonValue)
bool MemoryTypeHasBeenSet() const
AWS_OPENSEARCHMEMORY_API StrategySelector & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetMemoryStrategyNames() const
StrategySelector & WithMemoryType(MemoryType value)
void SetMemoryType(MemoryType value)
StrategySelector & WithMemoryStrategyNames(MemoryStrategyNamesT &&value)
MemoryType GetMemoryType() const
bool MemoryStrategyNamesHasBeenSet() const
void SetMemoryStrategyNames(MemoryStrategyNamesT &&value)
StrategySelector & AddMemoryStrategyNames(MemoryStrategyNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue