7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
12#include <aws/opensearchmemory/model/EncryptionConfiguration.h>
13#include <aws/opensearchmemory/model/MemoryStrategy.h>
14#include <aws/opensearchmemory/model/SpaceStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace OpenSearchMemory {
40 template <
typename SpaceIdT = Aws::String>
42 m_spaceIdHasBeenSet =
true;
43 m_spaceId = std::forward<SpaceIdT>(value);
45 template <
typename SpaceIdT = Aws::String>
57 template <
typename ArnT = Aws::String>
59 m_arnHasBeenSet =
true;
60 m_arn = std::forward<ArnT>(value);
62 template <
typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
92 m_statusHasBeenSet =
true;
108 template <
typename StatusReasonT = Aws::String>
110 m_statusReasonHasBeenSet =
true;
111 m_statusReason = std::forward<StatusReasonT>(value);
113 template <
typename StatusReasonT = Aws::String>
125 template <
typename CreatedAtT = Aws::Utils::DateTime>
127 m_createdAtHasBeenSet =
true;
128 m_createdAt = std::forward<CreatedAtT>(value);
130 template <
typename CreatedAtT = Aws::Utils::DateTime>
144 template <
typename MemoryStrategiesT = Aws::Vector<MemoryStrategy>>
146 m_memoryStrategiesHasBeenSet =
true;
147 m_memoryStrategies = std::forward<MemoryStrategiesT>(value);
149 template <
typename MemoryStrategiesT = Aws::Vector<MemoryStrategy>>
154 template <
typename MemoryStrategiesT = MemoryStrategy>
156 m_memoryStrategiesHasBeenSet =
true;
157 m_memoryStrategies.emplace_back(std::forward<MemoryStrategiesT>(value));
169 m_eventExpiryDaysHasBeenSet =
true;
170 m_eventExpiryDays = value;
185 m_memoryExpiryDaysHasBeenSet =
true;
186 m_memoryExpiryDays = value;
200 template <
typename ExtractionModelIdT = Aws::String>
202 m_extractionModelIdHasBeenSet =
true;
203 m_extractionModelId = std::forward<ExtractionModelIdT>(value);
205 template <
typename ExtractionModelIdT = Aws::String>
218 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
220 m_encryptionConfigurationHasBeenSet =
true;
221 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
223 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
261 int m_eventExpiryDays{0};
263 int m_memoryExpiryDays{0};
267 EncryptionConfiguration m_encryptionConfiguration;
271 bool m_spaceIdHasBeenSet =
false;
272 bool m_arnHasBeenSet =
false;
273 bool m_nameHasBeenSet =
false;
274 bool m_statusHasBeenSet =
false;
275 bool m_statusReasonHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
277 bool m_memoryStrategiesHasBeenSet =
false;
278 bool m_eventExpiryDaysHasBeenSet =
false;
279 bool m_memoryExpiryDaysHasBeenSet =
false;
280 bool m_extractionModelIdHasBeenSet =
false;
281 bool m_encryptionConfigurationHasBeenSet =
false;
282 bool m_requestIdHasBeenSet =
false;
GetSpaceResult & WithStatus(SpaceStatus value)
int GetEventExpiryDays() const
void SetRequestId(RequestIdT &&value)
GetSpaceResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_OPENSEARCHMEMORY_API GetSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetStatusReason() const
const Aws::String & GetExtractionModelId() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetSpaceResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetStatusReason(StatusReasonT &&value)
void SetArn(ArnT &&value)
void SetStatus(SpaceStatus value)
GetSpaceResult & WithSpaceId(SpaceIdT &&value)
const Aws::String & GetRequestId() const
GetSpaceResult & WithRequestId(RequestIdT &&value)
GetSpaceResult & WithArn(ArnT &&value)
void SetEventExpiryDays(int value)
void SetMemoryStrategies(MemoryStrategiesT &&value)
GetSpaceResult & AddMemoryStrategies(MemoryStrategiesT &&value)
GetSpaceResult & WithExtractionModelId(ExtractionModelIdT &&value)
int GetMemoryExpiryDays() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSpaceResult & WithMemoryStrategies(MemoryStrategiesT &&value)
void SetSpaceId(SpaceIdT &&value)
void SetMemoryExpiryDays(int value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::Vector< MemoryStrategy > & GetMemoryStrategies() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::String & GetSpaceId() const
GetSpaceResult & WithEventExpiryDays(int value)
void SetName(NameT &&value)
const Aws::String & GetName() const
GetSpaceResult & WithStatusReason(StatusReasonT &&value)
GetSpaceResult & WithName(NameT &&value)
void SetExtractionModelId(ExtractionModelIdT &&value)
AWS_OPENSEARCHMEMORY_API GetSpaceResult()=default
SpaceStatus GetStatus() const
GetSpaceResult & WithMemoryExpiryDays(int value)
const Aws::String & GetArn() const
AWS_OPENSEARCHMEMORY_API GetSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue