AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Conditions.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/Range.h>
9#include <aws/customer-profiles/model/Threshold.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 CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API Conditions();
37 AWS_CUSTOMERPROFILES_API Conditions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Conditions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Range& GetRange() const{ return m_range; }
47 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
48 inline void SetRange(const Range& value) { m_rangeHasBeenSet = true; m_range = value; }
49 inline void SetRange(Range&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
50 inline Conditions& WithRange(const Range& value) { SetRange(value); return *this;}
51 inline Conditions& WithRange(Range&& value) { SetRange(std::move(value)); return *this;}
53
55
58 inline int GetObjectCount() const{ return m_objectCount; }
59 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
60 inline void SetObjectCount(int value) { m_objectCountHasBeenSet = true; m_objectCount = value; }
61 inline Conditions& WithObjectCount(int value) { SetObjectCount(value); return *this;}
63
65
68 inline const Threshold& GetThreshold() const{ return m_threshold; }
69 inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
70 inline void SetThreshold(const Threshold& value) { m_thresholdHasBeenSet = true; m_threshold = value; }
71 inline void SetThreshold(Threshold&& value) { m_thresholdHasBeenSet = true; m_threshold = std::move(value); }
72 inline Conditions& WithThreshold(const Threshold& value) { SetThreshold(value); return *this;}
73 inline Conditions& WithThreshold(Threshold&& value) { SetThreshold(std::move(value)); return *this;}
75 private:
76
77 Range m_range;
78 bool m_rangeHasBeenSet = false;
79
80 int m_objectCount;
81 bool m_objectCountHasBeenSet = false;
82
83 Threshold m_threshold;
84 bool m_thresholdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CustomerProfiles
89} // namespace Aws
AWS_CUSTOMERPROFILES_API Conditions(Aws::Utils::Json::JsonView jsonValue)
Conditions & WithRange(Range &&value)
Definition Conditions.h:51
Conditions & WithThreshold(Threshold &&value)
Definition Conditions.h:73
AWS_CUSTOMERPROFILES_API Conditions()
void SetThreshold(Threshold &&value)
Definition Conditions.h:71
Conditions & WithRange(const Range &value)
Definition Conditions.h:50
Conditions & WithThreshold(const Threshold &value)
Definition Conditions.h:72
const Threshold & GetThreshold() const
Definition Conditions.h:68
Conditions & WithObjectCount(int value)
Definition Conditions.h:61
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreshold(const Threshold &value)
Definition Conditions.h:70
AWS_CUSTOMERPROFILES_API Conditions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRange(const Range &value)
Definition Conditions.h:48
Aws::Utils::Json::JsonValue JsonValue