AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectAttributeRange.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKey.h>
9#include <aws/clouddirectory/model/TypedAttributeValueRange.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudDirectory
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDDIRECTORY_API ObjectAttributeRange();
36 AWS_CLOUDDIRECTORY_API ObjectAttributeRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDDIRECTORY_API ObjectAttributeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AttributeKey& GetAttributeKey() const{ return m_attributeKey; }
46 inline bool AttributeKeyHasBeenSet() const { return m_attributeKeyHasBeenSet; }
47 inline void SetAttributeKey(const AttributeKey& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = value; }
48 inline void SetAttributeKey(AttributeKey&& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = std::move(value); }
49 inline ObjectAttributeRange& WithAttributeKey(const AttributeKey& value) { SetAttributeKey(value); return *this;}
50 inline ObjectAttributeRange& WithAttributeKey(AttributeKey&& value) { SetAttributeKey(std::move(value)); return *this;}
52
54
57 inline const TypedAttributeValueRange& GetRange() const{ return m_range; }
58 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
59 inline void SetRange(const TypedAttributeValueRange& value) { m_rangeHasBeenSet = true; m_range = value; }
60 inline void SetRange(TypedAttributeValueRange&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
61 inline ObjectAttributeRange& WithRange(const TypedAttributeValueRange& value) { SetRange(value); return *this;}
62 inline ObjectAttributeRange& WithRange(TypedAttributeValueRange&& value) { SetRange(std::move(value)); return *this;}
64 private:
65
66 AttributeKey m_attributeKey;
67 bool m_attributeKeyHasBeenSet = false;
68
70 bool m_rangeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudDirectory
75} // namespace Aws
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API ObjectAttributeRange(Aws::Utils::Json::JsonView jsonValue)
void SetRange(TypedAttributeValueRange &&value)
void SetRange(const TypedAttributeValueRange &value)
AWS_CLOUDDIRECTORY_API ObjectAttributeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const TypedAttributeValueRange & GetRange() const
ObjectAttributeRange & WithAttributeKey(AttributeKey &&value)
ObjectAttributeRange & WithRange(const TypedAttributeValueRange &value)
ObjectAttributeRange & WithRange(TypedAttributeValueRange &&value)
ObjectAttributeRange & WithAttributeKey(const AttributeKey &value)
Aws::Utils::Json::JsonValue JsonValue