AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
41 {
42 public:
46 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
51 inline const DocumentAttributeCondition& GetCondition() const{ return m_condition; }
52 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
53 inline void SetCondition(const DocumentAttributeCondition& value) { m_conditionHasBeenSet = true; m_condition = value; }
54 inline void SetCondition(DocumentAttributeCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
58
60
61 inline const DocumentAttributeTarget& GetTarget() const{ return m_target; }
62 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
63 inline void SetTarget(const DocumentAttributeTarget& value) { m_targetHasBeenSet = true; m_target = value; }
64 inline void SetTarget(DocumentAttributeTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
66 inline InlineDocumentEnrichmentConfiguration& WithTarget(DocumentAttributeTarget&& value) { SetTarget(std::move(value)); return *this;}
68
70
74 inline const DocumentContentOperator& GetDocumentContentOperator() const{ return m_documentContentOperator; }
75 inline bool DocumentContentOperatorHasBeenSet() const { return m_documentContentOperatorHasBeenSet; }
76 inline void SetDocumentContentOperator(const DocumentContentOperator& value) { m_documentContentOperatorHasBeenSet = true; m_documentContentOperator = value; }
77 inline void SetDocumentContentOperator(DocumentContentOperator&& value) { m_documentContentOperatorHasBeenSet = true; m_documentContentOperator = std::move(value); }
81 private:
82
84 bool m_conditionHasBeenSet = false;
85
87 bool m_targetHasBeenSet = false;
88
89 DocumentContentOperator m_documentContentOperator;
90 bool m_documentContentOperatorHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QBusiness
95} // namespace Aws
AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
InlineDocumentEnrichmentConfiguration & WithDocumentContentOperator(const DocumentContentOperator &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
InlineDocumentEnrichmentConfiguration & WithTarget(DocumentAttributeTarget &&value)
InlineDocumentEnrichmentConfiguration & WithDocumentContentOperator(DocumentContentOperator &&value)
InlineDocumentEnrichmentConfiguration & WithTarget(const DocumentAttributeTarget &value)
InlineDocumentEnrichmentConfiguration & WithCondition(DocumentAttributeCondition &&value)
AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InlineDocumentEnrichmentConfiguration & WithCondition(const DocumentAttributeCondition &value)
Aws::Utils::Json::JsonValue JsonValue