7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
9#include <aws/network-security-manager/model/ResourceCriteria.h>
20namespace NetworkSecurityManager {
44 template <
typename CriteriaT = ResourceCriteria>
46 m_criteriaHasBeenSet =
true;
47 m_criteria = std::forward<CriteriaT>(value);
49 template <
typename CriteriaT = ResourceCriteria>
62 template <
typename AndT = Aws::Vector<ResourceLogicalExpression>>
64 m_andHasBeenSet =
true;
65 m_and = std::forward<AndT>(value);
67 template <
typename AndT = Aws::Vector<ResourceLogicalExpression>>
69 SetAnd(std::forward<AndT>(value));
72 template <
typename AndT = ResourceLogicalExpression>
74 m_andHasBeenSet =
true;
75 m_and.emplace_back(std::forward<AndT>(value));
86 template <
typename OrT = Aws::Vector<ResourceLogicalExpression>>
88 m_orHasBeenSet =
true;
89 m_or = std::forward<OrT>(value);
91 template <
typename OrT = Aws::Vector<ResourceLogicalExpression>>
93 SetOr(std::forward<OrT>(value));
96 template <
typename OrT = ResourceLogicalExpression>
98 m_orHasBeenSet =
true;
99 m_or.emplace_back(std::forward<OrT>(value));
110 template <
typename NotT = ResourceLogicalExpression>
112 m_notHasBeenSet =
true;
115 template <
typename NotT = ResourceLogicalExpression>
117 SetNot(std::forward<NotT>(value));
128 std::shared_ptr<ResourceLogicalExpression> m_not;
129 bool m_criteriaHasBeenSet =
false;
130 bool m_andHasBeenSet =
false;
131 bool m_orHasBeenSet =
false;
132 bool m_notHasBeenSet =
false;
void SetNot(NotT &&value)
ResourceLogicalExpression & AddAnd(AndT &&value)
ResourceLogicalExpression & WithOr(OrT &&value)
AWS_NETWORKSECURITYMANAGER_API ResourceLogicalExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NotHasBeenSet() const
const Aws::Vector< ResourceLogicalExpression > & GetAnd() const
ResourceLogicalExpression & WithCriteria(CriteriaT &&value)
AWS_NETWORKSECURITYMANAGER_API ResourceLogicalExpression(Aws::Utils::Json::JsonView jsonValue)
ResourceLogicalExpression & AddOr(OrT &&value)
const ResourceCriteria & GetCriteria() const
ResourceLogicalExpression & WithAnd(AndT &&value)
const ResourceLogicalExpression & GetNot() const
void SetAnd(AndT &&value)
AWS_NETWORKSECURITYMANAGER_API ResourceLogicalExpression()=default
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceLogicalExpression & WithNot(NotT &&value)
const Aws::Vector< ResourceLogicalExpression > & GetOr() const
bool OrHasBeenSet() const
void SetCriteria(CriteriaT &&value)
bool CriteriaHasBeenSet() const
bool AndHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue