AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SalesforceChatterFeedConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/model/DataSourceToIndexFieldMapping.h>
11#include <aws/kendra/model/SalesforceChatterFeedIncludeFilterType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace kendra
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_KENDRA_API SalesforceChatterFeedConfiguration() = default;
42 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetDocumentDataFieldName() const { return m_documentDataFieldName; }
51 inline bool DocumentDataFieldNameHasBeenSet() const { return m_documentDataFieldNameHasBeenSet; }
52 template<typename DocumentDataFieldNameT = Aws::String>
53 void SetDocumentDataFieldName(DocumentDataFieldNameT&& value) { m_documentDataFieldNameHasBeenSet = true; m_documentDataFieldName = std::forward<DocumentDataFieldNameT>(value); }
54 template<typename DocumentDataFieldNameT = Aws::String>
55 SalesforceChatterFeedConfiguration& WithDocumentDataFieldName(DocumentDataFieldNameT&& value) { SetDocumentDataFieldName(std::forward<DocumentDataFieldNameT>(value)); return *this;}
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) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value); }
67 template<typename DocumentTitleFieldNameT = Aws::String>
68 SalesforceChatterFeedConfiguration& WithDocumentTitleFieldName(DocumentTitleFieldNameT&& value) { SetDocumentTitleFieldName(std::forward<DocumentTitleFieldNameT>(value)); return *this;}
70
72
76 inline const Aws::Vector<DataSourceToIndexFieldMapping>& GetFieldMappings() const { return m_fieldMappings; }
77 inline bool FieldMappingsHasBeenSet() const { return m_fieldMappingsHasBeenSet; }
78 template<typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
79 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
80 template<typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
81 SalesforceChatterFeedConfiguration& WithFieldMappings(FieldMappingsT&& value) { SetFieldMappings(std::forward<FieldMappingsT>(value)); return *this;}
82 template<typename FieldMappingsT = DataSourceToIndexFieldMapping>
83 SalesforceChatterFeedConfiguration& AddFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value)); return *this; }
85
87
93 inline const Aws::Vector<SalesforceChatterFeedIncludeFilterType>& GetIncludeFilterTypes() const { return m_includeFilterTypes; }
94 inline bool IncludeFilterTypesHasBeenSet() const { return m_includeFilterTypesHasBeenSet; }
95 template<typename IncludeFilterTypesT = Aws::Vector<SalesforceChatterFeedIncludeFilterType>>
96 void SetIncludeFilterTypes(IncludeFilterTypesT&& value) { m_includeFilterTypesHasBeenSet = true; m_includeFilterTypes = std::forward<IncludeFilterTypesT>(value); }
97 template<typename IncludeFilterTypesT = Aws::Vector<SalesforceChatterFeedIncludeFilterType>>
98 SalesforceChatterFeedConfiguration& WithIncludeFilterTypes(IncludeFilterTypesT&& value) { SetIncludeFilterTypes(std::forward<IncludeFilterTypesT>(value)); return *this;}
99 inline SalesforceChatterFeedConfiguration& AddIncludeFilterTypes(SalesforceChatterFeedIncludeFilterType value) { m_includeFilterTypesHasBeenSet = true; m_includeFilterTypes.push_back(value); return *this; }
101 private:
102
103 Aws::String m_documentDataFieldName;
104 bool m_documentDataFieldNameHasBeenSet = false;
105
106 Aws::String m_documentTitleFieldName;
107 bool m_documentTitleFieldNameHasBeenSet = false;
108
110 bool m_fieldMappingsHasBeenSet = false;
111
113 bool m_includeFilterTypesHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace kendra
118} // 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