AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InlineCustomDocumentEnrichmentConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/DocumentAttributeCondition.h>
9#include <aws/kendra/model/DocumentAttributeTarget.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
40 {
41 public:
45 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const DocumentAttributeCondition& GetCondition() const { return m_condition; }
54 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
55 template<typename ConditionT = DocumentAttributeCondition>
56 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
57 template<typename ConditionT = DocumentAttributeCondition>
58 InlineCustomDocumentEnrichmentConfiguration& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
60
62
66 inline const DocumentAttributeTarget& GetTarget() const { return m_target; }
67 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
68 template<typename TargetT = DocumentAttributeTarget>
69 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
70 template<typename TargetT = DocumentAttributeTarget>
71 InlineCustomDocumentEnrichmentConfiguration& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
73
75
79 inline bool GetDocumentContentDeletion() const { return m_documentContentDeletion; }
80 inline bool DocumentContentDeletionHasBeenSet() const { return m_documentContentDeletionHasBeenSet; }
81 inline void SetDocumentContentDeletion(bool value) { m_documentContentDeletionHasBeenSet = true; m_documentContentDeletion = value; }
84 private:
85
87 bool m_conditionHasBeenSet = false;
88
90 bool m_targetHasBeenSet = false;
91
92 bool m_documentContentDeletion{false};
93 bool m_documentContentDeletionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace kendra
98} // namespace Aws
InlineCustomDocumentEnrichmentConfiguration & WithCondition(ConditionT &&value)
InlineCustomDocumentEnrichmentConfiguration & WithTarget(TargetT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API InlineCustomDocumentEnrichmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
InlineCustomDocumentEnrichmentConfiguration & WithDocumentContentDeletion(bool value)
AWS_KENDRA_API InlineCustomDocumentEnrichmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue