AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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/connect/model/SearchContactsMatchType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
24
33 public:
34 AWS_CONNECT_API TranscriptCriteria() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
44 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
46 m_participantRoleHasBeenSet = true;
47 m_participantRole = value;
48 }
50 SetParticipantRole(value);
51 return *this;
52 }
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) {
63 m_searchTextHasBeenSet = true;
64 m_searchText = std::forward<SearchTextT>(value);
65 }
66 template <typename SearchTextT = Aws::Vector<Aws::String>>
67 TranscriptCriteria& WithSearchText(SearchTextT&& value) {
68 SetSearchText(std::forward<SearchTextT>(value));
69 return *this;
70 }
71 template <typename SearchTextT = Aws::String>
72 TranscriptCriteria& AddSearchText(SearchTextT&& value) {
73 m_searchTextHasBeenSet = true;
74 m_searchText.emplace_back(std::forward<SearchTextT>(value));
75 return *this;
76 }
78
80
84 inline SearchContactsMatchType GetMatchType() const { return m_matchType; }
85 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
87 m_matchTypeHasBeenSet = true;
88 m_matchType = value;
89 }
91 SetMatchType(value);
92 return *this;
93 }
95 private:
97
98 Aws::Vector<Aws::String> m_searchText;
99
101 bool m_participantRoleHasBeenSet = false;
102 bool m_searchTextHasBeenSet = false;
103 bool m_matchTypeHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Connect
108} // 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