AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KnowledgeBaseAssociationConfigurationData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/TagFilter.h>
9#include <aws/qconnect/model/KnowledgeBaseSearchType.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 QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API KnowledgeBaseAssociationConfigurationData() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const TagFilter& GetContentTagFilter() const { return m_contentTagFilter; }
45 inline bool ContentTagFilterHasBeenSet() const { return m_contentTagFilterHasBeenSet; }
46 template<typename ContentTagFilterT = TagFilter>
47 void SetContentTagFilter(ContentTagFilterT&& value) { m_contentTagFilterHasBeenSet = true; m_contentTagFilter = std::forward<ContentTagFilterT>(value); }
48 template<typename ContentTagFilterT = TagFilter>
49 KnowledgeBaseAssociationConfigurationData& WithContentTagFilter(ContentTagFilterT&& value) { SetContentTagFilter(std::forward<ContentTagFilterT>(value)); return *this;}
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61
63
68 inline KnowledgeBaseSearchType GetOverrideKnowledgeBaseSearchType() const { return m_overrideKnowledgeBaseSearchType; }
69 inline bool OverrideKnowledgeBaseSearchTypeHasBeenSet() const { return m_overrideKnowledgeBaseSearchTypeHasBeenSet; }
70 inline void SetOverrideKnowledgeBaseSearchType(KnowledgeBaseSearchType value) { m_overrideKnowledgeBaseSearchTypeHasBeenSet = true; m_overrideKnowledgeBaseSearchType = value; }
73 private:
74
75 TagFilter m_contentTagFilter;
76 bool m_contentTagFilterHasBeenSet = false;
77
78 int m_maxResults{0};
79 bool m_maxResultsHasBeenSet = false;
80
81 KnowledgeBaseSearchType m_overrideKnowledgeBaseSearchType{KnowledgeBaseSearchType::NOT_SET};
82 bool m_overrideKnowledgeBaseSearchTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QConnect
87} // 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