AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchableContactAttributes.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/SearchContactsMatchType.h>
10#include <aws/connect/model/SearchableContactAttributesCriteria.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API SearchableContactAttributes();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SearchableContactAttributesCriteria>& GetCriteria() const{ return m_criteria; }
49 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
50 inline void SetCriteria(const Aws::Vector<SearchableContactAttributesCriteria>& value) { m_criteriaHasBeenSet = true; m_criteria = value; }
51 inline void SetCriteria(Aws::Vector<SearchableContactAttributesCriteria>&& value) { m_criteriaHasBeenSet = true; m_criteria = std::move(value); }
54 inline SearchableContactAttributes& AddCriteria(const SearchableContactAttributesCriteria& value) { m_criteriaHasBeenSet = true; m_criteria.push_back(value); return *this; }
55 inline SearchableContactAttributes& AddCriteria(SearchableContactAttributesCriteria&& value) { m_criteriaHasBeenSet = true; m_criteria.push_back(std::move(value)); return *this; }
57
59
63 inline const SearchContactsMatchType& GetMatchType() const{ return m_matchType; }
64 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
65 inline void SetMatchType(const SearchContactsMatchType& value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
66 inline void SetMatchType(SearchContactsMatchType&& value) { m_matchTypeHasBeenSet = true; m_matchType = std::move(value); }
68 inline SearchableContactAttributes& WithMatchType(SearchContactsMatchType&& value) { SetMatchType(std::move(value)); return *this;}
70 private:
71
73 bool m_criteriaHasBeenSet = false;
74
75 SearchContactsMatchType m_matchType;
76 bool m_matchTypeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
SearchableContactAttributes & WithCriteria(const Aws::Vector< SearchableContactAttributesCriteria > &value)
SearchableContactAttributes & WithCriteria(Aws::Vector< SearchableContactAttributesCriteria > &&value)
const SearchContactsMatchType & GetMatchType() const
SearchableContactAttributes & AddCriteria(const SearchableContactAttributesCriteria &value)
SearchableContactAttributes & AddCriteria(SearchableContactAttributesCriteria &&value)
SearchableContactAttributes & WithMatchType(const SearchContactsMatchType &value)
void SetCriteria(const Aws::Vector< SearchableContactAttributesCriteria > &value)
void SetMatchType(const SearchContactsMatchType &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API SearchableContactAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchableContactAttributes & WithMatchType(SearchContactsMatchType &&value)
void SetCriteria(Aws::Vector< SearchableContactAttributesCriteria > &&value)
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