AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
43 AWS_QBUSINESS_API InlineDocumentEnrichmentConfiguration() = default;
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 template<typename ConditionT = DocumentAttributeCondition>
54 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
55 template<typename ConditionT = DocumentAttributeCondition>
56 InlineDocumentEnrichmentConfiguration& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
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) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
65 template<typename TargetT = DocumentAttributeTarget>
66 InlineDocumentEnrichmentConfiguration& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
68
70
74 inline DocumentContentOperator GetDocumentContentOperator() const { return m_documentContentOperator; }
75 inline bool DocumentContentOperatorHasBeenSet() const { return m_documentContentOperatorHasBeenSet; }
76 inline void SetDocumentContentOperator(DocumentContentOperator value) { m_documentContentOperatorHasBeenSet = true; m_documentContentOperator = value; }
79 private:
80
82 bool m_conditionHasBeenSet = false;
83
85 bool m_targetHasBeenSet = false;
86
88 bool m_documentContentOperatorHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace QBusiness
93} // 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