AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEq(const Aws::Vector<Aws::String>& value) { m_eqHasBeenSet = true; m_eq = value; }
51 inline void SetEq(Aws::Vector<Aws::String>&& value) { m_eqHasBeenSet = true; m_eq = std::move(value); }
52 inline BucketCriteriaAdditionalProperties& WithEq(const Aws::Vector<Aws::String>& value) { SetEq(value); return *this;}
53 inline BucketCriteriaAdditionalProperties& WithEq(Aws::Vector<Aws::String>&& value) { SetEq(std::move(value)); return *this;}
54 inline BucketCriteriaAdditionalProperties& AddEq(const Aws::String& value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; }
55 inline BucketCriteriaAdditionalProperties& AddEq(Aws::String&& value) { m_eqHasBeenSet = true; m_eq.push_back(std::move(value)); return *this; }
56 inline BucketCriteriaAdditionalProperties& AddEq(const char* value) { m_eqHasBeenSet = true; m_eq.push_back(value); return *this; }
58
60
63 inline long long GetGt() const{ return m_gt; }
64 inline bool GtHasBeenSet() const { return m_gtHasBeenSet; }
65 inline void SetGt(long long value) { m_gtHasBeenSet = true; m_gt = value; }
66 inline BucketCriteriaAdditionalProperties& WithGt(long long value) { SetGt(value); return *this;}
68
70
74 inline long long GetGte() const{ return m_gte; }
75 inline bool GteHasBeenSet() const { return m_gteHasBeenSet; }
76 inline void SetGte(long long value) { m_gteHasBeenSet = true; m_gte = value; }
77 inline BucketCriteriaAdditionalProperties& WithGte(long long value) { SetGte(value); return *this;}
79
81
84 inline long long GetLt() const{ return m_lt; }
85 inline bool LtHasBeenSet() const { return m_ltHasBeenSet; }
86 inline void SetLt(long long value) { m_ltHasBeenSet = true; m_lt = value; }
87 inline BucketCriteriaAdditionalProperties& WithLt(long long value) { SetLt(value); return *this;}
89
91
94 inline long long GetLte() const{ return m_lte; }
95 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
96 inline void SetLte(long long value) { m_lteHasBeenSet = true; m_lte = value; }
97 inline BucketCriteriaAdditionalProperties& WithLte(long long value) { SetLte(value); return *this;}
99
101
106 inline const Aws::Vector<Aws::String>& GetNeq() const{ return m_neq; }
107 inline bool NeqHasBeenSet() const { return m_neqHasBeenSet; }
108 inline void SetNeq(const Aws::Vector<Aws::String>& value) { m_neqHasBeenSet = true; m_neq = value; }
109 inline void SetNeq(Aws::Vector<Aws::String>&& value) { m_neqHasBeenSet = true; m_neq = std::move(value); }
110 inline BucketCriteriaAdditionalProperties& WithNeq(const Aws::Vector<Aws::String>& value) { SetNeq(value); return *this;}
111 inline BucketCriteriaAdditionalProperties& WithNeq(Aws::Vector<Aws::String>&& value) { SetNeq(std::move(value)); return *this;}
112 inline BucketCriteriaAdditionalProperties& AddNeq(const Aws::String& value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; }
113 inline BucketCriteriaAdditionalProperties& AddNeq(Aws::String&& value) { m_neqHasBeenSet = true; m_neq.push_back(std::move(value)); return *this; }
114 inline BucketCriteriaAdditionalProperties& AddNeq(const char* value) { m_neqHasBeenSet = true; m_neq.push_back(value); return *this; }
116
118
121 inline const Aws::String& GetPrefix() const{ return m_prefix; }
122 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
123 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
124 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
125 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
126 inline BucketCriteriaAdditionalProperties& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
127 inline BucketCriteriaAdditionalProperties& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
128 inline BucketCriteriaAdditionalProperties& WithPrefix(const char* value) { SetPrefix(value); return *this;}
130 private:
131
133 bool m_eqHasBeenSet = false;
134
135 long long m_gt;
136 bool m_gtHasBeenSet = false;
137
138 long long m_gte;
139 bool m_gteHasBeenSet = false;
140
141 long long m_lt;
142 bool m_ltHasBeenSet = false;
143
144 long long m_lte;
145 bool m_lteHasBeenSet = false;
146
148 bool m_neqHasBeenSet = false;
149
150 Aws::String m_prefix;
151 bool m_prefixHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Macie2
156} // namespace Aws
AWS_MACIE2_API BucketCriteriaAdditionalProperties(Aws::Utils::Json::JsonView jsonValue)
BucketCriteriaAdditionalProperties & WithEq(const Aws::Vector< Aws::String > &value)
AWS_MACIE2_API BucketCriteriaAdditionalProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketCriteriaAdditionalProperties & WithGt(long long value)
BucketCriteriaAdditionalProperties & WithPrefix(Aws::String &&value)
BucketCriteriaAdditionalProperties & AddEq(const Aws::String &value)
BucketCriteriaAdditionalProperties & AddNeq(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketCriteriaAdditionalProperties & AddEq(Aws::String &&value)
BucketCriteriaAdditionalProperties & WithNeq(Aws::Vector< Aws::String > &&value)
BucketCriteriaAdditionalProperties & WithEq(Aws::Vector< Aws::String > &&value)
BucketCriteriaAdditionalProperties & AddNeq(const Aws::String &value)
BucketCriteriaAdditionalProperties & WithLte(long long value)
BucketCriteriaAdditionalProperties & AddEq(const char *value)
BucketCriteriaAdditionalProperties & WithPrefix(const Aws::String &value)
BucketCriteriaAdditionalProperties & WithPrefix(const char *value)
BucketCriteriaAdditionalProperties & WithLt(long long value)
BucketCriteriaAdditionalProperties & WithNeq(const Aws::Vector< Aws::String > &value)
BucketCriteriaAdditionalProperties & AddNeq(Aws::String &&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