AWS SDK for C++

AWS SDK for C++ Version 1.11.750

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
36 public:
40 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const DocumentAttributeCondition& GetCondition() const { return m_condition; }
48 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
49 template <typename ConditionT = DocumentAttributeCondition>
50 void SetCondition(ConditionT&& value) {
51 m_conditionHasBeenSet = true;
52 m_condition = std::forward<ConditionT>(value);
53 }
54 template <typename ConditionT = DocumentAttributeCondition>
56 SetCondition(std::forward<ConditionT>(value));
57 return *this;
58 }
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) {
70 m_targetHasBeenSet = true;
71 m_target = std::forward<TargetT>(value);
72 }
73 template <typename TargetT = DocumentAttributeTarget>
75 SetTarget(std::forward<TargetT>(value));
76 return *this;
77 }
79
81
85 inline bool GetDocumentContentDeletion() const { return m_documentContentDeletion; }
86 inline bool DocumentContentDeletionHasBeenSet() const { return m_documentContentDeletionHasBeenSet; }
87 inline void SetDocumentContentDeletion(bool value) {
88 m_documentContentDeletionHasBeenSet = true;
89 m_documentContentDeletion = value;
90 }
93 return *this;
94 }
96 private:
98
100
101 bool m_documentContentDeletion{false};
102 bool m_conditionHasBeenSet = false;
103 bool m_targetHasBeenSet = false;
104 bool m_documentContentDeletionHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace kendra
109} // 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