AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TranscriptCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantRole.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/SearchContactsMatchType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CONNECT_API TranscriptCriteria() = default;
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
50 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
51 inline void SetParticipantRole(ParticipantRole value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
54
56
59 inline const Aws::Vector<Aws::String>& GetSearchText() const { return m_searchText; }
60 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
61 template<typename SearchTextT = Aws::Vector<Aws::String>>
62 void SetSearchText(SearchTextT&& value) { m_searchTextHasBeenSet = true; m_searchText = std::forward<SearchTextT>(value); }
63 template<typename SearchTextT = Aws::Vector<Aws::String>>
64 TranscriptCriteria& WithSearchText(SearchTextT&& value) { SetSearchText(std::forward<SearchTextT>(value)); return *this;}
65 template<typename SearchTextT = Aws::String>
66 TranscriptCriteria& AddSearchText(SearchTextT&& value) { m_searchTextHasBeenSet = true; m_searchText.emplace_back(std::forward<SearchTextT>(value)); return *this; }
68
70
74 inline SearchContactsMatchType GetMatchType() const { return m_matchType; }
75 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
76 inline void SetMatchType(SearchContactsMatchType value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
79 private:
80
82 bool m_participantRoleHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_searchText;
85 bool m_searchTextHasBeenSet = false;
86
88 bool m_matchTypeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
SearchContactsMatchType GetMatchType() const
void SetMatchType(SearchContactsMatchType value)
AWS_CONNECT_API TranscriptCriteria()=default
TranscriptCriteria & WithMatchType(SearchContactsMatchType value)
AWS_CONNECT_API TranscriptCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API TranscriptCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSearchText() const
TranscriptCriteria & WithParticipantRole(ParticipantRole value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParticipantRole(ParticipantRole value)
TranscriptCriteria & WithSearchText(SearchTextT &&value)
TranscriptCriteria & AddSearchText(SearchTextT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue