AWS SDK for C++  1.9.175
AWS SDK for C++
Conditions.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Backup
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
47  inline const Aws::Vector<ConditionParameter>& GetStringEquals() const{ return m_stringEquals; }
48 
53  inline bool StringEqualsHasBeenSet() const { return m_stringEqualsHasBeenSet; }
54 
59  inline void SetStringEquals(const Aws::Vector<ConditionParameter>& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = value; }
60 
65  inline void SetStringEquals(Aws::Vector<ConditionParameter>&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = std::move(value); }
66 
71  inline Conditions& WithStringEquals(const Aws::Vector<ConditionParameter>& value) { SetStringEquals(value); return *this;}
72 
77  inline Conditions& WithStringEquals(Aws::Vector<ConditionParameter>&& value) { SetStringEquals(std::move(value)); return *this;}
78 
83  inline Conditions& AddStringEquals(const ConditionParameter& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(value); return *this; }
84 
89  inline Conditions& AddStringEquals(ConditionParameter&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(std::move(value)); return *this; }
90 
91 
96  inline const Aws::Vector<ConditionParameter>& GetStringNotEquals() const{ return m_stringNotEquals; }
97 
102  inline bool StringNotEqualsHasBeenSet() const { return m_stringNotEqualsHasBeenSet; }
103 
108  inline void SetStringNotEquals(const Aws::Vector<ConditionParameter>& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = value; }
109 
114  inline void SetStringNotEquals(Aws::Vector<ConditionParameter>&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = std::move(value); }
115 
120  inline Conditions& WithStringNotEquals(const Aws::Vector<ConditionParameter>& value) { SetStringNotEquals(value); return *this;}
121 
126  inline Conditions& WithStringNotEquals(Aws::Vector<ConditionParameter>&& value) { SetStringNotEquals(std::move(value)); return *this;}
127 
132  inline Conditions& AddStringNotEquals(const ConditionParameter& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(value); return *this; }
133 
138  inline Conditions& AddStringNotEquals(ConditionParameter&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(std::move(value)); return *this; }
139 
140 
146  inline const Aws::Vector<ConditionParameter>& GetStringLike() const{ return m_stringLike; }
147 
153  inline bool StringLikeHasBeenSet() const { return m_stringLikeHasBeenSet; }
154 
160  inline void SetStringLike(const Aws::Vector<ConditionParameter>& value) { m_stringLikeHasBeenSet = true; m_stringLike = value; }
161 
167  inline void SetStringLike(Aws::Vector<ConditionParameter>&& value) { m_stringLikeHasBeenSet = true; m_stringLike = std::move(value); }
168 
174  inline Conditions& WithStringLike(const Aws::Vector<ConditionParameter>& value) { SetStringLike(value); return *this;}
175 
181  inline Conditions& WithStringLike(Aws::Vector<ConditionParameter>&& value) { SetStringLike(std::move(value)); return *this;}
182 
188  inline Conditions& AddStringLike(const ConditionParameter& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(value); return *this; }
189 
195  inline Conditions& AddStringLike(ConditionParameter&& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(std::move(value)); return *this; }
196 
197 
202  inline const Aws::Vector<ConditionParameter>& GetStringNotLike() const{ return m_stringNotLike; }
203 
208  inline bool StringNotLikeHasBeenSet() const { return m_stringNotLikeHasBeenSet; }
209 
214  inline void SetStringNotLike(const Aws::Vector<ConditionParameter>& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike = value; }
215 
220  inline void SetStringNotLike(Aws::Vector<ConditionParameter>&& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike = std::move(value); }
221 
226  inline Conditions& WithStringNotLike(const Aws::Vector<ConditionParameter>& value) { SetStringNotLike(value); return *this;}
227 
232  inline Conditions& WithStringNotLike(Aws::Vector<ConditionParameter>&& value) { SetStringNotLike(std::move(value)); return *this;}
233 
238  inline Conditions& AddStringNotLike(const ConditionParameter& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(value); return *this; }
239 
244  inline Conditions& AddStringNotLike(ConditionParameter&& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(std::move(value)); return *this; }
245 
246  private:
247 
248  Aws::Vector<ConditionParameter> m_stringEquals;
249  bool m_stringEqualsHasBeenSet;
250 
251  Aws::Vector<ConditionParameter> m_stringNotEquals;
252  bool m_stringNotEqualsHasBeenSet;
253 
254  Aws::Vector<ConditionParameter> m_stringLike;
255  bool m_stringLikeHasBeenSet;
256 
257  Aws::Vector<ConditionParameter> m_stringNotLike;
258  bool m_stringNotLikeHasBeenSet;
259  };
260 
261 } // namespace Model
262 } // namespace Backup
263 } // namespace Aws
Aws::Backup::Model::Conditions::WithStringNotLike
Conditions & WithStringNotLike(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:226
Aws::Backup::Model::Conditions::AddStringNotEquals
Conditions & AddStringNotEquals(const ConditionParameter &value)
Definition: Conditions.h:132
Aws::Backup::Model::Conditions::WithStringEquals
Conditions & WithStringEquals(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:77
Aws::Backup::Model::Conditions::WithStringNotEquals
Conditions & WithStringNotEquals(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:126
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::Conditions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Backup::Model::Conditions::SetStringNotLike
void SetStringNotLike(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:220
Aws::Backup::Model::Conditions::SetStringNotEquals
void SetStringNotEquals(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Backup::Model::Conditions::AddStringNotEquals
Conditions & AddStringNotEquals(ConditionParameter &&value)
Definition: Conditions.h:138
Aws::Backup::Model::Conditions::AddStringLike
Conditions & AddStringLike(const ConditionParameter &value)
Definition: Conditions.h:188
Aws::Backup::Model::Conditions::AddStringNotLike
Conditions & AddStringNotLike(ConditionParameter &&value)
Definition: Conditions.h:244
Aws::Backup::Model::Conditions::GetStringNotEquals
const Aws::Vector< ConditionParameter > & GetStringNotEquals() const
Definition: Conditions.h:96
Aws::Backup::Model::Conditions::GetStringNotLike
const Aws::Vector< ConditionParameter > & GetStringNotLike() const
Definition: Conditions.h:202
Aws::Backup::Model::Conditions::StringEqualsHasBeenSet
bool StringEqualsHasBeenSet() const
Definition: Conditions.h:53
Aws::Backup::Model::Conditions::SetStringEquals
void SetStringEquals(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:65
Aws::Backup::Model::Conditions::StringNotLikeHasBeenSet
bool StringNotLikeHasBeenSet() const
Definition: Conditions.h:208
Aws::Backup::Model::Conditions::AddStringLike
Conditions & AddStringLike(ConditionParameter &&value)
Definition: Conditions.h:195
Aws::Backup::Model::Conditions::GetStringEquals
const Aws::Vector< ConditionParameter > & GetStringEquals() const
Definition: Conditions.h:47
Aws::Backup::Model::Conditions::operator=
Conditions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Backup::Model::ConditionParameter
Definition: ConditionParameter.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Backup::Model::Conditions::SetStringLike
void SetStringLike(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:167
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Backup::Model::Conditions::StringNotEqualsHasBeenSet
bool StringNotEqualsHasBeenSet() const
Definition: Conditions.h:102
Aws::Backup::Model::Conditions::GetStringLike
const Aws::Vector< ConditionParameter > & GetStringLike() const
Definition: Conditions.h:146
Aws::Backup::Model::Conditions::SetStringNotEquals
void SetStringNotEquals(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:108
Aws::Backup::Model::Conditions::AddStringEquals
Conditions & AddStringEquals(const ConditionParameter &value)
Definition: Conditions.h:83
Aws::Backup::Model::Conditions::SetStringLike
void SetStringLike(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:160
Aws::Backup::Model::Conditions::WithStringNotLike
Conditions & WithStringNotLike(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:232
Aws::Backup::Model::Conditions::WithStringLike
Conditions & WithStringLike(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:174
Aws::Backup::Model::Conditions::SetStringNotLike
void SetStringNotLike(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:214
Aws::Backup::Model::Conditions
Definition: Conditions.h:35
Aws::Backup::Model::Conditions::SetStringEquals
void SetStringEquals(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:59
Backup_EXPORTS.h
Aws::Backup::Model::Conditions::AddStringEquals
Conditions & AddStringEquals(ConditionParameter &&value)
Definition: Conditions.h:89
ConditionParameter.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::Conditions::Conditions
Conditions(Aws::Utils::Json::JsonView jsonValue)
Aws::Backup::Model::Conditions::AddStringNotLike
Conditions & AddStringNotLike(const ConditionParameter &value)
Definition: Conditions.h:238
Aws::Backup::Model::Conditions::WithStringLike
Conditions & WithStringLike(Aws::Vector< ConditionParameter > &&value)
Definition: Conditions.h:181
Aws::Backup::Model::Conditions::WithStringEquals
Conditions & WithStringEquals(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:71
Aws::Backup::Model::Conditions::StringLikeHasBeenSet
bool StringLikeHasBeenSet() const
Definition: Conditions.h:153
Aws::Backup::Model::Conditions::Conditions
Conditions()
Aws::Backup::Model::Conditions::WithStringNotEquals
Conditions & WithStringNotEquals(const Aws::Vector< ConditionParameter > &value)
Definition: Conditions.h:120