7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/IndexStatus.h>
10#include <aws/qbusiness/model/IndexType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qbusiness/model/IndexCapacityConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/qbusiness/model/ErrorDetail.h>
15#include <aws/qbusiness/model/IndexStatistics.h>
16#include <aws/qbusiness/model/DocumentAttributeConfiguration.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
49 template<
typename ApplicationIdT = Aws::String>
51 template<
typename ApplicationIdT = Aws::String>
60 template<
typename IndexIdT = Aws::String>
61 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
62 template<
typename IndexIdT = Aws::String>
71 template<
typename DisplayNameT = Aws::String>
73 template<
typename DisplayNameT = Aws::String>
82 template<
typename IndexArnT = Aws::String>
83 void SetIndexArn(
IndexArnT&& value) { m_indexArnHasBeenSet =
true; m_indexArn = std::forward<IndexArnT>(value); }
84 template<
typename IndexArnT = Aws::String>
114 template<
typename DescriptionT = Aws::String>
116 template<
typename DescriptionT = Aws::String>
125 template<
typename CreatedAtT = Aws::Utils::DateTime>
127 template<
typename CreatedAtT = Aws::Utils::DateTime>
136 template<
typename UpdatedAtT = Aws::Utils::DateTime>
138 template<
typename UpdatedAtT = Aws::Utils::DateTime>
147 template<
typename CapacityConfigurationT = IndexCapacityConfiguration>
149 template<
typename CapacityConfigurationT = IndexCapacityConfiguration>
162 template<
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
164 template<
typename DocumentAttributeConfigurationsT = Aws::Vector<DocumentAttributeConfiguration>>
166 template<
typename DocumentAttributeConfigurationsT = DocumentAttributeConfiguration>
176 template<
typename ErrorT = ErrorDetail>
177 void SetError(
ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
178 template<
typename ErrorT = ErrorDetail>
187 template<
typename IndexStatisticsT = IndexStatistics>
189 template<
typename IndexStatisticsT = IndexStatistics>
196 template<
typename RequestIdT = Aws::String>
198 template<
typename RequestIdT = Aws::String>
204 bool m_applicationIdHasBeenSet =
false;
207 bool m_indexIdHasBeenSet =
false;
210 bool m_displayNameHasBeenSet =
false;
213 bool m_indexArnHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
219 bool m_typeHasBeenSet =
false;
222 bool m_descriptionHasBeenSet =
false;
225 bool m_createdAtHasBeenSet =
false;
228 bool m_updatedAtHasBeenSet =
false;
230 IndexCapacityConfiguration m_capacityConfiguration;
231 bool m_capacityConfigurationHasBeenSet =
false;
234 bool m_documentAttributeConfigurationsHasBeenSet =
false;
237 bool m_errorHasBeenSet =
false;
239 IndexStatistics m_indexStatistics;
240 bool m_indexStatisticsHasBeenSet =
false;
243 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