AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentAttributeCondition.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/DocumentEnrichmentConditionOperator.h>
10#include <aws/qbusiness/model/DocumentAttributeValue.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
46 {
47 public:
48 AWS_QBUSINESS_API DocumentAttributeCondition();
51 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
62 inline const Aws::String& GetKey() const{ return m_key; }
63 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
64 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
65 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
66 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
67 inline DocumentAttributeCondition& WithKey(const Aws::String& value) { SetKey(value); return *this;}
68 inline DocumentAttributeCondition& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
69 inline DocumentAttributeCondition& WithKey(const char* value) { SetKey(value); return *this;}
71
73
80 inline const DocumentEnrichmentConditionOperator& GetOperator() const{ return m_operator; }
81 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
82 inline void SetOperator(const DocumentEnrichmentConditionOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
83 inline void SetOperator(DocumentEnrichmentConditionOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
87
89
90 inline const DocumentAttributeValue& GetValue() const{ return m_value; }
91 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
92 inline void SetValue(const DocumentAttributeValue& value) { m_valueHasBeenSet = true; m_value = value; }
93 inline void SetValue(DocumentAttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
94 inline DocumentAttributeCondition& WithValue(const DocumentAttributeValue& value) { SetValue(value); return *this;}
95 inline DocumentAttributeCondition& WithValue(DocumentAttributeValue&& value) { SetValue(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_key;
100 bool m_keyHasBeenSet = false;
101
103 bool m_operatorHasBeenSet = false;
104
106 bool m_valueHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QBusiness
111} // namespace Aws
void SetValue(const DocumentAttributeValue &value)
AWS_QBUSINESS_API DocumentAttributeCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API DocumentAttributeCondition(Aws::Utils::Json::JsonView jsonValue)
DocumentAttributeCondition & WithOperator(const DocumentEnrichmentConditionOperator &value)
DocumentAttributeCondition & WithValue(DocumentAttributeValue &&value)
const DocumentEnrichmentConditionOperator & GetOperator() const
DocumentAttributeCondition & WithValue(const DocumentAttributeValue &value)
DocumentAttributeCondition & WithOperator(DocumentEnrichmentConditionOperator &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperator(DocumentEnrichmentConditionOperator &&value)
DocumentAttributeCondition & WithKey(Aws::String &&value)
DocumentAttributeCondition & WithKey(const char *value)
DocumentAttributeCondition & WithKey(const Aws::String &value)
void SetOperator(const DocumentEnrichmentConditionOperator &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue