7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/DocumentAttributeConfiguration.h>
12#include <aws/qbusiness/model/ErrorDetail.h>
13#include <aws/qbusiness/model/IndexCapacityConfiguration.h>
14#include <aws/qbusiness/model/IndexStatistics.h>
15#include <aws/qbusiness/model/IndexStatus.h>
16#include <aws/qbusiness/model/IndexType.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
43 template <
typename ApplicationIdT = Aws::String>
45 m_applicationIdHasBeenSet =
true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
48 template <
typename ApplicationIdT = Aws::String>
60 template <
typename IndexIdT = Aws::String>
62 m_indexIdHasBeenSet =
true;
63 m_indexId = std::forward<IndexIdT>(value);
65 template <
typename IndexIdT = Aws::String>
77 template <
typename DisplayNameT = Aws::String>
79 m_displayNameHasBeenSet =
true;
80 m_displayName = std::forward<DisplayNameT>(value);
82 template <
typename DisplayNameT = Aws::String>
94 template <
typename IndexArnT = Aws::String>
96 m_indexArnHasBeenSet =
true;
97 m_indexArn = std::forward<IndexArnT>(value);
99 template <
typename IndexArnT = Aws::String>
115 m_statusHasBeenSet =
true;
130 m_typeHasBeenSet =
true;
144 template <
typename DescriptionT = Aws::String>
146 m_descriptionHasBeenSet =
true;
147 m_description = std::forward<DescriptionT>(value);
149 template <
typename DescriptionT = Aws::String>
161 template <
typename CreatedAtT = Aws::Utils::DateTime>
163 m_createdAtHasBeenSet =
true;
164 m_createdAt = std::forward<CreatedAtT>(value);
166 template <
typename CreatedAtT = Aws::Utils::DateTime>
178 template <
typename UpdatedAtT = Aws::Utils::DateTime>
180 m_updatedAtHasBeenSet =
true;
181 m_updatedAt = std::forward<UpdatedAtT>(value);
183 template <
typename UpdatedAtT = Aws::Utils::DateTime>
195 template <
typename CapacityConfigurationT = IndexCapacityConfiguration>
197 m_capacityConfigurationHasBeenSet =
true;
198 m_capacityConfiguration = std::forward<CapacityConfigurationT>(value);
200 template <
typename CapacityConfigurationT = IndexCapacityConfiguration>
216 return m_documentAttributeConfigurations;
218 template <
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
220 m_documentAttributeConfigurationsHasBeenSet =
true;
221 m_documentAttributeConfigurations = std::forward<DocumentAttributeConfigurationsT>(value);
223 template <
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
228 template <
typename DocumentAttributeConfigurationsT = DocumentAttributeConfiguration>
230 m_documentAttributeConfigurationsHasBeenSet =
true;
231 m_documentAttributeConfigurations.emplace_back(std::forward<DocumentAttributeConfigurationsT>(value));
242 template <
typename ErrorT = ErrorDetail>
244 m_errorHasBeenSet =
true;
245 m_error = std::forward<ErrorT>(value);
247 template <
typename ErrorT = ErrorDetail>
249 SetError(std::forward<ErrorT>(value));
259 template <
typename IndexStatisticsT = IndexStatistics>
261 m_indexStatisticsHasBeenSet =
true;
262 m_indexStatistics = std::forward<IndexStatisticsT>(value);
264 template <
typename IndexStatisticsT = IndexStatistics>
274 template <
typename RequestIdT = Aws::String>
276 m_requestIdHasBeenSet =
true;
277 m_requestId = std::forward<RequestIdT>(value);
279 template <
typename RequestIdT = Aws::String>
287 bool m_applicationIdHasBeenSet =
false;
290 bool m_indexIdHasBeenSet =
false;
293 bool m_displayNameHasBeenSet =
false;
296 bool m_indexArnHasBeenSet =
false;
299 bool m_statusHasBeenSet =
false;
302 bool m_typeHasBeenSet =
false;
305 bool m_descriptionHasBeenSet =
false;
308 bool m_createdAtHasBeenSet =
false;
311 bool m_updatedAtHasBeenSet =
false;
313 IndexCapacityConfiguration m_capacityConfiguration;
314 bool m_capacityConfigurationHasBeenSet =
false;
317 bool m_documentAttributeConfigurationsHasBeenSet =
false;
320 bool m_errorHasBeenSet =
false;
322 IndexStatistics m_indexStatistics;
323 bool m_indexStatisticsHasBeenSet =
false;
326 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)
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