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/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/DocumentAttributeConfiguration.h>
13#include <aws/qbusiness/model/ErrorDetail.h>
14#include <aws/qbusiness/model/IndexCapacityConfiguration.h>
15#include <aws/qbusiness/model/IndexStatistics.h>
16#include <aws/qbusiness/model/IndexStatus.h>
17#include <aws/qbusiness/model/IndexType.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
44 template <
typename ApplicationIdT = Aws::String>
46 m_applicationIdHasBeenSet =
true;
47 m_applicationId = std::forward<ApplicationIdT>(value);
49 template <
typename ApplicationIdT = Aws::String>
61 template <
typename IndexIdT = Aws::String>
63 m_indexIdHasBeenSet =
true;
64 m_indexId = std::forward<IndexIdT>(value);
66 template <
typename IndexIdT = Aws::String>
78 template <
typename DisplayNameT = Aws::String>
80 m_displayNameHasBeenSet =
true;
81 m_displayName = std::forward<DisplayNameT>(value);
83 template <
typename DisplayNameT = Aws::String>
95 template <
typename IndexArnT = Aws::String>
97 m_indexArnHasBeenSet =
true;
98 m_indexArn = std::forward<IndexArnT>(value);
100 template <
typename IndexArnT = Aws::String>
116 m_statusHasBeenSet =
true;
131 m_typeHasBeenSet =
true;
145 template <
typename DescriptionT = Aws::String>
147 m_descriptionHasBeenSet =
true;
148 m_description = std::forward<DescriptionT>(value);
150 template <
typename DescriptionT = Aws::String>
162 template <
typename CreatedAtT = Aws::Utils::DateTime>
164 m_createdAtHasBeenSet =
true;
165 m_createdAt = std::forward<CreatedAtT>(value);
167 template <
typename CreatedAtT = Aws::Utils::DateTime>
179 template <
typename UpdatedAtT = Aws::Utils::DateTime>
181 m_updatedAtHasBeenSet =
true;
182 m_updatedAt = std::forward<UpdatedAtT>(value);
184 template <
typename UpdatedAtT = Aws::Utils::DateTime>
196 template <
typename CapacityConfigurationT = IndexCapacityConfiguration>
198 m_capacityConfigurationHasBeenSet =
true;
199 m_capacityConfiguration = std::forward<CapacityConfigurationT>(value);
201 template <
typename CapacityConfigurationT = IndexCapacityConfiguration>
217 return m_documentAttributeConfigurations;
219 template <
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
221 m_documentAttributeConfigurationsHasBeenSet =
true;
222 m_documentAttributeConfigurations = std::forward<DocumentAttributeConfigurationsT>(value);
224 template <
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
229 template <
typename DocumentAttributeConfigurationsT = DocumentAttributeConfiguration>
231 m_documentAttributeConfigurationsHasBeenSet =
true;
232 m_documentAttributeConfigurations.emplace_back(std::forward<DocumentAttributeConfigurationsT>(value));
243 template <
typename ErrorT = ErrorDetail>
245 m_errorHasBeenSet =
true;
246 m_error = std::forward<ErrorT>(value);
248 template <
typename ErrorT = ErrorDetail>
250 SetError(std::forward<ErrorT>(value));
260 template <
typename IndexStatisticsT = IndexStatistics>
262 m_indexStatisticsHasBeenSet =
true;
263 m_indexStatistics = std::forward<IndexStatisticsT>(value);
265 template <
typename IndexStatisticsT = IndexStatistics>
275 template <
typename RequestIdT = Aws::String>
277 m_requestIdHasBeenSet =
true;
278 m_requestId = std::forward<RequestIdT>(value);
280 template <
typename RequestIdT = Aws::String>
307 IndexCapacityConfiguration m_capacityConfiguration;
313 IndexStatistics m_indexStatistics;
317 bool m_applicationIdHasBeenSet =
false;
318 bool m_indexIdHasBeenSet =
false;
319 bool m_displayNameHasBeenSet =
false;
320 bool m_indexArnHasBeenSet =
false;
321 bool m_statusHasBeenSet =
false;
322 bool m_typeHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
324 bool m_createdAtHasBeenSet =
false;
325 bool m_updatedAtHasBeenSet =
false;
326 bool m_capacityConfigurationHasBeenSet =
false;
327 bool m_documentAttributeConfigurationsHasBeenSet =
false;
328 bool m_errorHasBeenSet =
false;
329 bool m_indexStatisticsHasBeenSet =
false;
330 bool m_requestIdHasBeenSet =
false;
GetIndexResult & WithIndexId(IndexIdT &&value)
GetIndexResult & WithDisplayName(DisplayNameT &&value)
void SetDocumentAttributeConfigurations(DocumentAttributeConfigurationsT &&value)
AWS_QBUSINESS_API GetIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIndexResult & AddDocumentAttributeConfigurations(DocumentAttributeConfigurationsT &&value)
AWS_QBUSINESS_API GetIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QBUSINESS_API GetIndexResult()=default
const Aws::Vector< DocumentAttributeConfiguration > & GetDocumentAttributeConfigurations() const
GetIndexResult & WithUpdatedAt(UpdatedAtT &&value)
GetIndexResult & WithCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetIndexStatistics(IndexStatisticsT &&value)
GetIndexResult & WithDocumentAttributeConfigurations(DocumentAttributeConfigurationsT &&value)
void SetType(IndexType value)
GetIndexResult & WithCapacityConfiguration(CapacityConfigurationT &&value)
const IndexStatistics & GetIndexStatistics() const
const Aws::String & GetDescription() const
void SetCapacityConfiguration(CapacityConfigurationT &&value)
void SetIndexId(IndexIdT &&value)
IndexStatus GetStatus() const
GetIndexResult & WithRequestId(RequestIdT &&value)
GetIndexResult & WithStatus(IndexStatus value)
const Aws::String & GetDisplayName() const
GetIndexResult & WithType(IndexType value)
GetIndexResult & WithError(ErrorT &&value)
GetIndexResult & WithDescription(DescriptionT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetDescription(DescriptionT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetIndexResult & WithIndexArn(IndexArnT &&value)
const IndexCapacityConfiguration & GetCapacityConfiguration() const
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetIndexArn() const
void SetError(ErrorT &&value)
GetIndexResult & WithApplicationId(ApplicationIdT &&value)
GetIndexResult & WithIndexStatistics(IndexStatisticsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetApplicationId() const
const Aws::String & GetIndexId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetRequestId() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetIndexArn(IndexArnT &&value)
IndexType GetType() const
const Aws::Utils::DateTime & GetCreatedAt() const
const ErrorDetail & GetError() const
void SetStatus(IndexStatus value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue