AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SearchableContactAttributes.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SearchContactsMatchType.h>
9#include <aws/connect/model/SearchableContactAttributesCriteria.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API SearchableContactAttributes() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<SearchableContactAttributesCriteria>& GetCriteria() const { return m_criteria; }
43 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
44 template <typename CriteriaT = Aws::Vector<SearchableContactAttributesCriteria>>
45 void SetCriteria(CriteriaT&& value) {
46 m_criteriaHasBeenSet = true;
47 m_criteria = std::forward<CriteriaT>(value);
48 }
49 template <typename CriteriaT = Aws::Vector<SearchableContactAttributesCriteria>>
51 SetCriteria(std::forward<CriteriaT>(value));
52 return *this;
53 }
54 template <typename CriteriaT = SearchableContactAttributesCriteria>
56 m_criteriaHasBeenSet = true;
57 m_criteria.emplace_back(std::forward<CriteriaT>(value));
58 return *this;
59 }
61
63
67 inline SearchContactsMatchType GetMatchType() const { return m_matchType; }
68 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
70 m_matchTypeHasBeenSet = true;
71 m_matchType = value;
72 }
74 SetMatchType(value);
75 return *this;
76 }
78 private:
80
82 bool m_criteriaHasBeenSet = false;
83 bool m_matchTypeHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
SearchableContactAttributes & WithCriteria(CriteriaT &&value)
SearchableContactAttributes & AddCriteria(CriteriaT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SearchableContactAttributes & WithMatchType(SearchContactsMatchType value)
AWS_CONNECT_API SearchableContactAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SearchableContactAttributes()=default
AWS_CONNECT_API SearchableContactAttributes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SearchableContactAttributesCriteria > & GetCriteria() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue