AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BucketCriteriaAdditionalProperties.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
35 {
36 public:
37 AWS_MACIE2_API BucketCriteriaAdditionalProperties() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetEq() const { return m_eq; }
49 inline bool EqHasBeenSet() const { return m_eqHasBeenSet; }
50 template<typename EqT = Aws::Vector<Aws::String>>
51 void SetEq(EqT&& value) { m_eqHasBeenSet = true; m_eq = std::forward<EqT>(value); }
52 template<typename EqT = Aws::Vector<Aws::String>>
53 BucketCriteriaAdditionalProperties& WithEq(EqT&& value) { SetEq(std::forward<EqT>(value)); return *this;}
54 template<typename EqT = Aws::String>
55 BucketCriteriaAdditionalProperties& AddEq(EqT&& value) { m_eqHasBeenSet = true; m_eq.emplace_back(std::forward<EqT>(value)); return *this; }
57
59
62 inline long long GetGt() const { return m_gt; }
63 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
64 inline void SetGt(long long value) { m_gtHasBeenSet = true; m_gt = value; }
65 inline BucketCriteriaAdditionalProperties& WithGt(long long value) { SetGt(value); return *this;}
67
69
73 inline long long GetGte() const { return m_gte; }
74 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
75 inline void SetGte(long long value) { m_gteHasBeenSet = true; m_gte = value; }
76 inline BucketCriteriaAdditionalProperties& WithGte(long long value) { SetGte(value); return *this;}
78
80
83 inline long long GetLt() const { return m_lt; }
84 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
85 inline void SetLt(long long value) { m_ltHasBeenSet = true; m_lt = value; }
86 inline BucketCriteriaAdditionalProperties& WithLt(long long value) { SetLt(value); return *this;}
88
90
93 inline long long GetLte() const { return m_lte; }
94 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
95 inline void SetLte(long long value) { m_lteHasBeenSet = true; m_lte = value; }
96 inline BucketCriteriaAdditionalProperties& WithLte(long long value) { SetLte(value); return *this;}
98
100
105 inline const Aws::Vector<Aws::String>& GetNeq() const { return m_neq; }
106 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
107 template<typename NeqT = Aws::Vector<Aws::String>>
108 void SetNeq(NeqT&& value) { m_neqHasBeenSet = true; m_neq = std::forward<NeqT>(value); }
109 template<typename NeqT = Aws::Vector<Aws::String>>
110 BucketCriteriaAdditionalProperties& WithNeq(NeqT&& value) { SetNeq(std::forward<NeqT>(value)); return *this;}
111 template<typename NeqT = Aws::String>
112 BucketCriteriaAdditionalProperties& AddNeq(NeqT&& value) { m_neqHasBeenSet = true; m_neq.emplace_back(std::forward<NeqT>(value)); return *this; }
114
116
119 inline const Aws::String& GetPrefix() const { return m_prefix; }
120 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
121 template<typename PrefixT = Aws::String>
122 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
123 template<typename PrefixT = Aws::String>
124 BucketCriteriaAdditionalProperties& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
126 private:
127
129 bool m_eqHasBeenSet = false;
130
131 long long m_gt{0};
132 bool m_gtHasBeenSet = false;
133
134 long long m_gte{0};
135 bool m_gteHasBeenSet = false;
136
137 long long m_lt{0};
138 bool m_ltHasBeenSet = false;
139
140 long long m_lte{0};
141 bool m_lteHasBeenSet = false;
142
144 bool m_neqHasBeenSet = false;
145
146 Aws::String m_prefix;
147 bool m_prefixHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Macie2
152} // 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