AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
KnowledgeBaseAssociationConfigurationData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/KnowledgeBaseSearchType.h>
9#include <aws/qconnect/model/TagFilter.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API KnowledgeBaseAssociationConfigurationData() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const TagFilter& GetContentTagFilter() const { return m_contentTagFilter; }
39 inline bool ContentTagFilterHasBeenSet() const { return m_contentTagFilterHasBeenSet; }
40 template <typename ContentTagFilterT = TagFilter>
42 m_contentTagFilterHasBeenSet = true;
43 m_contentTagFilter = std::forward<ContentTagFilterT>(value);
44 }
45 template <typename ContentTagFilterT = TagFilter>
47 SetContentTagFilter(std::forward<ContentTagFilterT>(value));
48 return *this;
49 }
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) {
59 m_maxResultsHasBeenSet = true;
60 m_maxResults = value;
61 }
63 SetMaxResults(value);
64 return *this;
65 }
67
69
74 inline KnowledgeBaseSearchType GetOverrideKnowledgeBaseSearchType() const { return m_overrideKnowledgeBaseSearchType; }
75 inline bool OverrideKnowledgeBaseSearchTypeHasBeenSet() const { return m_overrideKnowledgeBaseSearchTypeHasBeenSet; }
77 m_overrideKnowledgeBaseSearchTypeHasBeenSet = true;
78 m_overrideKnowledgeBaseSearchType = value;
79 }
82 return *this;
83 }
85 private:
86 TagFilter m_contentTagFilter;
87
88 int m_maxResults{0};
89
90 KnowledgeBaseSearchType m_overrideKnowledgeBaseSearchType{KnowledgeBaseSearchType::NOT_SET};
91 bool m_contentTagFilterHasBeenSet = false;
92 bool m_maxResultsHasBeenSet = false;
93 bool m_overrideKnowledgeBaseSearchTypeHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QConnect
98} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API KnowledgeBaseAssociationConfigurationData(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API KnowledgeBaseAssociationConfigurationData & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseAssociationConfigurationData & WithOverrideKnowledgeBaseSearchType(KnowledgeBaseSearchType value)
KnowledgeBaseAssociationConfigurationData & WithContentTagFilter(ContentTagFilterT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue