AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectedResourceConditions.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/KeyValue.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
34 {
35 public:
39 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<KeyValue>& GetStringEquals() const{ return m_stringEquals; }
48 inline bool StringEqualsHasBeenSet() const { return m_stringEqualsHasBeenSet; }
49 inline void SetStringEquals(const Aws::Vector<KeyValue>& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = value; }
50 inline void SetStringEquals(Aws::Vector<KeyValue>&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals = std::move(value); }
52 inline ProtectedResourceConditions& WithStringEquals(Aws::Vector<KeyValue>&& value) { SetStringEquals(std::move(value)); return *this;}
53 inline ProtectedResourceConditions& AddStringEquals(const KeyValue& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(value); return *this; }
54 inline ProtectedResourceConditions& AddStringEquals(KeyValue&& value) { m_stringEqualsHasBeenSet = true; m_stringEquals.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<KeyValue>& GetStringNotEquals() const{ return m_stringNotEquals; }
63 inline bool StringNotEqualsHasBeenSet() const { return m_stringNotEqualsHasBeenSet; }
64 inline void SetStringNotEquals(const Aws::Vector<KeyValue>& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = value; }
65 inline void SetStringNotEquals(Aws::Vector<KeyValue>&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals = std::move(value); }
68 inline ProtectedResourceConditions& AddStringNotEquals(const KeyValue& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(value); return *this; }
69 inline ProtectedResourceConditions& AddStringNotEquals(KeyValue&& value) { m_stringNotEqualsHasBeenSet = true; m_stringNotEquals.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::Vector<KeyValue> m_stringEquals;
74 bool m_stringEqualsHasBeenSet = false;
75
76 Aws::Vector<KeyValue> m_stringNotEquals;
77 bool m_stringNotEqualsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Backup
82} // namespace Aws
ProtectedResourceConditions & WithStringEquals(const Aws::Vector< KeyValue > &value)
ProtectedResourceConditions & AddStringNotEquals(const KeyValue &value)
ProtectedResourceConditions & AddStringEquals(const KeyValue &value)
ProtectedResourceConditions & AddStringNotEquals(KeyValue &&value)
void SetStringNotEquals(const Aws::Vector< KeyValue > &value)
ProtectedResourceConditions & WithStringEquals(Aws::Vector< KeyValue > &&value)
void SetStringNotEquals(Aws::Vector< KeyValue > &&value)
void SetStringEquals(const Aws::Vector< KeyValue > &value)
ProtectedResourceConditions & WithStringNotEquals(const Aws::Vector< KeyValue > &value)
ProtectedResourceConditions & AddStringEquals(KeyValue &&value)
ProtectedResourceConditions & WithStringNotEquals(Aws::Vector< KeyValue > &&value)
AWS_BACKUP_API ProtectedResourceConditions(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API ProtectedResourceConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< KeyValue > & GetStringEquals() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStringEquals(Aws::Vector< KeyValue > &&value)
const Aws::Vector< KeyValue > & GetStringNotEquals() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue