AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIndexResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/IndexType.h>
10#include <aws/qbusiness/model/IndexStatus.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>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace QBusiness
32{
33namespace Model
34{
36 {
37 public:
38 AWS_QBUSINESS_API GetIndexResult();
41
42
44
48 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
49 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
50 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
51 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
52 inline GetIndexResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
53 inline GetIndexResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline GetIndexResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
61 inline const Aws::String& GetIndexId() const{ return m_indexId; }
62 inline void SetIndexId(const Aws::String& value) { m_indexId = value; }
63 inline void SetIndexId(Aws::String&& value) { m_indexId = std::move(value); }
64 inline void SetIndexId(const char* value) { m_indexId.assign(value); }
65 inline GetIndexResult& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
66 inline GetIndexResult& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
67 inline GetIndexResult& WithIndexId(const char* value) { SetIndexId(value); return *this;}
69
71
74 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
75 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
76 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
77 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
78 inline GetIndexResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
79 inline GetIndexResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
80 inline GetIndexResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
82
84
87 inline const IndexType& GetType() const{ return m_type; }
88 inline void SetType(const IndexType& value) { m_type = value; }
89 inline void SetType(IndexType&& value) { m_type = std::move(value); }
90 inline GetIndexResult& WithType(const IndexType& value) { SetType(value); return *this;}
91 inline GetIndexResult& WithType(IndexType&& value) { SetType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetIndexArn() const{ return m_indexArn; }
99 inline void SetIndexArn(const Aws::String& value) { m_indexArn = value; }
100 inline void SetIndexArn(Aws::String&& value) { m_indexArn = std::move(value); }
101 inline void SetIndexArn(const char* value) { m_indexArn.assign(value); }
102 inline GetIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;}
103 inline GetIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;}
104 inline GetIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;}
106
108
114 inline const IndexStatus& GetStatus() const{ return m_status; }
115 inline void SetStatus(const IndexStatus& value) { m_status = value; }
116 inline void SetStatus(IndexStatus&& value) { m_status = std::move(value); }
117 inline GetIndexResult& WithStatus(const IndexStatus& value) { SetStatus(value); return *this;}
118 inline GetIndexResult& WithStatus(IndexStatus&& value) { SetStatus(std::move(value)); return *this;}
120
122
125 inline const Aws::String& GetDescription() const{ return m_description; }
126 inline void SetDescription(const Aws::String& value) { m_description = value; }
127 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
128 inline void SetDescription(const char* value) { m_description.assign(value); }
129 inline GetIndexResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
130 inline GetIndexResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
131 inline GetIndexResult& WithDescription(const char* value) { SetDescription(value); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
139 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
140 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
141 inline GetIndexResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
142 inline GetIndexResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
150 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
151 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
152 inline GetIndexResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
153 inline GetIndexResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
155
157
160 inline const IndexCapacityConfiguration& GetCapacityConfiguration() const{ return m_capacityConfiguration; }
161 inline void SetCapacityConfiguration(const IndexCapacityConfiguration& value) { m_capacityConfiguration = value; }
162 inline void SetCapacityConfiguration(IndexCapacityConfiguration&& value) { m_capacityConfiguration = std::move(value); }
166
168
175 inline const Aws::Vector<DocumentAttributeConfiguration>& GetDocumentAttributeConfigurations() const{ return m_documentAttributeConfigurations; }
176 inline void SetDocumentAttributeConfigurations(const Aws::Vector<DocumentAttributeConfiguration>& value) { m_documentAttributeConfigurations = value; }
177 inline void SetDocumentAttributeConfigurations(Aws::Vector<DocumentAttributeConfiguration>&& value) { m_documentAttributeConfigurations = std::move(value); }
180 inline GetIndexResult& AddDocumentAttributeConfigurations(const DocumentAttributeConfiguration& value) { m_documentAttributeConfigurations.push_back(value); return *this; }
181 inline GetIndexResult& AddDocumentAttributeConfigurations(DocumentAttributeConfiguration&& value) { m_documentAttributeConfigurations.push_back(std::move(value)); return *this; }
183
185
189 inline const ErrorDetail& GetError() const{ return m_error; }
190 inline void SetError(const ErrorDetail& value) { m_error = value; }
191 inline void SetError(ErrorDetail&& value) { m_error = std::move(value); }
192 inline GetIndexResult& WithError(const ErrorDetail& value) { SetError(value); return *this;}
193 inline GetIndexResult& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
195
197
200 inline const IndexStatistics& GetIndexStatistics() const{ return m_indexStatistics; }
201 inline void SetIndexStatistics(const IndexStatistics& value) { m_indexStatistics = value; }
202 inline void SetIndexStatistics(IndexStatistics&& value) { m_indexStatistics = std::move(value); }
203 inline GetIndexResult& WithIndexStatistics(const IndexStatistics& value) { SetIndexStatistics(value); return *this;}
204 inline GetIndexResult& WithIndexStatistics(IndexStatistics&& value) { SetIndexStatistics(std::move(value)); return *this;}
206
208
209 inline const Aws::String& GetRequestId() const{ return m_requestId; }
210 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
211 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
212 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
213 inline GetIndexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
214 inline GetIndexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
215 inline GetIndexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
217 private:
218
219 Aws::String m_applicationId;
220
221 Aws::String m_indexId;
222
223 Aws::String m_displayName;
224
225 IndexType m_type;
226
227 Aws::String m_indexArn;
228
229 IndexStatus m_status;
230
231 Aws::String m_description;
232
233 Aws::Utils::DateTime m_createdAt;
234
235 Aws::Utils::DateTime m_updatedAt;
236
237 IndexCapacityConfiguration m_capacityConfiguration;
238
239 Aws::Vector<DocumentAttributeConfiguration> m_documentAttributeConfigurations;
240
241 ErrorDetail m_error;
242
243 IndexStatistics m_indexStatistics;
244
245 Aws::String m_requestId;
246 };
247
248} // namespace Model
249} // namespace QBusiness
250} // namespace Aws
GetIndexResult & WithApplicationId(const char *value)
GetIndexResult & WithRequestId(Aws::String &&value)
GetIndexResult & WithStatus(const IndexStatus &value)
GetIndexResult & AddDocumentAttributeConfigurations(DocumentAttributeConfiguration &&value)
AWS_QBUSINESS_API GetIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
void SetError(const ErrorDetail &value)
GetIndexResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_QBUSINESS_API GetIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIndexResult & WithIndexStatistics(IndexStatistics &&value)
GetIndexResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const IndexStatus &value)
GetIndexResult & WithDescription(Aws::String &&value)
const Aws::Vector< DocumentAttributeConfiguration > & GetDocumentAttributeConfigurations() const
GetIndexResult & WithDisplayName(const char *value)
GetIndexResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & WithIndexId(Aws::String &&value)
void SetIndexId(Aws::String &&value)
GetIndexResult & WithDocumentAttributeConfigurations(Aws::Vector< DocumentAttributeConfiguration > &&value)
GetIndexResult & WithType(IndexType &&value)
void SetApplicationId(const Aws::String &value)
GetIndexResult & WithIndexStatistics(const IndexStatistics &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetIndexResult & WithDescription(const char *value)
const IndexStatistics & GetIndexStatistics() const
void SetApplicationId(Aws::String &&value)
void SetDisplayName(Aws::String &&value)
const IndexStatus & GetStatus() const
void SetRequestId(const Aws::String &value)
GetIndexResult & AddDocumentAttributeConfigurations(const DocumentAttributeConfiguration &value)
void SetIndexArn(const Aws::String &value)
const Aws::String & GetDescription() const
const IndexType & GetType() const
GetIndexResult & WithIndexArn(const char *value)
void SetApplicationId(const char *value)
GetIndexResult & WithRequestId(const char *value)
GetIndexResult & WithCapacityConfiguration(const IndexCapacityConfiguration &value)
GetIndexResult & WithError(ErrorDetail &&value)
void SetDescription(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetError(ErrorDetail &&value)
void SetIndexStatistics(IndexStatistics &&value)
GetIndexResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & WithApplicationId(const Aws::String &value)
const Aws::String & GetDisplayName() const
void SetDocumentAttributeConfigurations(Aws::Vector< DocumentAttributeConfiguration > &&value)
void SetDescription(const char *value)
GetIndexResult & WithIndexId(const char *value)
void SetDocumentAttributeConfigurations(const Aws::Vector< DocumentAttributeConfiguration > &value)
const IndexCapacityConfiguration & GetCapacityConfiguration() const
GetIndexResult & WithDisplayName(Aws::String &&value)
void SetDisplayName(const char *value)
void SetStatus(IndexStatus &&value)
void SetCapacityConfiguration(IndexCapacityConfiguration &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetIndexResult & WithIndexArn(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
const Aws::String & GetIndexArn() const
GetIndexResult & WithDescription(const Aws::String &value)
void SetCapacityConfiguration(const IndexCapacityConfiguration &value)
GetIndexResult & WithCapacityConfiguration(IndexCapacityConfiguration &&value)
GetIndexResult & WithStatus(IndexStatus &&value)
void SetDescription(Aws::String &&value)
GetIndexResult & WithRequestId(const Aws::String &value)
GetIndexResult & WithApplicationId(Aws::String &&value)
void SetIndexStatistics(const IndexStatistics &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetIndexId(const Aws::String &value)
GetIndexResult & WithIndexId(const Aws::String &value)
GetIndexResult & WithDocumentAttributeConfigurations(const Aws::Vector< DocumentAttributeConfiguration > &value)
const Aws::String & GetApplicationId() const
const Aws::String & GetIndexId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
GetIndexResult & WithType(const IndexType &value)
const Aws::String & GetRequestId() const
void SetIndexArn(Aws::String &&value)
GetIndexResult & WithDisplayName(const Aws::String &value)
GetIndexResult & WithError(const ErrorDetail &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const ErrorDetail & GetError() const
void SetType(const IndexType &value)
GetIndexResult & WithIndexArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue