AWS SDK for C++

AWS SDK for C++ Version 1.11.694

Loading...
Searching...
No Matches
SecurityProfileSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/StringCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
33 public:
34 AWS_CONNECT_API SecurityProfileSearchCriteria() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<SecurityProfileSearchCriteria>& GetOrConditions() const { return m_orConditions; }
45 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
46 template <typename OrConditionsT = Aws::Vector<SecurityProfileSearchCriteria>>
47 void SetOrConditions(OrConditionsT&& value) {
48 m_orConditionsHasBeenSet = true;
49 m_orConditions = std::forward<OrConditionsT>(value);
50 }
51 template <typename OrConditionsT = Aws::Vector<SecurityProfileSearchCriteria>>
53 SetOrConditions(std::forward<OrConditionsT>(value));
54 return *this;
55 }
56 template <typename OrConditionsT = SecurityProfileSearchCriteria>
58 m_orConditionsHasBeenSet = true;
59 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::Vector<SecurityProfileSearchCriteria>& GetAndConditions() const { return m_andConditions; }
70 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
71 template <typename AndConditionsT = Aws::Vector<SecurityProfileSearchCriteria>>
72 void SetAndConditions(AndConditionsT&& value) {
73 m_andConditionsHasBeenSet = true;
74 m_andConditions = std::forward<AndConditionsT>(value);
75 }
76 template <typename AndConditionsT = Aws::Vector<SecurityProfileSearchCriteria>>
78 SetAndConditions(std::forward<AndConditionsT>(value));
79 return *this;
80 }
81 template <typename AndConditionsT = SecurityProfileSearchCriteria>
83 m_andConditionsHasBeenSet = true;
84 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
85 return *this;
86 }
88
90
91 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
92 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
93 template <typename StringConditionT = StringCondition>
94 void SetStringCondition(StringConditionT&& value) {
95 m_stringConditionHasBeenSet = true;
96 m_stringCondition = std::forward<StringConditionT>(value);
97 }
98 template <typename StringConditionT = StringCondition>
100 SetStringCondition(std::forward<StringConditionT>(value));
101 return *this;
102 }
104 private:
106 bool m_orConditionsHasBeenSet = false;
107
109 bool m_andConditionsHasBeenSet = false;
110
111 StringCondition m_stringCondition;
112 bool m_stringConditionHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
SecurityProfileSearchCriteria & WithAndConditions(AndConditionsT &&value)
SecurityProfileSearchCriteria & AddOrConditions(OrConditionsT &&value)
const Aws::Vector< SecurityProfileSearchCriteria > & GetAndConditions() const
SecurityProfileSearchCriteria & AddAndConditions(AndConditionsT &&value)
AWS_CONNECT_API SecurityProfileSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SecurityProfileSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
SecurityProfileSearchCriteria & WithStringCondition(StringConditionT &&value)
const Aws::Vector< SecurityProfileSearchCriteria > & GetOrConditions() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityProfileSearchCriteria & WithOrConditions(OrConditionsT &&value)
AWS_CONNECT_API SecurityProfileSearchCriteria()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue