AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
BucketCriteriaAdditionalProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
31 public:
32 AWS_MACIE2_API BucketCriteriaAdditionalProperties() = default;
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<Aws::String>& GetEq() const { return m_eq; }
43 inline bool EqHasBeenSet() const { return m_eqHasBeenSet; }
44 template <typename EqT = Aws::Vector<Aws::String>>
45 void SetEq(EqT&& value) {
46 m_eqHasBeenSet = true;
47 m_eq = std::forward<EqT>(value);
48 }
49 template <typename EqT = Aws::Vector<Aws::String>>
51 SetEq(std::forward<EqT>(value));
52 return *this;
53 }
54 template <typename EqT = Aws::String>
56 m_eqHasBeenSet = true;
57 m_eq.emplace_back(std::forward<EqT>(value));
58 return *this;
59 }
61
63
66 inline long long GetGt() const { return m_gt; }
67 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
68 inline void SetGt(long long value) {
69 m_gtHasBeenSet = true;
70 m_gt = value;
71 }
72 inline BucketCriteriaAdditionalProperties& WithGt(long long value) {
73 SetGt(value);
74 return *this;
75 }
77
79
83 inline long long GetGte() const { return m_gte; }
84 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
85 inline void SetGte(long long value) {
86 m_gteHasBeenSet = true;
87 m_gte = value;
88 }
90 SetGte(value);
91 return *this;
92 }
94
96
99 inline long long GetLt() const { return m_lt; }
100 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
101 inline void SetLt(long long value) {
102 m_ltHasBeenSet = true;
103 m_lt = value;
104 }
106 SetLt(value);
107 return *this;
108 }
110
112
115 inline long long GetLte() const { return m_lte; }
116 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
117 inline void SetLte(long long value) {
118 m_lteHasBeenSet = true;
119 m_lte = value;
120 }
122 SetLte(value);
123 return *this;
124 }
126
128
133 inline const Aws::Vector<Aws::String>& GetNeq() const { return m_neq; }
134 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
135 template <typename NeqT = Aws::Vector<Aws::String>>
136 void SetNeq(NeqT&& value) {
137 m_neqHasBeenSet = true;
138 m_neq = std::forward<NeqT>(value);
139 }
140 template <typename NeqT = Aws::Vector<Aws::String>>
142 SetNeq(std::forward<NeqT>(value));
143 return *this;
144 }
145 template <typename NeqT = Aws::String>
147 m_neqHasBeenSet = true;
148 m_neq.emplace_back(std::forward<NeqT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetPrefix() const { return m_prefix; }
158 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
159 template <typename PrefixT = Aws::String>
160 void SetPrefix(PrefixT&& value) {
161 m_prefixHasBeenSet = true;
162 m_prefix = std::forward<PrefixT>(value);
163 }
164 template <typename PrefixT = Aws::String>
166 SetPrefix(std::forward<PrefixT>(value));
167 return *this;
168 }
170 private:
172
173 long long m_gt{0};
174
175 long long m_gte{0};
176
177 long long m_lt{0};
178
179 long long m_lte{0};
180
182
183 Aws::String m_prefix;
184 bool m_eqHasBeenSet = false;
185 bool m_gtHasBeenSet = false;
186 bool m_gteHasBeenSet = false;
187 bool m_ltHasBeenSet = false;
188 bool m_lteHasBeenSet = false;
189 bool m_neqHasBeenSet = false;
190 bool m_prefixHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace Macie2
195} // namespace Aws
AWS_MACIE2_API BucketCriteriaAdditionalProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API BucketCriteriaAdditionalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketCriteriaAdditionalProperties & WithPrefix(PrefixT &&value)
BucketCriteriaAdditionalProperties & WithGt(long long value)
BucketCriteriaAdditionalProperties & AddNeq(NeqT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketCriteriaAdditionalProperties & WithLte(long long value)
BucketCriteriaAdditionalProperties & WithNeq(NeqT &&value)
BucketCriteriaAdditionalProperties & WithLt(long long value)
BucketCriteriaAdditionalProperties & WithGte(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue