AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeFaqResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace kendra
28{
29namespace Model
30{
32 {
33 public:
34 AWS_KENDRA_API DescribeFaqResult() = default;
37
38
40
43 inline const Aws::String& GetId() const { return m_id; }
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>
47 DescribeFaqResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetIndexId() const { return m_indexId; }
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>
58 DescribeFaqResult& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
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>
69 DescribeFaqResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
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>
80 DescribeFaqResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
91 DescribeFaqResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
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>
102 DescribeFaqResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
104
106
107 inline const S3Path& GetS3Path() const { return m_s3Path; }
108 template<typename S3PathT = S3Path>
109 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::forward<S3PathT>(value); }
110 template<typename S3PathT = S3Path>
111 DescribeFaqResult& WithS3Path(S3PathT&& value) { SetS3Path(std::forward<S3PathT>(value)); return *this;}
113
115
119 inline FaqStatus GetStatus() const { return m_status; }
120 inline void SetStatus(FaqStatus value) { m_statusHasBeenSet = true; m_status = value; }
121 inline DescribeFaqResult& WithStatus(FaqStatus value) { SetStatus(value); return *this;}
123
125
129 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
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>
133 DescribeFaqResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
135
137
141 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
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>
145 DescribeFaqResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
147
149
152 inline FaqFileFormat GetFileFormat() const { return m_fileFormat; }
153 inline void SetFileFormat(FaqFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
154 inline DescribeFaqResult& WithFileFormat(FaqFileFormat value) { SetFileFormat(value); return *this;}
156
158
165 inline const Aws::String& GetLanguageCode() const { return m_languageCode; }
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>
169 DescribeFaqResult& WithLanguageCode(LanguageCodeT&& value) { SetLanguageCode(std::forward<LanguageCodeT>(value)); return *this;}
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
178 DescribeFaqResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
180 private:
181
182 Aws::String m_id;
183 bool m_idHasBeenSet = false;
184
185 Aws::String m_indexId;
186 bool m_indexIdHasBeenSet = false;
187
188 Aws::String m_name;
189 bool m_nameHasBeenSet = false;
190
191 Aws::String m_description;
192 bool m_descriptionHasBeenSet = false;
193
194 Aws::Utils::DateTime m_createdAt{};
195 bool m_createdAtHasBeenSet = false;
196
197 Aws::Utils::DateTime m_updatedAt{};
198 bool m_updatedAtHasBeenSet = false;
199
200 S3Path m_s3Path;
201 bool m_s3PathHasBeenSet = false;
202
204 bool m_statusHasBeenSet = false;
205
206 Aws::String m_roleArn;
207 bool m_roleArnHasBeenSet = false;
208
209 Aws::String m_errorMessage;
210 bool m_errorMessageHasBeenSet = false;
211
213 bool m_fileFormatHasBeenSet = false;
214
215 Aws::String m_languageCode;
216 bool m_languageCodeHasBeenSet = false;
217
218 Aws::String m_requestId;
219 bool m_requestIdHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace kendra
224} // namespace Aws
DescribeFaqResult & WithS3Path(S3PathT &&value)
const Aws::String & GetId() const
DescribeFaqResult & WithId(IdT &&value)
const Aws::String & GetDescription() const
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)
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
DescribeFaqResult & WithFileFormat(FaqFileFormat value)
AWS_KENDRA_API DescribeFaqResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFaqResult & WithUpdatedAt(UpdatedAtT &&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