AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
InlineDocumentEnrichmentConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DocumentAttributeCondition.h>
9#include <aws/qbusiness/model/DocumentAttributeTarget.h>
10#include <aws/qbusiness/model/DocumentContentOperator.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
37 public:
38 AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration() = default;
41 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
45 inline const DocumentAttributeCondition& GetCondition() const { return m_condition; }
46 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
47 template <typename ConditionT = DocumentAttributeCondition>
48 void SetCondition(ConditionT&& value) {
49 m_conditionHasBeenSet = true;
50 m_condition = std::forward<ConditionT>(value);
51 }
52 template <typename ConditionT = DocumentAttributeCondition>
54 SetCondition(std::forward<ConditionT>(value));
55 return *this;
56 }
58
60
61 inline const DocumentAttributeTarget& GetTarget() const { return m_target; }
62 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
63 template <typename TargetT = DocumentAttributeTarget>
64 void SetTarget(TargetT&& value) {
65 m_targetHasBeenSet = true;
66 m_target = std::forward<TargetT>(value);
67 }
68 template <typename TargetT = DocumentAttributeTarget>
70 SetTarget(std::forward<TargetT>(value));
71 return *this;
72 }
74
76
80 inline DocumentContentOperator GetDocumentContentOperator() const { return m_documentContentOperator; }
81 inline bool DocumentContentOperatorHasBeenSet() const { return m_documentContentOperatorHasBeenSet; }
83 m_documentContentOperatorHasBeenSet = true;
84 m_documentContentOperator = value;
85 }
88 return *this;
89 }
91 private:
93
95
97 bool m_conditionHasBeenSet = false;
98 bool m_targetHasBeenSet = false;
99 bool m_documentContentOperatorHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace QBusiness
104} // namespace Aws
InlineDocumentEnrichmentConfiguration & WithDocumentContentOperator(DocumentContentOperator value)
AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
InlineDocumentEnrichmentConfiguration & WithTarget(TargetT &&value)
InlineDocumentEnrichmentConfiguration & WithCondition(ConditionT &&value)
AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue