AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CriterionAdditionalProperties.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Macie2
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_MACIE2_API CriterionAdditionalProperties() = default;
43 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<Aws::String>& GetEq() const { return m_eq; }
52 inline bool EqHasBeenSet() const { return m_eqHasBeenSet; }
53 template<typename EqT = Aws::Vector<Aws::String>>
54 void SetEq(EqT&& value) { m_eqHasBeenSet = true; m_eq = std::forward<EqT>(value); }
55 template<typename EqT = Aws::Vector<Aws::String>>
56 CriterionAdditionalProperties& WithEq(EqT&& value) { SetEq(std::forward<EqT>(value)); return *this;}
57 template<typename EqT = Aws::String>
58 CriterionAdditionalProperties& AddEq(EqT&& value) { m_eqHasBeenSet = true; m_eq.emplace_back(std::forward<EqT>(value)); return *this; }
60
62
72 inline const Aws::Vector<Aws::String>& GetEqExactMatch() const { return m_eqExactMatch; }
73 inline bool EqExactMatchHasBeenSet() const { return m_eqExactMatchHasBeenSet; }
74 template<typename EqExactMatchT = Aws::Vector<Aws::String>>
75 void SetEqExactMatch(EqExactMatchT&& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch = std::forward<EqExactMatchT>(value); }
76 template<typename EqExactMatchT = Aws::Vector<Aws::String>>
77 CriterionAdditionalProperties& WithEqExactMatch(EqExactMatchT&& value) { SetEqExactMatch(std::forward<EqExactMatchT>(value)); return *this;}
78 template<typename EqExactMatchT = Aws::String>
79 CriterionAdditionalProperties& AddEqExactMatch(EqExactMatchT&& value) { m_eqExactMatchHasBeenSet = true; m_eqExactMatch.emplace_back(std::forward<EqExactMatchT>(value)); return *this; }
81
83
86 inline long long GetGt() const { return m_gt; }
87 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
88 inline void SetGt(long long value) { m_gtHasBeenSet = true; m_gt = value; }
89 inline CriterionAdditionalProperties& WithGt(long long value) { SetGt(value); return *this;}
91
93
97 inline long long GetGte() const { return m_gte; }
98 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
99 inline void SetGte(long long value) { m_gteHasBeenSet = true; m_gte = value; }
100 inline CriterionAdditionalProperties& WithGte(long long value) { SetGte(value); return *this;}
102
104
107 inline long long GetLt() const { return m_lt; }
108 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
109 inline void SetLt(long long value) { m_ltHasBeenSet = true; m_lt = value; }
110 inline CriterionAdditionalProperties& WithLt(long long value) { SetLt(value); return *this;}
112
114
117 inline long long GetLte() const { return m_lte; }
118 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
119 inline void SetLte(long long value) { m_lteHasBeenSet = true; m_lte = value; }
120 inline CriterionAdditionalProperties& WithLte(long long value) { SetLte(value); return *this;}
122
124
128 inline const Aws::Vector<Aws::String>& GetNeq() const { return m_neq; }
129 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
130 template<typename NeqT = Aws::Vector<Aws::String>>
131 void SetNeq(NeqT&& value) { m_neqHasBeenSet = true; m_neq = std::forward<NeqT>(value); }
132 template<typename NeqT = Aws::Vector<Aws::String>>
133 CriterionAdditionalProperties& WithNeq(NeqT&& value) { SetNeq(std::forward<NeqT>(value)); return *this;}
134 template<typename NeqT = Aws::String>
135 CriterionAdditionalProperties& AddNeq(NeqT&& value) { m_neqHasBeenSet = true; m_neq.emplace_back(std::forward<NeqT>(value)); return *this; }
137 private:
138
140 bool m_eqHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_eqExactMatch;
143 bool m_eqExactMatchHasBeenSet = false;
144
145 long long m_gt{0};
146 bool m_gtHasBeenSet = false;
147
148 long long m_gte{0};
149 bool m_gteHasBeenSet = false;
150
151 long long m_lt{0};
152 bool m_ltHasBeenSet = false;
153
154 long long m_lte{0};
155 bool m_lteHasBeenSet = false;
156
158 bool m_neqHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Macie2
163} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
CriterionAdditionalProperties & AddNeq(NeqT &&value)
const Aws::Vector< Aws::String > & GetEqExactMatch() const
CriterionAdditionalProperties & WithGt(long long value)
CriterionAdditionalProperties & WithGte(long long value)
CriterionAdditionalProperties & WithLt(long long value)
CriterionAdditionalProperties & AddEqExactMatch(EqExactMatchT &&value)
CriterionAdditionalProperties & WithEqExactMatch(EqExactMatchT &&value)
AWS_MACIE2_API CriterionAdditionalProperties()=default
AWS_MACIE2_API CriterionAdditionalProperties(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & WithNeq(NeqT &&value)
CriterionAdditionalProperties & AddEq(EqT &&value)
AWS_MACIE2_API CriterionAdditionalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CriterionAdditionalProperties & WithLte(long long value)
CriterionAdditionalProperties & WithEq(EqT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue