7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kendra/model/S3Path.h>
11#include <aws/kendra/model/FaqStatus.h>
12#include <aws/kendra/model/FaqFileFormat.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
46 template<
typename IdT = Aws::String>
55 template<
typename IndexIdT = Aws::String>
56 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
57 template<
typename IndexIdT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
99 template<
typename UpdatedAtT = Aws::Utils::DateTime>
100 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
101 template<
typename UpdatedAtT = Aws::Utils::DateTime>
108 template<
typename S3PathT = S3Path>
109 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet =
true; m_s3Path = std::forward<S3PathT>(value); }
110 template<
typename S3PathT = S3Path>
130 template<
typename RoleArnT = Aws::String>
131 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
132 template<
typename RoleArnT = Aws::String>
142 template<
typename ErrorMessageT = Aws::String>
143 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
144 template<
typename ErrorMessageT = Aws::String>
166 template<
typename LanguageCodeT = Aws::String>
167 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
168 template<
typename LanguageCodeT = Aws::String>
175 template<
typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
177 template<
typename RequestIdT = Aws::String>
183 bool m_idHasBeenSet =
false;
186 bool m_indexIdHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
192 bool m_descriptionHasBeenSet =
false;
195 bool m_createdAtHasBeenSet =
false;
198 bool m_updatedAtHasBeenSet =
false;
201 bool m_s3PathHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_roleArnHasBeenSet =
false;
210 bool m_errorMessageHasBeenSet =
false;
213 bool m_fileFormatHasBeenSet =
false;
216 bool m_languageCodeHasBeenSet =
false;
219 bool m_requestIdHasBeenSet =
false;
FaqFileFormat GetFileFormat() const
DescribeFaqResult & WithS3Path(S3PathT &&value)
const Aws::String & GetId() const
FaqStatus GetStatus() const
void SetName(NameT &&value)
void SetStatus(FaqStatus value)
DescribeFaqResult & WithId(IdT &&value)
const S3Path & GetS3Path() const
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetIndexId() const
const Aws::String & GetErrorMessage() const
const Aws::String & GetName() const
AWS_KENDRA_API DescribeFaqResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLanguageCode() const
void SetErrorMessage(ErrorMessageT &&value)
void SetCreatedAt(CreatedAtT &&value)
DescribeFaqResult & WithLanguageCode(LanguageCodeT &&value)
DescribeFaqResult & WithRoleArn(RoleArnT &&value)
DescribeFaqResult & WithDescription(DescriptionT &&value)
DescribeFaqResult & WithIndexId(IndexIdT &&value)
const Aws::String & GetRoleArn() const
DescribeFaqResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetS3Path(S3PathT &&value)
void SetRoleArn(RoleArnT &&value)
DescribeFaqResult & WithFileFormat(FaqFileFormat value)
AWS_KENDRA_API DescribeFaqResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFaqResult & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetIndexId(IndexIdT &&value)
DescribeFaqResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDescription(DescriptionT &&value)
DescribeFaqResult & WithStatus(FaqStatus value)
void SetFileFormat(FaqFileFormat value)
DescribeFaqResult & WithRequestId(RequestIdT &&value)
void SetLanguageCode(LanguageCodeT &&value)
const Aws::String & GetRequestId() const
DescribeFaqResult & WithCreatedAt(CreatedAtT &&value)
AWS_KENDRA_API DescribeFaqResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue