AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentAttributeTarget.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/DocumentAttributeValue.h>
10#include <aws/qbusiness/model/AttributeValueOperator.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
49 {
50 public:
51 AWS_QBUSINESS_API DocumentAttributeTarget();
54 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
64 inline const Aws::String& GetKey() const{ return m_key; }
65 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
66 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
67 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
68 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
69 inline DocumentAttributeTarget& WithKey(const Aws::String& value) { SetKey(value); return *this;}
70 inline DocumentAttributeTarget& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
71 inline DocumentAttributeTarget& WithKey(const char* value) { SetKey(value); return *this;}
73
75
76 inline const DocumentAttributeValue& GetValue() const{ return m_value; }
77 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 inline void SetValue(const DocumentAttributeValue& value) { m_valueHasBeenSet = true; m_value = value; }
79 inline void SetValue(DocumentAttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
80 inline DocumentAttributeTarget& WithValue(const DocumentAttributeValue& value) { SetValue(value); return *this;}
81 inline DocumentAttributeTarget& WithValue(DocumentAttributeValue&& value) { SetValue(std::move(value)); return *this;}
83
85
90 inline const AttributeValueOperator& GetAttributeValueOperator() const{ return m_attributeValueOperator; }
91 inline bool AttributeValueOperatorHasBeenSet() const { return m_attributeValueOperatorHasBeenSet; }
92 inline void SetAttributeValueOperator(const AttributeValueOperator& value) { m_attributeValueOperatorHasBeenSet = true; m_attributeValueOperator = value; }
93 inline void SetAttributeValueOperator(AttributeValueOperator&& value) { m_attributeValueOperatorHasBeenSet = true; m_attributeValueOperator = std::move(value); }
97 private:
98
99 Aws::String m_key;
100 bool m_keyHasBeenSet = false;
101
103 bool m_valueHasBeenSet = false;
104
105 AttributeValueOperator m_attributeValueOperator;
106 bool m_attributeValueOperatorHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QBusiness
111} // namespace Aws
void SetAttributeValueOperator(const AttributeValueOperator &value)
DocumentAttributeTarget & WithValue(DocumentAttributeValue &&value)
AWS_QBUSINESS_API DocumentAttributeTarget(Aws::Utils::Json::JsonView jsonValue)
DocumentAttributeTarget & WithKey(const Aws::String &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentAttributeTarget & WithAttributeValueOperator(AttributeValueOperator &&value)
void SetAttributeValueOperator(AttributeValueOperator &&value)
DocumentAttributeTarget & WithKey(const char *value)
AWS_QBUSINESS_API DocumentAttributeTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const DocumentAttributeValue & GetValue() const
void SetValue(DocumentAttributeValue &&value)
DocumentAttributeTarget & WithAttributeValueOperator(const AttributeValueOperator &value)
DocumentAttributeTarget & WithValue(const DocumentAttributeValue &value)
void SetValue(const DocumentAttributeValue &value)
DocumentAttributeTarget & WithKey(Aws::String &&value)
const AttributeValueOperator & GetAttributeValueOperator() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue