AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
EmailAddressSearchCriteria.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
30 public:
31 AWS_CONNECT_API EmailAddressSearchCriteria() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<EmailAddressSearchCriteria>& GetOrConditions() const { return m_orConditions; }
42 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
43 template <typename OrConditionsT = Aws::Vector<EmailAddressSearchCriteria>>
44 void SetOrConditions(OrConditionsT&& value) {
45 m_orConditionsHasBeenSet = true;
46 m_orConditions = std::forward<OrConditionsT>(value);
47 }
48 template <typename OrConditionsT = Aws::Vector<EmailAddressSearchCriteria>>
50 SetOrConditions(std::forward<OrConditionsT>(value));
51 return *this;
52 }
53 template <typename OrConditionsT = EmailAddressSearchCriteria>
55 m_orConditionsHasBeenSet = true;
56 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<EmailAddressSearchCriteria>& GetAndConditions() const { return m_andConditions; }
67 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
68 template <typename AndConditionsT = Aws::Vector<EmailAddressSearchCriteria>>
69 void SetAndConditions(AndConditionsT&& value) {
70 m_andConditionsHasBeenSet = true;
71 m_andConditions = std::forward<AndConditionsT>(value);
72 }
73 template <typename AndConditionsT = Aws::Vector<EmailAddressSearchCriteria>>
75 SetAndConditions(std::forward<AndConditionsT>(value));
76 return *this;
77 }
78 template <typename AndConditionsT = EmailAddressSearchCriteria>
80 m_andConditionsHasBeenSet = true;
81 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
82 return *this;
83 }
85
87
88 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
89 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
90 template <typename StringConditionT = StringCondition>
91 void SetStringCondition(StringConditionT&& value) {
92 m_stringConditionHasBeenSet = true;
93 m_stringCondition = std::forward<StringConditionT>(value);
94 }
95 template <typename StringConditionT = StringCondition>
97 SetStringCondition(std::forward<StringConditionT>(value));
98 return *this;
99 }
101 private:
103
105
106 StringCondition m_stringCondition;
107 bool m_orConditionsHasBeenSet = false;
108 bool m_andConditionsHasBeenSet = false;
109 bool m_stringConditionHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Connect
114} // namespace Aws
EmailAddressSearchCriteria & WithOrConditions(OrConditionsT &&value)
const Aws::Vector< EmailAddressSearchCriteria > & GetOrConditions() const
AWS_CONNECT_API EmailAddressSearchCriteria()=default
EmailAddressSearchCriteria & WithStringCondition(StringConditionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EmailAddressSearchCriteria & AddOrConditions(OrConditionsT &&value)
EmailAddressSearchCriteria & WithAndConditions(AndConditionsT &&value)
const Aws::Vector< EmailAddressSearchCriteria > & GetAndConditions() const
EmailAddressSearchCriteria & AddAndConditions(AndConditionsT &&value)
AWS_CONNECT_API EmailAddressSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EmailAddressSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue