AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfluenceAttachmentToIndexFieldMapping.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/ConfluenceAttachmentFieldName.h>
9#include <aws/core/utils/memory/stl/AWSString.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 kendra
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_KENDRA_API ConfluenceAttachmentToIndexFieldMapping() = default;
43 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline ConfluenceAttachmentFieldName GetDataSourceFieldName() const { return m_dataSourceFieldName; }
52 inline bool DataSourceFieldNameHasBeenSet() const { return m_dataSourceFieldNameHasBeenSet; }
53 inline void SetDataSourceFieldName(ConfluenceAttachmentFieldName value) { m_dataSourceFieldNameHasBeenSet = true; m_dataSourceFieldName = value; }
56
58
63 inline const Aws::String& GetDateFieldFormat() const { return m_dateFieldFormat; }
64 inline bool DateFieldFormatHasBeenSet() const { return m_dateFieldFormatHasBeenSet; }
65 template<typename DateFieldFormatT = Aws::String>
66 void SetDateFieldFormat(DateFieldFormatT&& value) { m_dateFieldFormatHasBeenSet = true; m_dateFieldFormat = std::forward<DateFieldFormatT>(value); }
67 template<typename DateFieldFormatT = Aws::String>
68 ConfluenceAttachmentToIndexFieldMapping& WithDateFieldFormat(DateFieldFormatT&& value) { SetDateFieldFormat(std::forward<DateFieldFormatT>(value)); return *this;}
70
72
76 inline const Aws::String& GetIndexFieldName() const { return m_indexFieldName; }
77 inline bool IndexFieldNameHasBeenSet() const { return m_indexFieldNameHasBeenSet; }
78 template<typename IndexFieldNameT = Aws::String>
79 void SetIndexFieldName(IndexFieldNameT&& value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName = std::forward<IndexFieldNameT>(value); }
80 template<typename IndexFieldNameT = Aws::String>
81 ConfluenceAttachmentToIndexFieldMapping& WithIndexFieldName(IndexFieldNameT&& value) { SetIndexFieldName(std::forward<IndexFieldNameT>(value)); return *this;}
83 private:
84
86 bool m_dataSourceFieldNameHasBeenSet = false;
87
88 Aws::String m_dateFieldFormat;
89 bool m_dateFieldFormatHasBeenSet = false;
90
91 Aws::String m_indexFieldName;
92 bool m_indexFieldNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace kendra
97} // namespace Aws
AWS_KENDRA_API ConfluenceAttachmentToIndexFieldMapping(Aws::Utils::Json::JsonView jsonValue)
ConfluenceAttachmentToIndexFieldMapping & WithDataSourceFieldName(ConfluenceAttachmentFieldName value)
ConfluenceAttachmentToIndexFieldMapping & WithDateFieldFormat(DateFieldFormatT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API ConfluenceAttachmentToIndexFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfluenceAttachmentToIndexFieldMapping & WithIndexFieldName(IndexFieldNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue