AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
IndexStatistics.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/TextDocumentStatistics.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
29 public:
30 AWS_QBUSINESS_API IndexStatistics() = default;
33 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const TextDocumentStatistics& GetTextDocumentStatistics() const { return m_textDocumentStatistics; }
40 inline bool TextDocumentStatisticsHasBeenSet() const { return m_textDocumentStatisticsHasBeenSet; }
41 template <typename TextDocumentStatisticsT = TextDocumentStatistics>
43 m_textDocumentStatisticsHasBeenSet = true;
44 m_textDocumentStatistics = std::forward<TextDocumentStatisticsT>(value);
45 }
46 template <typename TextDocumentStatisticsT = TextDocumentStatistics>
48 SetTextDocumentStatistics(std::forward<TextDocumentStatisticsT>(value));
49 return *this;
50 }
52 private:
53 TextDocumentStatistics m_textDocumentStatistics;
54 bool m_textDocumentStatisticsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace QBusiness
59} // namespace Aws
AWS_QBUSINESS_API IndexStatistics()=default
AWS_QBUSINESS_API IndexStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
IndexStatistics & WithTextDocumentStatistics(TextDocumentStatisticsT &&value)
void SetTextDocumentStatistics(TextDocumentStatisticsT &&value)
AWS_QBUSINESS_API IndexStatistics(Aws::Utils::Json::JsonView jsonValue)
const TextDocumentStatistics & GetTextDocumentStatistics() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue