AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfluencePageToIndexFieldMapping.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/ConfluencePageFieldName.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 ConfluencePageToIndexFieldMapping() = default;
43 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline ConfluencePageFieldName GetDataSourceFieldName() const { return m_dataSourceFieldName; }
51 inline bool DataSourceFieldNameHasBeenSet() const { return m_dataSourceFieldNameHasBeenSet; }
52 inline void SetDataSourceFieldName(ConfluencePageFieldName value) { m_dataSourceFieldNameHasBeenSet = true; m_dataSourceFieldName = value; }
55
57
62 inline const Aws::String& GetDateFieldFormat() const { return m_dateFieldFormat; }
63 inline bool DateFieldFormatHasBeenSet() const { return m_dateFieldFormatHasBeenSet; }
64 template<typename DateFieldFormatT = Aws::String>
65 void SetDateFieldFormat(DateFieldFormatT&& value) { m_dateFieldFormatHasBeenSet = true; m_dateFieldFormat = std::forward<DateFieldFormatT>(value); }
66 template<typename DateFieldFormatT = Aws::String>
67 ConfluencePageToIndexFieldMapping& WithDateFieldFormat(DateFieldFormatT&& value) { SetDateFieldFormat(std::forward<DateFieldFormatT>(value)); return *this;}
69
71
75 inline const Aws::String& GetIndexFieldName() const { return m_indexFieldName; }
76 inline bool IndexFieldNameHasBeenSet() const { return m_indexFieldNameHasBeenSet; }
77 template<typename IndexFieldNameT = Aws::String>
78 void SetIndexFieldName(IndexFieldNameT&& value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName = std::forward<IndexFieldNameT>(value); }
79 template<typename IndexFieldNameT = Aws::String>
80 ConfluencePageToIndexFieldMapping& WithIndexFieldName(IndexFieldNameT&& value) { SetIndexFieldName(std::forward<IndexFieldNameT>(value)); return *this;}
82 private:
83
85 bool m_dataSourceFieldNameHasBeenSet = false;
86
87 Aws::String m_dateFieldFormat;
88 bool m_dateFieldFormatHasBeenSet = false;
89
90 Aws::String m_indexFieldName;
91 bool m_indexFieldNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace kendra
96} // namespace Aws
ConfluencePageToIndexFieldMapping & WithDateFieldFormat(DateFieldFormatT &&value)
AWS_KENDRA_API ConfluencePageToIndexFieldMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API ConfluencePageToIndexFieldMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfluencePageToIndexFieldMapping & WithDataSourceFieldName(ConfluencePageFieldName value)
ConfluencePageToIndexFieldMapping & WithIndexFieldName(IndexFieldNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue