AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Conditions.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/backup/model/ConditionParameter.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 Backup
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BACKUP_API Conditions();
38 AWS_BACKUP_API Conditions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<ConditionParameter>& GetStringEquals() const{ return m_stringEquals; }
49 inline bool StringEqualsHasBeenSet() const { return m_stringEqualsHasBeenSet; }
50 inline void SetStringEquals(const Aws::Vector<ConditionParameter>& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = value; }
51 inline void SetStringEquals(Aws::Vector<ConditionParameter>&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = std::move(value); }
52 inline Conditions& WithStringEquals(const Aws::Vector<ConditionParameter>& value) { SetStringEquals(value); return *this;}
53 inline Conditions& WithStringEquals(Aws::Vector<ConditionParameter>&& value) { SetStringEquals(std::move(value)); return *this;}
54 inline Conditions& AddStringEquals(const ConditionParameter& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(value); return *this; }
55 inline Conditions& AddStringEquals(ConditionParameter&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::Vector<ConditionParameter>& GetStringNotEquals() const{ return m_stringNotEquals; }
64 inline bool StringNotEqualsHasBeenSet() const { return m_stringNotEqualsHasBeenSet; }
65 inline void SetStringNotEquals(const Aws::Vector<ConditionParameter>& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = value; }
66 inline void SetStringNotEquals(Aws::Vector<ConditionParameter>&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = std::move(value); }
68 inline Conditions& WithStringNotEquals(Aws::Vector<ConditionParameter>&& value) { SetStringNotEquals(std::move(value)); return *this;}
69 inline Conditions& AddStringNotEquals(const ConditionParameter& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(value); return *this; }
70 inline Conditions& AddStringNotEquals(ConditionParameter&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(std::move(value)); return *this; }
72
74
79 inline const Aws::Vector<ConditionParameter>& GetStringLike() const{ return m_stringLike; }
80 inline bool StringLikeHasBeenSet() const { return m_stringLikeHasBeenSet; }
81 inline void SetStringLike(const Aws::Vector<ConditionParameter>& value) { m_stringLikeHasBeenSet = true; m_stringLike = value; }
82 inline void SetStringLike(Aws::Vector<ConditionParameter>&& value) { m_stringLikeHasBeenSet = true; m_stringLike = std::move(value); }
83 inline Conditions& WithStringLike(const Aws::Vector<ConditionParameter>& value) { SetStringLike(value); return *this;}
84 inline Conditions& WithStringLike(Aws::Vector<ConditionParameter>&& value) { SetStringLike(std::move(value)); return *this;}
85 inline Conditions& AddStringLike(const ConditionParameter& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(value); return *this; }
86 inline Conditions& AddStringLike(ConditionParameter&& value) { m_stringLikeHasBeenSet = true; m_stringLike.push_back(std::move(value)); return *this; }
88
90
94 inline const Aws::Vector<ConditionParameter>& GetStringNotLike() const{ return m_stringNotLike; }
95 inline bool StringNotLikeHasBeenSet() const { return m_stringNotLikeHasBeenSet; }
96 inline void SetStringNotLike(const Aws::Vector<ConditionParameter>& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike = value; }
97 inline void SetStringNotLike(Aws::Vector<ConditionParameter>&& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike = std::move(value); }
99 inline Conditions& WithStringNotLike(Aws::Vector<ConditionParameter>&& value) { SetStringNotLike(std::move(value)); return *this;}
100 inline Conditions& AddStringNotLike(const ConditionParameter& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(value); return *this; }
101 inline Conditions& AddStringNotLike(ConditionParameter&& value) { m_stringNotLikeHasBeenSet = true; m_stringNotLike.push_back(std::move(value)); return *this; }
103 private:
104
105 Aws::Vector<ConditionParameter> m_stringEquals;
106 bool m_stringEqualsHasBeenSet = false;
107
108 Aws::Vector<ConditionParameter> m_stringNotEquals;
109 bool m_stringNotEqualsHasBeenSet = false;
110
112 bool m_stringLikeHasBeenSet = false;
113
114 Aws::Vector<ConditionParameter> m_stringNotLike;
115 bool m_stringNotLikeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Backup
120} // namespace Aws
AWS_BACKUP_API Conditions(Aws::Utils::Json::JsonView jsonValue)
Conditions & WithStringEquals(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:52
void SetStringEquals(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:50
bool StringEqualsHasBeenSet() const
Definition Conditions.h:49
const Aws::Vector< ConditionParameter > & GetStringNotEquals() const
Definition Conditions.h:63
Conditions & WithStringEquals(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:53
void SetStringLike(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:82
AWS_BACKUP_API Conditions & operator=(Aws::Utils::Json::JsonView jsonValue)
Conditions & AddStringEquals(const ConditionParameter &value)
Definition Conditions.h:54
Conditions & AddStringNotLike(ConditionParameter &&value)
Definition Conditions.h:101
Conditions & WithStringNotLike(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:99
Conditions & AddStringNotLike(const ConditionParameter &value)
Definition Conditions.h:100
const Aws::Vector< ConditionParameter > & GetStringLike() const
Definition Conditions.h:79
void SetStringNotLike(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:96
Conditions & WithStringLike(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:84
void SetStringEquals(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:51
Conditions & AddStringLike(ConditionParameter &&value)
Definition Conditions.h:86
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
Conditions & AddStringEquals(ConditionParameter &&value)
Definition Conditions.h:55
Conditions & WithStringNotEquals(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:67
Conditions & WithStringNotLike(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:98
bool StringNotLikeHasBeenSet() const
Definition Conditions.h:95
void SetStringNotEquals(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:65
Conditions & AddStringLike(const ConditionParameter &value)
Definition Conditions.h:85
Conditions & AddStringNotEquals(const ConditionParameter &value)
Definition Conditions.h:69
void SetStringNotLike(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:97
void SetStringNotEquals(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:66
Conditions & AddStringNotEquals(ConditionParameter &&value)
Definition Conditions.h:70
const Aws::Vector< ConditionParameter > & GetStringEquals() const
Definition Conditions.h:48
Conditions & WithStringNotEquals(Aws::Vector< ConditionParameter > &&value)
Definition Conditions.h:68
void SetStringLike(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:81
Conditions & WithStringLike(const Aws::Vector< ConditionParameter > &value)
Definition Conditions.h:83
const Aws::Vector< ConditionParameter > & GetStringNotLike() const
Definition Conditions.h:94
bool StringNotEqualsHasBeenSet() const
Definition Conditions.h:64
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue