AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
IndexStatistics.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/FaqStatistics.h>
9#include <aws/kendra/model/TextDocumentStatistics.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KENDRA_API IndexStatistics() = default;
39 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FaqStatistics& GetFaqStatistics() const { return m_faqStatistics; }
47 inline bool FaqStatisticsHasBeenSet() const { return m_faqStatisticsHasBeenSet; }
48 template<typename FaqStatisticsT = FaqStatistics>
49 void SetFaqStatistics(FaqStatisticsT&& value) { m_faqStatisticsHasBeenSet = true; m_faqStatistics = std::forward<FaqStatisticsT>(value); }
50 template<typename FaqStatisticsT = FaqStatistics>
51 IndexStatistics& WithFaqStatistics(FaqStatisticsT&& value) { SetFaqStatistics(std::forward<FaqStatisticsT>(value)); return *this;}
53
55
58 inline const TextDocumentStatistics& GetTextDocumentStatistics() const { return m_textDocumentStatistics; }
59 inline bool TextDocumentStatisticsHasBeenSet() const { return m_textDocumentStatisticsHasBeenSet; }
60 template<typename TextDocumentStatisticsT = TextDocumentStatistics>
61 void SetTextDocumentStatistics(TextDocumentStatisticsT&& value) { m_textDocumentStatisticsHasBeenSet = true; m_textDocumentStatistics = std::forward<TextDocumentStatisticsT>(value); }
62 template<typename TextDocumentStatisticsT = TextDocumentStatistics>
63 IndexStatistics& WithTextDocumentStatistics(TextDocumentStatisticsT&& value) { SetTextDocumentStatistics(std::forward<TextDocumentStatisticsT>(value)); return *this;}
65 private:
66
67 FaqStatistics m_faqStatistics;
68 bool m_faqStatisticsHasBeenSet = false;
69
70 TextDocumentStatistics m_textDocumentStatistics;
71 bool m_textDocumentStatisticsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace kendra
76} // namespace Aws
void SetTextDocumentStatistics(TextDocumentStatisticsT &&value)
const TextDocumentStatistics & GetTextDocumentStatistics() const
AWS_KENDRA_API IndexStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API IndexStatistics()=default
IndexStatistics & WithTextDocumentStatistics(TextDocumentStatisticsT &&value)
const FaqStatistics & GetFaqStatistics() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFaqStatistics(FaqStatisticsT &&value)
AWS_KENDRA_API IndexStatistics(Aws::Utils::Json::JsonView jsonValue)
IndexStatistics & WithFaqStatistics(FaqStatisticsT &&value)
Aws::Utils::Json::JsonValue JsonValue