AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
SalesforceChatterFeedConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
11#include <aws/kendra/model/SalesforceChatterFeedIncludeFilterType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra {
23namespace Model {
24
33 public:
34 AWS_KENDRA_API SalesforceChatterFeedConfiguration() = default;
37 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetDocumentDataFieldName() const { return m_documentDataFieldName; }
45 inline bool DocumentDataFieldNameHasBeenSet() const { return m_documentDataFieldNameHasBeenSet; }
46 template <typename DocumentDataFieldNameT = Aws::String>
47 void SetDocumentDataFieldName(DocumentDataFieldNameT&& value) {
48 m_documentDataFieldNameHasBeenSet = true;
49 m_documentDataFieldName = std::forward<DocumentDataFieldNameT>(value);
50 }
51 template <typename DocumentDataFieldNameT = Aws::String>
53 SetDocumentDataFieldName(std::forward<DocumentDataFieldNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDocumentTitleFieldName() const { return m_documentTitleFieldName; }
64 inline bool DocumentTitleFieldNameHasBeenSet() const { return m_documentTitleFieldNameHasBeenSet; }
65 template <typename DocumentTitleFieldNameT = Aws::String>
66 void SetDocumentTitleFieldName(DocumentTitleFieldNameT&& value) {
67 m_documentTitleFieldNameHasBeenSet = true;
68 m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value);
69 }
70 template <typename DocumentTitleFieldNameT = Aws::String>
72 SetDocumentTitleFieldName(std::forward<DocumentTitleFieldNameT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::Vector<DataSourceToIndexFieldMapping>& GetFieldMappings() const { return m_fieldMappings; }
83 inline bool FieldMappingsHasBeenSet() const { return m_fieldMappingsHasBeenSet; }
84 template <typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
85 void SetFieldMappings(FieldMappingsT&& value) {
86 m_fieldMappingsHasBeenSet = true;
87 m_fieldMappings = std::forward<FieldMappingsT>(value);
88 }
89 template <typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
91 SetFieldMappings(std::forward<FieldMappingsT>(value));
92 return *this;
93 }
94 template <typename FieldMappingsT = DataSourceToIndexFieldMapping>
96 m_fieldMappingsHasBeenSet = true;
97 m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value));
98 return *this;
99 }
101
103
109 inline const Aws::Vector<SalesforceChatterFeedIncludeFilterType>& GetIncludeFilterTypes() const { return m_includeFilterTypes; }
110 inline bool IncludeFilterTypesHasBeenSet() const { return m_includeFilterTypesHasBeenSet; }
111 template <typename IncludeFilterTypesT = Aws::Vector<SalesforceChatterFeedIncludeFilterType>>
112 void SetIncludeFilterTypes(IncludeFilterTypesT&& value) {
113 m_includeFilterTypesHasBeenSet = true;
114 m_includeFilterTypes = std::forward<IncludeFilterTypesT>(value);
115 }
116 template <typename IncludeFilterTypesT = Aws::Vector<SalesforceChatterFeedIncludeFilterType>>
118 SetIncludeFilterTypes(std::forward<IncludeFilterTypesT>(value));
119 return *this;
120 }
122 m_includeFilterTypesHasBeenSet = true;
123 m_includeFilterTypes.push_back(value);
124 return *this;
125 }
127 private:
128 Aws::String m_documentDataFieldName;
129
130 Aws::String m_documentTitleFieldName;
131
133
135 bool m_documentDataFieldNameHasBeenSet = false;
136 bool m_documentTitleFieldNameHasBeenSet = false;
137 bool m_fieldMappingsHasBeenSet = false;
138 bool m_includeFilterTypesHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace kendra
143} // namespace Aws
const Aws::Vector< SalesforceChatterFeedIncludeFilterType > & GetIncludeFilterTypes() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
SalesforceChatterFeedConfiguration & WithDocumentDataFieldName(DocumentDataFieldNameT &&value)
SalesforceChatterFeedConfiguration & AddFieldMappings(FieldMappingsT &&value)
SalesforceChatterFeedConfiguration & WithDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
SalesforceChatterFeedConfiguration & WithIncludeFilterTypes(IncludeFilterTypesT &&value)
SalesforceChatterFeedConfiguration & AddIncludeFilterTypes(SalesforceChatterFeedIncludeFilterType value)
SalesforceChatterFeedConfiguration & WithFieldMappings(FieldMappingsT &&value)
AWS_KENDRA_API SalesforceChatterFeedConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataSourceToIndexFieldMapping > & GetFieldMappings() const
AWS_KENDRA_API SalesforceChatterFeedConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue