AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SalesforceStandardObjectAttachmentConfiguration.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace kendra
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDocumentTitleFieldName() const { return m_documentTitleFieldName; }
48 inline bool DocumentTitleFieldNameHasBeenSet() const { return m_documentTitleFieldNameHasBeenSet; }
49 template<typename DocumentTitleFieldNameT = Aws::String>
50 void SetDocumentTitleFieldName(DocumentTitleFieldNameT&& value) { m_documentTitleFieldNameHasBeenSet = true; m_documentTitleFieldName = std::forward<DocumentTitleFieldNameT>(value); }
51 template<typename DocumentTitleFieldNameT = Aws::String>
52 SalesforceStandardObjectAttachmentConfiguration& WithDocumentTitleFieldName(DocumentTitleFieldNameT&& value) { SetDocumentTitleFieldName(std::forward<DocumentTitleFieldNameT>(value)); return *this;}
54
56
60 inline const Aws::Vector<DataSourceToIndexFieldMapping>& GetFieldMappings() const { return m_fieldMappings; }
61 inline bool FieldMappingsHasBeenSet() const { return m_fieldMappingsHasBeenSet; }
62 template<typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
63 void SetFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings = std::forward<FieldMappingsT>(value); }
64 template<typename FieldMappingsT = Aws::Vector<DataSourceToIndexFieldMapping>>
65 SalesforceStandardObjectAttachmentConfiguration& WithFieldMappings(FieldMappingsT&& value) { SetFieldMappings(std::forward<FieldMappingsT>(value)); return *this;}
66 template<typename FieldMappingsT = DataSourceToIndexFieldMapping>
67 SalesforceStandardObjectAttachmentConfiguration& AddFieldMappings(FieldMappingsT&& value) { m_fieldMappingsHasBeenSet = true; m_fieldMappings.emplace_back(std::forward<FieldMappingsT>(value)); return *this; }
69 private:
70
71 Aws::String m_documentTitleFieldName;
72 bool m_documentTitleFieldNameHasBeenSet = false;
73
75 bool m_fieldMappingsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace kendra
80} // namespace Aws
SalesforceStandardObjectAttachmentConfiguration & AddFieldMappings(FieldMappingsT &&value)
AWS_KENDRA_API SalesforceStandardObjectAttachmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceStandardObjectAttachmentConfiguration & WithDocumentTitleFieldName(DocumentTitleFieldNameT &&value)
AWS_KENDRA_API SalesforceStandardObjectAttachmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
SalesforceStandardObjectAttachmentConfiguration & WithFieldMappings(FieldMappingsT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue