AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
50 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
51 inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
52 inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
53 inline TranscriptCriteria& WithParticipantRole(const ParticipantRole& value) { SetParticipantRole(value); return *this;}
54 inline TranscriptCriteria& WithParticipantRole(ParticipantRole&& value) { SetParticipantRole(std::move(value)); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetSearchText() const{ return m_searchText; }
62 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
63 inline void SetSearchText(const Aws::Vector<Aws::String>& value) { m_searchTextHasBeenSet = true; m_searchText = value; }
64 inline void SetSearchText(Aws::Vector<Aws::String>&& value) { m_searchTextHasBeenSet = true; m_searchText = std::move(value); }
65 inline TranscriptCriteria& WithSearchText(const Aws::Vector<Aws::String>& value) { SetSearchText(value); return *this;}
66 inline TranscriptCriteria& WithSearchText(Aws::Vector<Aws::String>&& value) { SetSearchText(std::move(value)); return *this;}
67 inline TranscriptCriteria& AddSearchText(const Aws::String& value) { m_searchTextHasBeenSet = true; m_searchText.push_back(value); return *this; }
68 inline TranscriptCriteria& AddSearchText(Aws::String&& value) { m_searchTextHasBeenSet = true; m_searchText.push_back(std::move(value)); return *this; }
69 inline TranscriptCriteria& AddSearchText(const char* value) { m_searchTextHasBeenSet = true; m_searchText.push_back(value); return *this; }
71
73
77 inline const SearchContactsMatchType& GetMatchType() const{ return m_matchType; }
78 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
79 inline void SetMatchType(const SearchContactsMatchType& value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
80 inline void SetMatchType(SearchContactsMatchType&& value) { m_matchTypeHasBeenSet = true; m_matchType = std::move(value); }
81 inline TranscriptCriteria& WithMatchType(const SearchContactsMatchType& value) { SetMatchType(value); return *this;}
82 inline TranscriptCriteria& WithMatchType(SearchContactsMatchType&& value) { SetMatchType(std::move(value)); return *this;}
84 private:
85
86 ParticipantRole m_participantRole;
87 bool m_participantRoleHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_searchText;
90 bool m_searchTextHasBeenSet = false;
91
92 SearchContactsMatchType m_matchType;
93 bool m_matchTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
void SetMatchType(const SearchContactsMatchType &value)
void SetSearchText(const Aws::Vector< Aws::String > &value)
TranscriptCriteria & WithMatchType(SearchContactsMatchType &&value)
void SetSearchText(Aws::Vector< Aws::String > &&value)
TranscriptCriteria & WithParticipantRole(ParticipantRole &&value)
const ParticipantRole & GetParticipantRole() const
void SetParticipantRole(const ParticipantRole &value)
TranscriptCriteria & WithParticipantRole(const ParticipantRole &value)
void SetParticipantRole(ParticipantRole &&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 & WithSearchText(Aws::Vector< Aws::String > &&value)
TranscriptCriteria & WithMatchType(const SearchContactsMatchType &value)
TranscriptCriteria & AddSearchText(Aws::String &&value)
TranscriptCriteria & AddSearchText(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatchType(SearchContactsMatchType &&value)
const SearchContactsMatchType & GetMatchType() const
TranscriptCriteria & WithSearchText(const Aws::Vector< Aws::String > &value)
TranscriptCriteria & AddSearchText(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue