7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
9#include <aws/opensearchmemory/model/MemoryStrategyConfiguration.h>
10#include <aws/opensearchmemory/model/MemoryStrategyType.h>
21namespace OpenSearchMemory {
44 m_typeHasBeenSet =
true;
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
102 template <
typename ConfigurationT = MemoryStrategyConfiguration>
104 m_configurationHasBeenSet =
true;
105 m_configuration = std::forward<ConfigurationT>(value);
107 template <
typename ConfigurationT = MemoryStrategyConfiguration>
120 MemoryStrategyConfiguration m_configuration;
121 bool m_typeHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
123 bool m_descriptionHasBeenSet =
false;
124 bool m_configurationHasBeenSet =
false;
bool ConfigurationHasBeenSet() const
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
bool TypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_OPENSEARCHMEMORY_API MemoryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
const MemoryStrategyConfiguration & GetConfiguration() const
AWS_OPENSEARCHMEMORY_API MemoryStrategy()=default
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(MemoryStrategyType value)
MemoryStrategy & WithName(NameT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
MemoryStrategy & WithType(MemoryStrategyType value)
MemoryStrategy & WithConfiguration(ConfigurationT &&value)
MemoryStrategyType GetType() const
void SetConfiguration(ConfigurationT &&value)
const Aws::String & GetDescription() const
AWS_OPENSEARCHMEMORY_API MemoryStrategy(Aws::Utils::Json::JsonView jsonValue)
MemoryStrategy & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue